ve
Class FactorCPT
java.lang.Object
|
+--ve.Factor
|
+--ve.FactorStored
|
+--ve.FactorCPT
- public class FactorCPT
- extends FactorStored
Factors that represent conditional probabilty tables. These
explictly store the values in a table. We need to be able to read
these in from various formats, including standard representations,
onscreen display and a native format. We may even want to output
them in a different form.
Constructor Summary |
FactorCPT(Variable[] vars,
double[] valuesArray)
an extra constructor so it can take in the actual values
instead of a string representation of them. |
FactorCPT(Variable[] vars,
java.lang.String valuesString)
|
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 |
FactorCPT
public FactorCPT(Variable[] vars,
java.lang.String valuesString)
FactorCPT
public FactorCPT(Variable[] vars,
double[] valuesArray)
- an extra constructor so it can take in the actual values
instead of a string representation of them.