jess
Class Node

java.lang.Object
  extended byjess.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

Field Summary
static int TYPE_ADAPTER
           
static int TYPE_NODE1
           
static int TYPE_NODE2
           
static int TYPE_NODENOT2
           
static int TYPE_NONE
           
static int TYPE_TERMINAL
           
static int TYPE_TEST
           
 
Constructor Summary
Node()
           
 
Method Summary
 void addJessListener(JessListener jel)
           
abstract  int getNodeType()
           
 java.util.Enumeration getSuccessors()
          Deprecated. use successors() instead
 void removeJessListener(JessListener jel)
           
 java.util.Iterator successors()
          Returns an Iterator over all the nodes fed from this one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Node

public Node()
Method Detail

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()

© 2007 Sandia Corporation