# BPFactor2

#### abstract class BPFactor2 extends DiscreteMarginal2[DiscreteVar, DiscreteVar] with BPFactor

Linear Supertypes
Known Subclasses
Ordering
1. Alphabetic
2. By inheritance
Inherited
1. BPFactor2
2. BPFactor
3. FactorMarginal
4. DiscreteMarginal2
5. Marginal2
6. DiscreteMarginal
7. Marginal
8. AnyRef
9. Any
1. Hide All
2. Show all
Learn more about member selection
Visibility
1. Public
2. All

### Abstract Value Members

1. #### abstract def factor: model.Factor

Definition Classes
BPFactorFactorMarginal

4. #### abstract def scores: la.Tensor2

Definition Classes
BPFactor2BPFactor
5. #### abstract def tensorStatistics: Tensor

Definition Classes
FactorMarginal

### Concrete 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. #### final def ==(arg0: AnyRef): Boolean

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

Definition Classes
Any
6. #### val _1: DiscreteVar

Definition Classes
DiscreteMarginal2Marginal2
7. #### val _2: DiscreteVar

Definition Classes
DiscreteMarginal2Marginal2
8. #### var _proportions: Proportions2

Attributes
protected
Definition Classes
DiscreteMarginal2
9. #### final def asInstanceOf[T0]: T0

Definition Classes
Any
10. #### def betheObjective: Double

Normalized probabilities over values of only the varying neighbors, in the form of a Proportions

Normalized probabilities over values of only the varying neighbors, in the form of a Proportions

Definition Classes
BPFactor
11. #### def calculateBeliefsTensor: la.Tensor2

Unnormalized log scores over values of varying neighbors

Unnormalized log scores over values of varying neighbors

Definition Classes
BPFactor2BPFactor
12. #### def calculateLogZ: Double

The logSum of all entries in the beliefs tensor

The logSum of all entries in the beliefs tensor

Definition Classes
BPFactor
13. #### def calculateMarginalTensor: Tensor

Normalized probabilities over values of varying neighbors

Normalized probabilities over values of varying neighbors

Definition Classes
BPFactor

16. #### def clone(): AnyRef

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws( ... )

21. #### val edges: Seq[BPEdge]

Definition Classes
BPFactor2BPFactor
22. #### final def eq(arg0: AnyRef): Boolean

Definition Classes
AnyRef
23. #### def equals(arg0: Any): Boolean

Definition Classes
AnyRef → Any
24. #### def finalize(): Unit

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws( classOf[java.lang.Throwable] )
25. #### final def getClass(): Class[_]

Definition Classes
AnyRef → Any
26. #### def hashCode(): Int

Definition Classes
AnyRef → Any
27. #### def incrementCurrentValue(w: Double): Unit

Definition Classes
DiscreteMarginal2
28. #### final def isInstanceOf[T0]: Boolean

Definition Classes
Any
29. #### final def ne(arg0: AnyRef): Boolean

Definition Classes
AnyRef
30. #### final def notify(): Unit

Definition Classes
AnyRef
31. #### final def notifyAll(): Unit

Definition Classes
AnyRef
32. #### def proportions: Proportions2

Definition Classes
BPFactor2DiscreteMarginal2DiscreteMarginal

34. #### def setToMaximize(implicit d: variable.DiffList): Unit

Definition Classes
DiscreteMarginal2Marginal
35. #### val summary: BPSummary

Definition Classes
BPFactor2BPFactor
36. #### final def synchronized[T0](arg0: ⇒ T0): T0

Definition Classes
AnyRef
37. #### def toString(): String

Definition Classes
AnyRef → Any
38. #### def updateOutgoing(e: BPEdge): Unit

Re-calculate the message from this factor to edge "e" and set e.

Re-calculate the message from this factor to edge "e" and set e.messageFromFactor to the result.

Definition Classes
BPFactor2BPFactor
39. #### def updateOutgoing(): Unit

Definition Classes
BPFactor2BPFactor

42. #### def variables: Seq[VectorVar]

Definition Classes
DiscreteMarginal2Marginal2DiscreteMarginalMarginal
43. #### final def wait(): Unit

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

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

Definition Classes
AnyRef
Annotations
@throws( ... )