public class RETEQueue extends Object implements RETESinkNode, RETESourceNode
Constructor and Description |
---|
RETEQueue(byte[] matchIndices)
Constructor.
|
RETEQueue(List<? extends Byte> matchIndexList)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
RETENode |
clone(Map<RETENode,RETENode> netCopy,
RETERuleContext context)
Clone this node in the network.
|
void |
fire(BindingVector env,
boolean isAdd)
Propagate a token to this node.
|
void |
setContinuation(RETESinkNode continuation)
Set the continuation node for this node (and any sibling)
|
void |
setSibling(RETEQueue sibling)
Set the sibling for this node.
|
public RETEQueue(byte[] matchIndices)
matchIndices
- set of variable indices which should match between the two
inputspublic void setSibling(RETEQueue sibling)
public void setContinuation(RETESinkNode continuation)
setContinuation
in interface RETESourceNode
public void fire(BindingVector env, boolean isAdd)
fire
in interface RETESinkNode
env
- a set of variable bindings for the rule being processed.isAdd
- distinguishes between add and remove operations.Licenced under the Apache License, Version 2.0