org.jscience.computing.ai.fuzzylogic
Class FuzzyEngine

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

public class FuzzyEngine
extends java.lang.Object

Fuzzy engine implementation.


Field Summary
static int DEFUZZIFICATION_CENTER_OF_MAXIMUM
          DOCUMENT ME!
 
Constructor Summary
FuzzyEngine()
          Creates a new FuzzyEngine object.
 
Method Summary
 void addLinguisticVariable(LinguisticVariable lv)
          DOCUMENT ME!
 FuzzyRule addRule(FuzzyRule rule)
          DOCUMENT ME!
 FuzzyRule addRule(java.lang.String rule)
          DOCUMENT ME!
 void evaluateRule(FuzzyRule rule)
          DOCUMENT ME!
 void evaluateRule(java.lang.String rule)
          DOCUMENT ME!
 void evaluateRules()
          DOCUMENT ME!
 LinguisticVariable getLinguisticVariable(java.lang.String lv)
          DOCUMENT ME!
 int getNumRules()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFUZZIFICATION_CENTER_OF_MAXIMUM

public static int DEFUZZIFICATION_CENTER_OF_MAXIMUM
DOCUMENT ME!

Constructor Detail

FuzzyEngine

public FuzzyEngine()
Creates a new FuzzyEngine object.

Method Detail

evaluateRule

public void evaluateRule(java.lang.String rule)
                  throws RuleParsingException
DOCUMENT ME!

Parameters:
rule - DOCUMENT ME!
Throws:
RuleParsingException - DOCUMENT ME!

evaluateRule

public void evaluateRule(FuzzyRule rule)
DOCUMENT ME!

Parameters:
rule - DOCUMENT ME!

evaluateRules

public void evaluateRules()
DOCUMENT ME!


addRule

public FuzzyRule addRule(java.lang.String rule)
                  throws RuleParsingException
DOCUMENT ME!

Parameters:
rule - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
RuleParsingException - DOCUMENT ME!

addRule

public FuzzyRule addRule(FuzzyRule rule)
DOCUMENT ME!

Parameters:
rule - DOCUMENT ME!
Returns:
DOCUMENT ME!

addLinguisticVariable

public void addLinguisticVariable(LinguisticVariable lv)
DOCUMENT ME!

Parameters:
lv - DOCUMENT ME!

getLinguisticVariable

public LinguisticVariable getLinguisticVariable(java.lang.String lv)
DOCUMENT ME!

Parameters:
lv - DOCUMENT ME!
Returns:
DOCUMENT ME!

getNumRules

public int getNumRules()
DOCUMENT ME!

Returns:
DOCUMENT ME!