NamedDistributionWrapper

class NamedDistributionWrapper<T : Any>(name: String, distribution: Distribution<T>) : NamedDistribution<T>

Functions

probability
Link copied to clipboard
common
open override fun probability(arg: Map<String, T>): Double
A probability value for given argument arg.
sample
Link copied to clipboard
common
open override fun sample(generator: RandomGenerator): Chain<Map<String, T>>
Generates a chain of samples.

Properties

distribution
Link copied to clipboard
common
val distribution: Distribution<T>
name
Link copied to clipboard
common
val name: String