case class FiberProduct[A, Q, B](base: ProbabilityDistribution[A], quotient: (A) => Q, fibers: (Q) => ProbabilityDistribution[B]) extends ProbabilityDistribution[(A, B)] with scala.Product with Serializable
- Alphabetic
- By Inheritance
- FiberProduct
- Serializable
- Product
- Equals
- ProbabilityDistribution
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FiberProduct(base: ProbabilityDistribution[A], quotient: (A) => Q, fibers: (Q) => ProbabilityDistribution[B])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from FiberProduct[A, Q, B] toany2stringadd[FiberProduct[A, Q, B]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (FiberProduct[A, Q, B], B)
- Implicit
- This member is added by an implicit conversion from FiberProduct[A, Q, B] toArrowAssoc[FiberProduct[A, Q, B]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- 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
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val base: ProbabilityDistribution[A]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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 ensuring(cond: (FiberProduct[A, Q, B]) => Boolean, msg: => Any): FiberProduct[A, Q, B]
- Implicit
- This member is added by an implicit conversion from FiberProduct[A, Q, B] toEnsuring[FiberProduct[A, Q, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (FiberProduct[A, Q, B]) => Boolean): FiberProduct[A, Q, B]
- Implicit
- This member is added by an implicit conversion from FiberProduct[A, Q, B] toEnsuring[FiberProduct[A, Q, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): FiberProduct[A, Q, B]
- Implicit
- This member is added by an implicit conversion from FiberProduct[A, Q, B] toEnsuring[FiberProduct[A, Q, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): FiberProduct[A, Q, B]
- Implicit
- This member is added by an implicit conversion from FiberProduct[A, Q, B] toEnsuring[FiberProduct[A, Q, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fibProduct[Q, B](quot: ((A, B)) => Q, fibers: (Q) => ProbabilityDistribution[B]): FiberProduct[(A, B), Q, B]
- Definition Classes
- ProbabilityDistribution
- val fibers: (Q) => ProbabilityDistribution[B]
- 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
- def flatMap[B](f: ((A, B)) => ProbabilityDistribution[B]): ProbabilityDistribution[B]
- Definition Classes
- ProbabilityDistribution
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from FiberProduct[A, Q, B] toStringFormat[FiberProduct[A, Q, B]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[B](f: ((A, B)) => B): ProbabilityDistribution[B]
- Definition Classes
- ProbabilityDistribution
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def next: (A, B)
the next random value
the next random value
- Definition Classes
- FiberProduct → ProbabilityDistribution
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def product[B](that: ProbabilityDistribution[B]): Product[(A, B), B]
- Definition Classes
- ProbabilityDistribution
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val quotient: (A) => Q
- def randomVariable: Iterator[(A, B)]
- Definition Classes
- ProbabilityDistribution
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (FiberProduct[A, Q, B], B)
- Implicit
- This member is added by an implicit conversion from FiberProduct[A, Q, B] toArrowAssoc[FiberProduct[A, Q, B]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.