public abstract class BinaryLogicalFormula extends Formula
Formula.Operations
Modifier and Type | Field and Description |
---|---|
(package private) static int |
_as_left_formula |
(package private) static int |
_as_right_formula |
static int |
as_left_formula_ID |
static int |
as_right_formula_ID |
static Integer |
ID |
_sm_simplified_formula, sm_simplified_formula_ID
_nodes, _observers, _operations, _thisoperations
Constructor and Description |
---|
BinaryLogicalFormula(int capacity,
Formula as_left_formula,
Formula as_right_formula) |
Modifier and Type | Method and Description |
---|---|
Formula |
as_left_formula() |
void |
as_left_formula(Formula s) |
Formula |
as_right_formula() |
void |
as_right_formula(Formula s) |
void |
copyValueOf(Node n,
HashMap clones) |
Object |
getAttribute(int attrname) |
int |
getClassID()
This method return the dynamic class ID of the node.
|
Node.Operations |
getOperations()
This method returns the object implementing the operations associated to this node.
|
boolean |
hasAttribute(int attrname) |
void |
setAttribute(int attrname,
Object attrvalue) |
getDoubleMirror, getSimplifiedFormula, getVariablesSubstitution, getVariablesSubstitution, getVariablesSubstitutionAsIn, instantiate, isAFreeVariable, isBeliefFrom, isConsistentWith, isExistsOn, isInstitutionalFact, isInstitutionalFactFrom, isMentalAttitude, isSubsumedBy, match, simplify, sm_simplified_formula, sm_simplified_formula
accept, addObserver, addOperations, children, childrenAccept, childrenOfKind, childrenOfKind, childrenOfKind, compare, compareTo, copyValueOf, dofind, dump, equals, find, find, find, find, getAttribute, getClone, getClone, hasAttribute, initNode, installOperations, notifyChanges, removeObserver, replace, setAttribute, toString
public static Integer ID
static int _as_left_formula
static int _as_right_formula
public static int as_left_formula_ID
public static int as_right_formula_ID
public int getClassID()
Node
getClassID
in class Formula
public void copyValueOf(Node n, HashMap clones)
copyValueOf
in class Formula
public Node.Operations getOperations()
Node
getOperations
in class Formula
public Formula as_left_formula()
public void as_left_formula(Formula s)
public Formula as_right_formula()
public void as_right_formula(Formula s)
public boolean hasAttribute(int attrname)
hasAttribute
in class Formula
public Object getAttribute(int attrname)
getAttribute
in class Formula
public void setAttribute(int attrname, Object attrvalue)
setAttribute
in class Formula