|
|||||||||
| Home >> All >> jeops >> [ rete overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
jeops.rete
Class JoinReteNode

java.lang.Objectjeops.rete.ReteNode
jeops.rete.JoinReteNode
- public class JoinReteNode
- extends ReteNode
A node in the Rete network that has more than one input, so that objects coming from distinct parts of the network are joined together in instances of this class.
- Version:
- 1.0 14 Jul 2000
| Field Summary | |
private java.lang.Object[] |
ARRAY
Object array, defined as an attribute for efficiency purposes only. |
private int |
declIndex
|
private java.util.Iterator[] |
its
Iterator array, defined as an attribute for efficiency purposes only. |
private jeops.AbstractRuleBase |
ruleBase
The rule base used to check the validity of the property of the incoming objects. |
private int |
ruleIndex
The index of the rule that contains the condition to be checked by this node. |
private java.util.List[] |
waitingObjects
The objects that are "waiting" at some inputs of this node for the arrival of objects in other inputs, in order to be propagated at this node. |
| Fields inherited from class jeops.rete.ReteNode |
|
| Constructor Summary | |
JoinReteNode(int numberInputs,
jeops.AbstractRuleBase ruleBase,
int ruleIndex,
int declIndex)
Class constructor. |
|
| Method Summary | |
void |
flush()
Remove all objects that may be stored in this node. |
void |
newObject(java.lang.Object obj,
int input)
Informs this node that an object has arrived. |
void |
remove(java.lang.Object obj)
Remove the given object from the memory of this node. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class jeops.rete.ReteNode |
addSuccessor, addSuccessor, addSuccessor, getNumberInputs, getNumberOutputs, getSuccessors, propagate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
waitingObjects
private java.util.List[] waitingObjects
- The objects that are "waiting" at some inputs of this node for
the arrival of objects in other inputs, in order to be
propagated at this node. It's actually a list of lists, where
for every input of this node there is a list of the objects
entered by that input.
ruleBase
private jeops.AbstractRuleBase ruleBase
- The rule base used to check the validity of the property of the
incoming objects.
ruleIndex
private int ruleIndex
- The index of the rule that contains the condition to be checked
by this node.
declIndex
private int declIndex
ARRAY
private final java.lang.Object[] ARRAY
- Object array, defined as an attribute for efficiency purposes
only.
its
private final java.util.Iterator[] its
- Iterator array, defined as an attribute for efficiency purposes
only.
| Constructor Detail |
JoinReteNode
public JoinReteNode(int numberInputs,
jeops.AbstractRuleBase ruleBase,
int ruleIndex,
int declIndex)
- Class constructor.
| Method Detail |
flush
public void flush()
- Remove all objects that may be stored in this node.
newObject
public void newObject(java.lang.Object obj, int input)
remove
public void remove(java.lang.Object obj)
- Remove the given object from the memory of this node.
toString
public java.lang.String toString()
- Returns a string representation of this object. Useful for
debugging.
|
|||||||||
| Home >> All >> jeops >> [ rete overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC