public class EvalOrNode extends EvalNodeBase
Modifier and Type | Field and Description |
---|---|
protected EvalOrFactoryNode |
factoryNode |
Constructor and Description |
---|
EvalOrNode(PatternAgentInstanceContext context,
EvalOrFactoryNode factoryNode,
EvalNode[] childNodes) |
Modifier and Type | Method and Description |
---|---|
EvalNode[] |
getChildNodes() |
EvalOrFactoryNode |
getFactoryNode() |
EvalStateNode |
newState(Evaluator parentNode,
EvalStateNodeNumber stateNodeNumber,
long stateNodeId)
Create the evaluation state node containing the truth value state for each operator in an
event expression.
|
getContext
protected final EvalOrFactoryNode factoryNode
public EvalOrNode(PatternAgentInstanceContext context, EvalOrFactoryNode factoryNode, EvalNode[] childNodes)
public EvalOrFactoryNode getFactoryNode()
public EvalNode[] getChildNodes()
public EvalStateNode newState(Evaluator parentNode, EvalStateNodeNumber stateNodeNumber, long stateNodeId)
EvalNodeBase
newState
in interface EvalNode
newState
in class EvalNodeBase
parentNode
- is the parent evaluator node that this node indicates a change in truth value tostateNodeNumber
- node numberstateNodeId
- node id