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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Pointwise multiplication

    Pointwise multiplication

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

    Pointwise division

    Pointwise division

    Definition Classes
    FactorFactor
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

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

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

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

    Definition Classes
    Any
  11. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  13. val f1: Factor

  14. val f2: Factor

  15. def finalize(): Unit

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

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

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

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

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

    Definition Classes
    ProductFactorFactor
  21. lazy val logPartition: Double

    May be infinite

    May be infinite

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

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

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

    Definition Classes
    AnyRef
  25. val scale2: Double

  26. def size: Int

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

    Definition Classes
    AnyRef
  28. 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
  29. def variables: IndexedSeq[Variable[_]]

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. 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