Safe Haskell | None |
---|

- type Probability = LogFloat
- class HasLikelihood p where
- type LContext p a :: Constraint
- likelihood :: LContext p a => p a -> Probability
- prob :: LContext p a => p a -> a -> Probability

- class FullConditionable p where
- type FCContext p a :: Constraint
- sampleProb :: FCContext p a => p a -> a -> Double

# Documentation

type Probability = LogFloatSource

class HasLikelihood p whereSource

type LContext p a :: ConstraintSource

likelihood :: LContext p a => p a -> ProbabilitySource

prob :: LContext p a => p a -> a -> ProbabilitySource

class FullConditionable p whereSource

A distribution for which a full conditional factor can be produced

type FCContext p a :: ConstraintSource

sampleProb :: FCContext p a => p a -> a -> DoubleSource