public class ReteMemory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map |
memory
The memory.
|
protected IOAVState |
state
The state.
|
Constructor and Description |
---|
ReteMemory(IOAVState state)
Create a new rete memory.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getNodeMemory(INode node)
Get the memory for a node.
|
int |
getTotalMemorySize()
Get the total memory size
|
Tuple |
getTuple(IOAVState state,
Tuple left,
java.lang.Object right)
Get a tuple.
|
boolean |
hasNodeMemory(INode node)
Test if there is a memory for a node.
|
java.lang.String |
toString()
Get the string representation.
|
protected java.util.Map memory
protected IOAVState state
public ReteMemory(IOAVState state)
public boolean hasNodeMemory(INode node)
node
- The node.public java.lang.Object getNodeMemory(INode node)
node
- The node.public Tuple getTuple(IOAVState state, Tuple left, java.lang.Object right)
public int getTotalMemorySize()
public java.lang.String toString()
toString
in class java.lang.Object