T - public abstract class GroundTerm<T extends Event> extends Operator<T>
Operator.Value| Modifier and Type | Field and Description |
|---|---|
protected EventLeaf<T> |
m_eventSeen
The event we've seen when we evaluated the atom
|
| Constructor and Description |
|---|
GroundTerm() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperand(Operator<T> op)
Adds an operand to this operator
|
void |
clean()
Cleans the deleted nodes of the evaluation tree
|
void |
clear()
Clears the state of this operator
|
void |
delete()
Marks a node as deleted
|
java.util.List<Operator<T>> |
getTreeChildren()
Gets the ordered list of the children in the evaluation tree for this
operator
|
int |
size(boolean with_tree)
Gets the size of this formula
|
acceptPostfix, acceptPostfix, acceptPrefix, acceptPrefix, copy, copy, copyInto, evaluate, evaluate, getRootSymbol, getValue, isDeleted, sizepublic int size(boolean with_tree)
Operatorpublic java.util.List<Operator<T>> getTreeChildren()
OperatorgetTreeChildren in class Operator<T extends Event>public void delete()
Operatorpublic void addOperand(Operator<T> op)
OperatoraddOperand in class Operator<T extends Event>op - The operandpublic void clear()
OperatorCopyright © Sylvain HallĂ©. All Rights Reserved.