|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umich.soar.hpp.HPPCPTEntry
public class HPPCPTEntry
Class that holds information to describe a sparse conditional-probability table (CPT). Each entry expresses a distribution over variable values given that a set of conditions hold.
Constructor Summary | |
---|---|
HPPCPTEntry()
Basic constructor - empty initialization for conditions/values |
|
HPPCPTEntry(HPPConstraint[] conditions,
HPPCPTValue[] values)
Advanced constructor - supports custom initialization of conditions/values |
Method Summary | |
---|---|
void |
addCondition(HPPConstraint newCondition)
Appends a condition to the set |
void |
addValue(HPPCPTValue newValue)
Appends a value to the distribution |
java.util.Iterator<HPPConstraint> |
getConditions()
Supports read-only access to condition set |
java.util.Iterator<HPPCPTValue> |
getValues()
Supports read-only access to value distribution |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HPPCPTEntry()
public HPPCPTEntry(HPPConstraint[] conditions, HPPCPTValue[] values)
conditions
- initial conditions, null to ignorevalues
- initial value distribution, null to ignoreMethod Detail |
---|
public java.util.Iterator<HPPConstraint> getConditions()
public java.util.Iterator<HPPCPTValue> getValues()
public void addCondition(HPPConstraint newCondition)
newCondition
- condition to be added to the setpublic void addValue(HPPCPTValue newValue)
newValue
- value to be added to the set
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |