|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ve.Factor | +--ve.FactorStored
This the the class of stored factors. It contains the array to
store the data and an EltsIterator
to enable
one to enumerate the elements of the array.
Field Summary | |
protected double[] |
factorValues
is the array of stored values. |
Fields inherited from class ve.Factor |
BY_MULTIPLYING, BY_SUM_OUT, BY_V_ELIM, BY_V_OBS, FROM_NODE, howCreated |
Constructor Summary | |
FactorStored(Variable[] vars)
constructs a factor with the given variables. |
Method Summary | |
EltsIterator |
iterator()
Returns an iterator over the values of the factor. |
Methods inherited from class ve.Factor |
allOnes, contains, display, getName, getVariables, isRedundant, print, print, printVariables, size, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected double[] factorValues
Constructor Detail |
public FactorStored(Variable[] vars)
Method Detail |
public EltsIterator iterator()
Factor
iterator
in class Factor
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |