Packages

case class TruncatedFiniteDistribution[State](nodeCoeffSeq: NodeCoeffSeq[State, Double], varWeight: Double)(implicit sd: StateDistribution[State, FiniteDistribution]) extends GenTruncatedFiniteDistribution[State] with Product with Serializable

resolving a general specification of a recursive generative model as finite distributions, depending on truncation; the coefficients of the various generator nodes should be Double

State

scala type of the initial state

nodeCoeffSeq

the various generator nodes with coefficients for various random variables and families

sd

finite distributions from the initial state corresponding to random variables and families

Linear Supertypes
Serializable, Product, Equals, GenTruncatedFiniteDistribution[State], AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TruncatedFiniteDistribution
  2. Serializable
  3. Product
  4. Equals
  5. GenTruncatedFiniteDistribution
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TruncatedFiniteDistribution(nodeCoeffSeq: NodeCoeffSeq[State, Double], varWeight: Double)(implicit sd: StateDistribution[State, FiniteDistribution])

    nodeCoeffSeq

    the various generator nodes with coefficients for various random variables and families

    sd

    finite distributions from the initial state corresponding to random variables and families

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from TruncatedFiniteDistribution[State] toany2stringadd[TruncatedFiniteDistribution[State]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (TruncatedFiniteDistribution[State], B)
    Implicit
    This member is added by an implicit conversion from TruncatedFiniteDistribution[State] toArrowAssoc[TruncatedFiniteDistribution[State]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def ensuring(cond: (TruncatedFiniteDistribution[State]) => Boolean, msg: => Any): TruncatedFiniteDistribution[State]
    Implicit
    This member is added by an implicit conversion from TruncatedFiniteDistribution[State] toEnsuring[TruncatedFiniteDistribution[State]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (TruncatedFiniteDistribution[State]) => Boolean): TruncatedFiniteDistribution[State]
    Implicit
    This member is added by an implicit conversion from TruncatedFiniteDistribution[State] toEnsuring[TruncatedFiniteDistribution[State]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: => Any): TruncatedFiniteDistribution[State]
    Implicit
    This member is added by an implicit conversion from TruncatedFiniteDistribution[State] toEnsuring[TruncatedFiniteDistribution[State]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): TruncatedFiniteDistribution[State]
    Implicit
    This member is added by an implicit conversion from TruncatedFiniteDistribution[State] toEnsuring[TruncatedFiniteDistribution[State]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from TruncatedFiniteDistribution[State] toStringFormat[TruncatedFiniteDistribution[State]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def mapsSum[X, Y](first: Map[X, FiniteDistribution[Y]], second: Map[X, FiniteDistribution[Y]]): Map[X, FiniteDistribution[Y]]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def nodeCoeffDist[Y](initState: State)(nodeCoeffs: NodeCoeffs[State, Double, HNil, Y], epsilon: Double): FiniteDistribution[Y]
  19. def nodeCoeffFamilyMap[Dom <: HList, Y](initState: State)(nodeCoeffs: NodeCoeffs[State, Double, Dom, Y], baseDist: FiniteDistribution[Dom], epsilon: Double): Map[Dom, FiniteDistribution[Y]]
  20. val nodeCoeffSeq: NodeCoeffSeq[State, Double]
  21. def nodeDist[Y](initState: State)(generatorNode: GeneratorNode[Y], epsilon: Double): FiniteDistribution[Y]

    recursively determines the finite distribution given a generator node; the main work is done here

    recursively determines the finite distribution given a generator node; the main work is done here

    Y

    values of the corresponding random variable

    initState

    initial state

    generatorNode

    generator node to resolve

    epsilon

    cutoff

    returns

    distribution corresponding to the output random variable

    Definition Classes
    TruncatedFiniteDistributionGenTruncatedFiniteDistribution
  22. def nodeFamilyDist[Dom <: HList, Y](initState: State)(generatorNodeFamily: GeneratorNodeFamily[Dom, Y], baseDist: FiniteDistribution[Dom], epsilon: Double): Map[Dom, FiniteDistribution[Y]]
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def updateAll(dataSeq: Seq[Value[_ <: HList, _, Double]]): TruncatedFiniteDistribution[State]

    update coefficients, to be used in complex islands

    update coefficients, to be used in complex islands

    dataSeq

    the new coefficients

    returns

    TruncatedFiniteDistribution with updated coefficients

  28. def varDist[Y](initState: State)(randomVar: RandomVar[Y], epsilon: Double): FiniteDistribution[Y]

    finite distribution for a random variable

    finite distribution for a random variable

    Y

    values of the random variable

    initState

    initial state

    randomVar

    random variable whose distribution is returned

    epsilon

    cutoff

    returns

    finite distribution for the given random variable

    Definition Classes
    GenTruncatedFiniteDistribution
  29. def varFamilyDist[RDom <: HList, Y](initState: State)(randomVarFmly: RandomVarFamily[RDom, Y], epsilon: Double): Map[RDom, FiniteDistribution[Y]]
  30. def varListDist[Dom <: HList](initState: State)(vl: RandomVarList[Dom], epsilon: Double): FiniteDistribution[Dom]

    finite distribution for a list of random variables

    finite distribution for a list of random variables

    Dom

    the HList giving the type of the variable list

    initState

    initial state

    vl

    list of random variables

    epsilon

    cutoff

    returns

    finite distribution of Dom

    Definition Classes
    GenTruncatedFiniteDistribution
  31. val varWeight: Double
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def [B](y: B): (TruncatedFiniteDistribution[State], B)
    Implicit
    This member is added by an implicit conversion from TruncatedFiniteDistribution[State] toArrowAssoc[TruncatedFiniteDistribution[State]] 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.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from GenTruncatedFiniteDistribution[State]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromTruncatedFiniteDistribution[State] to any2stringadd[TruncatedFiniteDistribution[State]]

Inherited by implicit conversion StringFormat fromTruncatedFiniteDistribution[State] to StringFormat[TruncatedFiniteDistribution[State]]

Inherited by implicit conversion Ensuring fromTruncatedFiniteDistribution[State] to Ensuring[TruncatedFiniteDistribution[State]]

Inherited by implicit conversion ArrowAssoc fromTruncatedFiniteDistribution[State] to ArrowAssoc[TruncatedFiniteDistribution[State]]

Ungrouped