|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.bddbddb.InferenceRule
net.sf.bddbddb.BDDInferenceRule
public class BDDInferenceRule
An implementation of InferenceRule that uses BDDs.
| Nested Class Summary | |
|---|---|
class |
BDDInferenceRule.VarOrderComparator
|
| Nested classes/interfaces inherited from class net.sf.bddbddb.InferenceRule |
|---|
InferenceRule.DependenceNavigator |
| Field Summary | |
|---|---|
static long |
LONG_TIME
|
static int |
MAX_FBO_TRIALS
|
protected net.sf.javabdd.BDD[] |
oldRelationValues
Values for subgoals, used for incrementalization. |
protected BDDSolver |
solver
|
int |
updateCount
Number of times update() has been called on this rule. |
protected java.util.Map |
variableToBDDDomain
Map from variables to their BDD domains. |
| Fields inherited from class net.sf.bddbddb.InferenceRule |
|---|
bottom, id, necessaryVariables, top, unnecessaryVariables |
| Method Summary | |
|---|---|
void |
copyOptions(InferenceRule r)
Copy the options from another rule into this one. |
net.sf.javabdd.BDD |
evalRelations(net.sf.javabdd.BDDFactory bdd,
net.sf.javabdd.BDD[] relationValues,
net.sf.javabdd.BDDVarSet[] canQuantifyAfter,
long time)
|
net.sf.javabdd.BDD[] |
evalRelationsIncremental(net.sf.javabdd.BDDFactory bdd,
net.sf.javabdd.BDD[] newRelationValues,
net.sf.javabdd.BDD[] rallRelationValues,
net.sf.javabdd.BDDVarSet[] canQuantifyAfter)
|
void |
free()
Free the memory associated with this rule. |
void |
reportStats()
Report statistics about this rule. |
java.lang.String |
toString()
|
boolean |
update()
Update the head relation of this rule based on the subgoal relations. |
| Methods inherited from class net.sf.bddbddb.InferenceRule |
|---|
calculateNecessaryVariables, checkUnnecessaryVariables, fromXMLElement, generateIR_incremental, generateIR, getAttribute, getHead, getNecessaryVariables, getRelationToDefiningRule, getRelationToUsingRule, getSubgoals, getUnnecessaryVariables, getVariable, getVariables, getVarNameMap, hashCode, numberOfVariables, split, toXMLElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected BDDSolver solver
InferenceRule.solverprotected net.sf.javabdd.BDD[] oldRelationValues
protected java.util.Map variableToBDDDomain
public int updateCount
public static final long LONG_TIME
public static int MAX_FBO_TRIALS
| Method Detail |
|---|
public void copyOptions(InferenceRule r)
InferenceRule
copyOptions in class InferenceRulepublic boolean update()
InferenceRule
update in class InferenceRule
public net.sf.javabdd.BDD evalRelations(net.sf.javabdd.BDDFactory bdd,
net.sf.javabdd.BDD[] relationValues,
net.sf.javabdd.BDDVarSet[] canQuantifyAfter,
long time)
public net.sf.javabdd.BDD[] evalRelationsIncremental(net.sf.javabdd.BDDFactory bdd,
net.sf.javabdd.BDD[] newRelationValues,
net.sf.javabdd.BDD[] rallRelationValues,
net.sf.javabdd.BDDVarSet[] canQuantifyAfter)
public void reportStats()
InferenceRule
reportStats in class InferenceRulepublic void free()
InferenceRule
free in class InferenceRulepublic java.lang.String toString()
toString in class InferenceRule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||