jess
Class Node
java.lang.Object
jess.Node
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- HasLHS
- public abstract class Node
- extends java.lang.Object
- implements java.io.Serializable
Parent class of all nodes of the Rete network. It's unlikely that you'll use
this class unless you're building tools.
(C) 2006 Sandia National Laboratories
- See Also:
- Serialized Form
Constructor Summary |
Node()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_NONE
public static final int TYPE_NONE
- See Also:
- Constant Field Values
TYPE_NODE1
public static final int TYPE_NODE1
- See Also:
- Constant Field Values
TYPE_NODE2
public static final int TYPE_NODE2
- See Also:
- Constant Field Values
TYPE_NODENOT2
public static final int TYPE_NODENOT2
- See Also:
- Constant Field Values
TYPE_TEST
public static final int TYPE_TEST
- See Also:
- Constant Field Values
TYPE_TERMINAL
public static final int TYPE_TERMINAL
- See Also:
- Constant Field Values
TYPE_ADAPTER
public static final int TYPE_ADAPTER
- See Also:
- Constant Field Values
Node
public Node()
getSuccessors
public java.util.Enumeration getSuccessors()
- Deprecated. use
successors()
instead
- Returns an Enumeration over all the nodes fed from this one.
- Returns:
- the enumeration
successors
public java.util.Iterator successors()
- Returns an Iterator over all the nodes fed from this one.
- Returns:
- the iterator
addJessListener
public void addJessListener(JessListener jel)
removeJessListener
public void removeJessListener(JessListener jel)
- Parameters:
jel
-
getNodeType
public abstract int getNodeType()