nak.inference.bp

ProductFactor

case class ProductFactor(f1: Factor, f2: Factor, scale2: Double = 1) extends Factor with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Factor, inference.Factor[Factor], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProductFactor
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Factor
  7. Factor
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProductFactor(f1: Factor, f2: Factor, scale2: Double = 1)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def *(f: Factor): ProductFactor

    Pointwise multiplication

    Pointwise multiplication

    Definition Classes
    FactorFactor
  4. def /(f: Factor): ProductFactor

    Pointwise division

    Pointwise division

    Definition Classes
    FactorFactor
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  6. final def _updateBeliefs(beliefs: IndexedSeq[DenseVector[Double]]): (IndexedSeq[DenseVector[Double]], Double)

    Attributes
    protected[nak.inference]
    Definition Classes
    Factor
  7. def apply(assignments: Array[Int]): Double

    Definition Classes
    Factor
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. val f1: Factor

  12. val f2: Factor

  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def foreachAssignment(f: (Array[Int]) ⇒ Any): Unit

    Definition Classes
    Factor
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def isConvergedTo(f: Factor, diff: Double): Boolean

    Definition Classes
    FactorFactor
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def logApply(assignments: Array[Int]): Double

    Definition Classes
    ProductFactorFactor
  19. lazy val logPartition: Double

    May be infinite

    May be infinite

    Definition Classes
    FactorFactor
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. val scale2: Double

  24. def size: Int

    Definition Classes
    Factor
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def updateBeliefs(beliefs: IndexedSeq[DenseVector[Double]]): (IndexedSeq[DenseVector[Double]], Double)

    Return partition function estimate and new normalized beliefs by sending messages to all variables.

    Return partition function estimate and new normalized beliefs by sending messages to all variables. This is actually the EP update, but whatever.

    You might be able to override this, for example, visit fewer assignments if structure permits.

    beliefs

    current beliefs from all other factors.

    returns

    Attributes
    protected
    Definition Classes
    Factor
  27. def variables: IndexedSeq[Variable[_]]

    Definition Classes
    ProductFactorFactor
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Factor

Inherited from inference.Factor[Factor]

Inherited from AnyRef

Inherited from Any

Ungrouped