Abstract Value Members
-
abstract
def
logApply(assignments: Array[Int]): Double
-
abstract
def
variables: IndexedSeq[Variable[_]]
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
_updateBeliefs(beliefs: IndexedSeq[DenseVector[Double]]): (IndexedSeq[DenseVector[Double]], Double)
-
def
apply(assignments: Array[Int]): Double
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
foreachAssignment(f: (Array[Int]) ⇒ Any): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
isConvergedTo(f: Factor, diff: Double): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
lazy val
logPartition: Double
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
size: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
updateBeliefs(beliefs: IndexedSeq[DenseVector[Double]]): (IndexedSeq[DenseVector[Double]], Double)
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
A Factor knows about a set of variables and can score any assignment to those sets of variables. By default, we assume all assignments are valid/scoreable.
You can make some assignments invalid by overriding foreachAssignment. This is useful for sparse structures