|
|||||||
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.
Inner Class Summary | |
private class |
FactorStored.Itr
|
Field Summary | |
protected double[] |
factorValues
is the array of stored values. |
Fields inherited from class ve.Factor |
BY_ASSIGN, BY_CPT, BY_DETERMINISTIC, BY_EXPANDING, BY_GENRULE, BY_MAXIMIZING, BY_MULTIPLYING, BY_NORMALIZING, BY_OBSERVED, BY_PLUS, BY_REORDERING, BY_SAVEIT, BY_SUM_OUT, BY_UNIFORM, BY_UPDATABLE, BY_V_ELIM, howCreatedVal, savingForTracing, thesize, variables |
Constructor Summary | |
FactorStored(Variable[] vars,
int how)
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, getSavingForTracing, getVariables, howCreated, isRedundant, isRedundant, print, print, printVariables, setSavingForTracing, size, toString |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected double[] factorValues
Constructor Detail |
public FactorStored(Variable[] vars, int how)
vars
- the list of variableshow
- an integer representing how the factor was createdMethod 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 |