mirror of
https://github.com/maciej-bendkowski/generic-boltzmann-brain.git
synced 2024-09-11 12:48:09 +03:00
57 lines
1.0 KiB
Haskell
57 lines
1.0 KiB
Haskell
module Data.Boltzmann (
|
|
-- * Combinatorial systems
|
|
Constructable (..),
|
|
ConstructorFrequencies,
|
|
ConstructorWeights,
|
|
System (..),
|
|
mkDefWeights,
|
|
|
|
-- * Boltzmann samplers
|
|
BoltzmannSampler (..),
|
|
LowerBound (..),
|
|
UpperBound (..),
|
|
rejectionSampler,
|
|
toleranceRejectionSampler,
|
|
mkBoltzmannSampler,
|
|
mkDefBoltzmannSampler,
|
|
quickCheckRejectionSampler,
|
|
quickCheckToleranceRejectionSampler,
|
|
|
|
-- * Buffon machines
|
|
BuffonMachine,
|
|
EvalIO (..),
|
|
eval,
|
|
) where
|
|
|
|
import Data.Boltzmann.System (
|
|
Constructable (..),
|
|
ConstructorFrequencies,
|
|
ConstructorWeights,
|
|
System (..),
|
|
)
|
|
|
|
import Data.Boltzmann.System.TH (
|
|
mkBoltzmannSampler,
|
|
mkDefBoltzmannSampler,
|
|
)
|
|
|
|
import Data.Boltzmann.Sampler (
|
|
BoltzmannSampler (..),
|
|
LowerBound (..),
|
|
UpperBound (..),
|
|
quickCheckRejectionSampler,
|
|
quickCheckToleranceRejectionSampler,
|
|
rejectionSampler,
|
|
toleranceRejectionSampler,
|
|
)
|
|
|
|
import Data.Boltzmann.Sampler.TH (
|
|
mkDefWeights,
|
|
)
|
|
|
|
import Data.Boltzmann.BuffonMachine (
|
|
BuffonMachine,
|
|
EvalIO (..),
|
|
eval,
|
|
)
|