-
final
def
!=(arg0: AnyRef ): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
<(that: Factor ): Boolean
- Definition Classes
- Ordered
-
def
<=(that: Factor ): Boolean
- Definition Classes
- Ordered
-
final
def
==(arg0: AnyRef ): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
>(that: Factor ): Boolean
- Definition Classes
- Ordered
-
def
>=(that: Factor ): Boolean
- Definition Classes
- Ordered
-
val
_1: N1
-
var
_hashCode: Int
-
def
addLimitedDiscreteCurrentValues1(): Unit
-
def
addLimitedDiscreteValues1(i: Int): Unit
-
final
def
asInstanceOf[T0]: T0
-
The ability to score a Values object is now removed, and this is its closest alternative.
The ability to score a Values object is now removed, and this is its closest alternative.
- Definition Classes
- Factor1 → Factor
-
-
Return this Factor's sufficient statistics for the values in the Assignment.
Return this Factor's sufficient statistics for the values in the Assignment.
- Definition Classes
- Factor1 → Factor
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
-
@throws(
...
)
-
def
compare(that: Factor ): Int
Return an object that can iterate over all value assignments to the neighbors of this Factor
Return an object that can iterate over all value assignments to the neighbors of this Factor
- Definition Classes
- Factor → Ordered
-
def
compareTo(that: Factor ): Int
- Definition Classes
- Ordered → Comparable
-
def
currentAssignment: Assignment1[N1]
Return a record of the current values of this Factor's neighbors.
Return a record of the current values of this Factor's neighbors.
- Definition Classes
- Factor1 → Factor
-
def
currentScore: Double
This factor's contribution to the unnormalized log-probability of the current possible world.
This factor's contribution to the unnormalized log-probability of the current possible world.
- Definition Classes
- Factor1 → Factor
-
def
currentScoreAndStatistics: (Double, StatisticsType)
Return the score and statistics of the current neighbor values; this method enables special cases in which it is more efficient to calculate them together.
Return the score and statistics of the current neighbor values; this method enables special cases in which it is more efficient to calculate them together.
- Definition Classes
- Factor1 → Factor
-
final
def
currentStatistics: N1.Value
Return this Factor's sufficient statistics of the current values of the Factor's neighbors.
-
final
def
eq(arg0: AnyRef ): Boolean
-
def
equalityPrerequisite: AnyRef
In order to two Factors to satisfy "equals", the value returned by this method for each Factor must by "eq".
In order to two Factors to satisfy "equals", the value returned by this method for each Factor must by "eq".
This method is overridden in Family to deal with Factors that are inner classes.
- Definition Classes
- Factor
-
def
equals(other: Any): Boolean
- Definition Classes
- Factor → AnyRef → Any
-
def
factorName: String
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
-
@throws(
classOf[java.lang.Throwable]
)
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasLimitedDiscreteValues1: Boolean
-
def
hashCode(): Int
- Definition Classes
- Factor → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
ne(arg0: AnyRef ): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
numVariables: Int
The number of variables neighboring this factor.
The number of variables neighboring this factor.
- Definition Classes
- Factor1 → Factor
-
final
def
score(v1: N1.Value): Double
-
def
scoreAndStatistics(v1: N1.Value): (Double, Tensor)
-
final
def
statistics(v1: N1.Value): N1.Value
-
final
def
statisticsAreValues: Boolean
True iff the statistics are the values (without transformation), e.
True iff the statistics are the values (without transformation), e.g. valuesStatistics simply returns its argument.
- Definition Classes
- TensorFactorStatistics1 → Factor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
- Definition Classes
- Factor → AnyRef → Any
-
def
touches(variable: variable.Var ): Boolean
Does this Factor have the given variable among its neighbors?
Does this Factor have the given variable among its neighbors?
- Definition Classes
- Factor
-
Does this Factor have any of the given variables among its neighbors?
Does this Factor have any of the given variables among its neighbors?
- Definition Classes
- Factor
-
def
valuesScore(tensor: Tensor ): Double
Return the score for Factors whose values can be represented as a Tensor, otherwise throw an Error.
Return the score for Factors whose values can be represented as a Tensor, otherwise throw an Error.
For Factors/Family in which the Statistics are the values, this method simply calls statisticsScore(Tensor).
- Definition Classes
- Factor
-
Return a Tensor1 containing the scores for each possible value of neighbor _1, which must be a DiscreteVar.
Return a Tensor1 containing the scores for each possible value of neighbor _1, which must be a DiscreteVar.
Note that the returned Tensor may be sparse if this factor is set up for limited values iteration.
If _1 is not a DiscreteVar then throws an Error.
- Definition Classes
- Factor1
-
def
valuesScoreAndStatistics(t: Tensor ): (Double, Tensor)
-
final
def
valuesStatistics(tensor: Tensor ): Tensor
Given a Tensor representation of the values, return a Tensor representation of the statistics.
Given a Tensor representation of the values, return a Tensor representation of the statistics. We assume that if the values have Tensor representation that the StatisticsType does also.
Note that (e.g. in BP) the Tensor may represent not just a single value for each neighbor, but a distribution over values
- Definition Classes
- TensorFactorStatistics1 → Factor
-
The Nth neighboring variable of this factor.
The Nth neighboring variable of this factor.
- Definition Classes
- Factor1 → Factor
-
def
variables: IndexedSeq[N1]
Returns the collection of variables neighboring this factor.
Returns the collection of variables neighboring this factor.
- Definition Classes
- Factor1 → Factor
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
-
@throws(
...
)
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
-
@throws(
...
)
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
-
@throws(
...
)