jeops.rete
Class ClassFilterReteNode

java.lang.Object
jeops.rete.ReteNode
jeops.rete.ClassFilterReteNode
- public class ClassFilterReteNode
- extends ReteNode
A node in the Rete network that is activated if the object belongs
to the class it represents. An object of this class is the entry
point of the Rete network.
- Version:
- 1.0 13 Jul 2000
| Fields inherited from class jeops.rete.ReteNode |
|
classType
private java.lang.Class classType
- The class object that indicates which tokens can pass by this
node.
ClassFilterReteNode
public ClassFilterReteNode(java.lang.Class classType)
- Class constructor.
getClassType
public java.lang.Class getClassType()
- Returns the class object associated with this node.
newObject
public void newObject(java.lang.Object obj)
- Informs this node that an object has arrived. As the type check
of the objects is being performed at the knowledge base, we
will assume that this kind of node will always propagate the
objects that arrive at it.
newObject
public void newObject(java.lang.Object obj,
int input)
- Informs this node that an object has arrived. As the type check
of the objects is being performed at the knowledge base, we
will assume that this kind of node will always propagate the
objects that arrive at it.
- Specified by:
newObject in class ReteNode
toString
public java.lang.String toString()
- Returns a string representation of this object. Useful for
debugging.
getClassFilterSuccessors
public java.util.List getClassFilterSuccessors()
- Returns the successors of this node.