jess
Interface Test

All Known Implementing Classes:
Test1

public interface Test

A generic Rete network test. Different implementations of this represent pattern-network tests, join-network tests, etc.

(C) 1997 Ernest J. Friedman-Hill and Sandia National Laboratories

Author:
Ernest J. Friedman-Hill

Field Summary
static int EQ
          Used by Test constructors to indicate this test is for equality
static int NEQ
          Used by Test constructors to indicate this test is for inequality
 
Method Summary
 boolean doTest(Context context)
          Perform the actual test.
 

Field Detail

EQ

public static final int EQ
Used by Test constructors to indicate this test is for equality

NEQ

public static final int NEQ
Used by Test constructors to indicate this test is for inequality
Method Detail

doTest

public boolean doTest(Context context)
               throws JessException
Perform the actual test. The context argument contains all relevant information needed to resolve variables, etc.
Parameters:
context - The execution context in which to evaluate the test
Returns:
The result of the test
Throws:
JessException - If anything goes wrong

© 1997 E.J. Friedman-Hill and Sandia Corporation