org.jscience.computing.ai.fuzzylogic
Class FuzzyExpression

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

public class FuzzyExpression
extends java.lang.Object

Abstraction for fuzzy expressions.

Contains single fuzzy expression in the form "LV is MF".

LV: Linguistic Variable

MF: Membership Function


Constructor Summary
FuzzyExpression(LinguisticVariable lv, MembershipFunction mf)
          Creates a new FuzzyExpression object.
 
Method Summary
 double evaluateExpression()
          DOCUMENT ME!
 LinguisticVariable getLinguisticVariable()
          DOCUMENT ME!
 MembershipFunction getMembershipFunction()
          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
 

Constructor Detail

FuzzyExpression

public FuzzyExpression(LinguisticVariable lv,
                       MembershipFunction mf)
Creates a new FuzzyExpression object.

Parameters:
lv - DOCUMENT ME!
mf - DOCUMENT ME!
Method Detail

evaluateExpression

public double evaluateExpression()
DOCUMENT ME!

Returns:
DOCUMENT ME!

toString

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

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

getLinguisticVariable

public LinguisticVariable getLinguisticVariable()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMembershipFunction

public MembershipFunction getMembershipFunction()
DOCUMENT ME!

Returns:
DOCUMENT ME!