|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cve.ContextualBeliefNetwork
A ContextualBeliefNetwork contains a tuple of Variable
s
(each with a domain) and a set of generalised rules (of the form
GenRule
).
Field Summary | |
protected static int |
maxContextSize
|
protected static int |
maxDomainSize
|
protected static int |
maxFactorSize
|
protected int |
numVariables
|
protected RuleCollection |
rules
|
protected java.util.Hashtable |
stringToVar
maps the string name to the variable. |
protected Variable[] |
variables
|
Constructor Summary | |
(package private) |
ContextualBeliefNetwork()
dummy constructor. |
(package private) |
ContextualBeliefNetwork(DecisionNetwork bn)
constructs a contextual belief network from a beleif network. |
(package private) |
ContextualBeliefNetwork(DecisionNetwork bn,
double threshold)
constructs a contextual belief network from a beleif network with the approximation given by threshold. |
Method Summary | |
void |
add(GenRule rule)
add a new rule to the contextual belief network |
int |
getNumSplitVars()
returns the number of variables that appear in splits. |
int |
getNumVariables()
|
RuleCollection |
getRules()
|
java.util.Hashtable |
getStringToVar()
returns the map from the string name to the variable. |
Variable[] |
getVariables()
|
void |
print()
prints the contextual belief network |
void |
printBrief()
prints a summary of the contextual belief network |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected RuleCollection rules
protected Variable[] variables
protected int numVariables
protected static final int maxDomainSize
protected static final int maxFactorSize
protected static final int maxContextSize
protected java.util.Hashtable stringToVar
Constructor Detail |
ContextualBeliefNetwork()
ContextualBeliefNetwork(DecisionNetwork bn)
ContextualBeliefNetwork(DecisionNetwork bn, double threshold)
Method Detail |
public RuleCollection getRules()
public Variable[] getVariables()
public int getNumVariables()
public java.util.Hashtable getStringToVar()
public void add(GenRule rule)
public void print()
public void printBrief()
public int getNumSplitVars()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |