case class Product[A, B](first: ProbabilityDistribution[A], second: ProbabilityDistribution[B]) extends ProbabilityDistribution[(A, B)] with scala.Product with Serializable
- Alphabetic
- By Inheritance
- Product
- Serializable
- Product
- Equals
- ProbabilityDistribution
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Product(first: ProbabilityDistribution[A], second: ProbabilityDistribution[B])
Value Members
- def <++>(components: => Vector[Weighted[ProbabilityDistribution[(A, B)]]]): Mixture[(A, B)]
mix in weighted distributions; the mixed in distributions are called by name, so can depend on this distribution.
mix in weighted distributions; the mixed in distributions are called by name, so can depend on this distribution.
- Definition Classes
- ProbabilityDistribution
- def <+>(mixin: => ProbabilityDistribution[(A, B)], weight: Double): Mixin[(A, B)]
generates from the mixed in distribution with probability _weight_, otherwise defaults to this distribution; as the mixed in distribution is called by name, it may depend on the present one.
generates from the mixed in distribution with probability _weight_, otherwise defaults to this distribution; as the mixed in distribution is called by name, it may depend on the present one.
- Definition Classes
- ProbabilityDistribution
- def <+?>(mixin: => ProbabilityDistribution[Option[(A, B)]], weight: Double): MixinOpt[(A, B)]
generates from the mixed in optional valued distribution with probability
weight
, otherwise, or if the optional returns None, defaults to this distribution; the mixed in distribution is call by name, so may depend on this distribution.generates from the mixed in optional valued distribution with probability
weight
, otherwise, or if the optional returns None, defaults to this distribution; the mixed in distribution is call by name, so may depend on this distribution.- Definition Classes
- ProbabilityDistribution
- def condMap[B](f: ((A, B)) => Option[B]): ProbabilityDistribution[B]
- Definition Classes
- ProbabilityDistribution
- def conditioned(p: ((A, B)) => Boolean): ProbabilityDistribution[(A, B)]
- Definition Classes
- ProbabilityDistribution
- def fibProduct[Q, B](quot: ((A, B)) => Q, fibers: (Q) => ProbabilityDistribution[B]): FiberProduct[(A, B), Q, B]
- Definition Classes
- ProbabilityDistribution
- def findFut(p: ((A, B)) => Boolean, maxloops: Long): Future[Option[(A, B)]]
Find element satisfying predicate, runs concurrently, returning future
Find element satisfying predicate, runs concurrently, returning future
- Definition Classes
- ProbabilityDistribution
- val first: ProbabilityDistribution[A]
- def flatMap[B](f: ((A, B)) => ProbabilityDistribution[B]): ProbabilityDistribution[B]
- Definition Classes
- ProbabilityDistribution
- def map[B](f: ((A, B)) => B): ProbabilityDistribution[B]
- Definition Classes
- ProbabilityDistribution
- def next: (A, B)
the next random value
the next random value
- Definition Classes
- Product → ProbabilityDistribution
- def product[B](that: ProbabilityDistribution[B]): Product[(A, B), B]
- Definition Classes
- ProbabilityDistribution
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def randomVariable: Iterator[(A, B)]
- Definition Classes
- ProbabilityDistribution
- val second: ProbabilityDistribution[B]