org.jscience.computing.ai.fuzzylogic
Class FuzzyRule

java.lang.Object
  extended by org.jscience.computing.ai.fuzzylogic.FuzzyRule

public class FuzzyRule
extends java.lang.Object

Abstraction for fuzzy rules.


Field Summary
static int OPERATOR_AND
          DOCUMENT ME!
static int OPERATOR_OR
          DOCUMENT ME!
 
Constructor Summary
FuzzyRule(FuzzyEngine engine, java.lang.String rule)
          Creates a new FuzzyRule object.
 
Method Summary
 void evaluate()
          DOCUMENT ME!
 FuzzyExpression[] getLeftFuzzyExpressions()
          DOCUMENT ME!
 int[] getLeftOperators()
          DOCUMENT ME!
 FuzzyExpression[] getRightFuzzyExpressions()
          DOCUMENT ME!
 int[] getRightOperators()
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OPERATOR_AND

public static int OPERATOR_AND
DOCUMENT ME!


OPERATOR_OR

public static int OPERATOR_OR
DOCUMENT ME!

Constructor Detail

FuzzyRule

public FuzzyRule(FuzzyEngine engine,
                 java.lang.String rule)
          throws RuleParsingException
Creates a new FuzzyRule object.

Parameters:
engine - DOCUMENT ME!
rule - DOCUMENT ME!
Throws:
RuleParsingException - DOCUMENT ME!
Method Detail

getRightFuzzyExpressions

public FuzzyExpression[] getRightFuzzyExpressions()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getLeftFuzzyExpressions

public FuzzyExpression[] getLeftFuzzyExpressions()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getLeftOperators

public int[] getLeftOperators()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getRightOperators

public int[] getRightOperators()
DOCUMENT ME!

Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!

evaluate

public void evaluate()
DOCUMENT ME!