NamedDistributionWrapper

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

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
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>>
Create a chain of samples from this distribution.
toString
Link copied to clipboard
common
open fun toString(): String

Properties

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