public abstract class UnaryTemporalOperator<T extends Event> extends UnaryOperator<T>
Operator.Value| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Operator<T>> |
m_instantiatedTrees |
m_operand, m_symbol| Constructor and Description |
|---|
UnaryTemporalOperator(java.lang.String symbol) |
UnaryTemporalOperator(java.lang.String symbol,
Operator<T> operand) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptPostfix(HologramVisitor<T> visitor,
boolean in_tree)
Accepts a hologram visitor into the evaluation tree for this
operator
|
void |
acceptPrefix(HologramVisitor<T> visitor,
boolean in_tree)
Accepts a hologram visitor into the evaluation tree for this
operator
|
void |
clean()
Cleans the deleted nodes of the evaluation tree
|
void |
clear()
Clears the state of this operator
|
protected void |
copyInto(UnaryTemporalOperator<T> o,
boolean with_tree)
Copies the internal content of this operator into a new instance
|
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
|
protected int |
hashCode(int start_value)
Computes the hash code of this n-ary operator, starting from
an initial value
|
int |
size(boolean with_tree)
Gets the size of this formula
|
addOperand, copyInto, getRootSymbol, toStringprotected int hashCode(int start_value)
start_value - The initial valueprotected void copyInto(UnaryTemporalOperator<T> o, boolean with_tree)
o - The new instancewith_tree - Set to true to also copy data related
to the operator's evaluation treepublic void acceptPrefix(HologramVisitor<T> visitor, boolean in_tree)
OperatoracceptPrefix in class UnaryOperator<T extends Event>visitor - The visitorin_tree - Whether to visit the evaluation tree (true) or
the formula (false)public void acceptPostfix(HologramVisitor<T> visitor, boolean in_tree)
OperatoracceptPostfix in class UnaryOperator<T extends Event>visitor - The visitorin_tree - Whether to visit the evaluation tree (true) or
the formula (false)public int size(boolean with_tree)
Operatorsize in class UnaryOperator<T extends Event>with_tree - If set to true, will compute
the size of the evaluation tree of this formula insteadpublic java.util.List<Operator<T>> getTreeChildren()
OperatorgetTreeChildren in class UnaryOperator<T extends Event>public void delete()
Operatordelete in class UnaryOperator<T extends Event>public void clear()
Operatorclear in class UnaryOperator<T extends Event>public void clean()
Operatorclean in class UnaryOperator<T extends Event>Copyright © Sylvain HallĂ©. All Rights Reserved.