package discrete
 Alphabetic
 Public
 All
Type Members

class
AtomicBinomial
extends Element[Int] with Atomic[Int] with ValuesMaker[Int] with Cacheable[Int] with OneShifter
A binomial distribution in which the parameters are constants.

class
AtomicGeometric
extends Element[Int] with Atomic[Int] with OneShifter with Cacheable[Int]
A geometric distribution representing the number of trials until the first success.
A geometric distribution representing the number of trials until the first success. The parameter, which is a constant, represents the probability of failure of a trial.

class
AtomicPoisson
extends Element[Int] with Atomic[Int] with OneShifter with Cacheable[Int]
A Poisson distribution in which the parameter is constant.

class
AtomicSwitchingFlip
extends AtomicFlip with SwitchingFlip
A Flip that switches its randomness (true to false or false to true) every time it is proposed.
A Flip that switches its randomness (true to false or false to true) every time it is proposed. The parameter is constant.

class
AtomicUniform
[T] extends AtomicSelect[T] with Atomic[T] with Cacheable[T]
A discrete uniform distribution over a sequence of options, each of which is a constant.

class
BinomialFixedNumTrials
extends NonCachingChain[Double, Int]
A binomial distribution in which the number of trials is fixed and the success probability is an element.

class
CompoundAtomic
extends NonCachingChain[Double, Int]
A Possion distribution in which the parameter is an element.

class
CompoundBinomial
extends CachingChain[Int, Int]
A binomial distribution in which the parameters are elements.

class
CompoundGeometric
extends NonCachingChain[Double, Int]
A geometric distribution representing the number of trials until the first success.
A geometric distribution representing the number of trials until the first success. The parameter, which is an element, represents the probability of failure of a trial.

class
CompoundSwitchingFlip
extends CompoundFlip with SwitchingFlip
A Flip that switches its randomness (true to false or false to true) every time it is proposed.
A Flip that switches its randomness (true to false or false to true) every time it is proposed. The parameter is an element.

class
CompoundUniform
[T] extends AtomicDist[T]
A discrete uniform distribution over a sequence of options, each of which is an element over values.

class
FromRange
extends AtomicUniform[Int]
A uniform distribution over integers in range from lower (inclusive) to upper (exclusive).

trait
OneShifter
extends Element[Int] with Atomic[Int]
Atomic elements over integers with integer randomness whose proposal distribution shifts the value by 1.

class
ParameterizedBinomialFixedNumTrials
extends CachingChain[Double, Int] with SingleParameterized[Int]
A binomial with a fixed number of trials parameterized by a beta distribution.

trait
SwitchingFlip
extends Element[Boolean] with Flip
A Flip that switches its randomness (true to false or false to true) every time it is proposed.