org.jscience.computing.ai.fuzzylogic
Class LinguisticVariable

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

public class LinguisticVariable
extends java.lang.Object

Abstraction for fuzzy linguistic variables.


Constructor Summary
LinguisticVariable(java.lang.String name)
          Creates a new LinguisticVariable object.
 
Method Summary
 void addMembershipFunction(MembershipFunction function)
          DOCUMENT ME!
 double defuzzify()
          DOCUMENT ME!
 double getFuzzificationInputValue()
          DOCUMENT ME!
 MembershipFunction getMembershipFuncion(java.lang.String name)
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 void setFuzzificationInputValue(double inputValue)
          DOCUMENT ME!
 void setName(java.lang.String mName)
          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

LinguisticVariable

public LinguisticVariable(java.lang.String name)
Creates a new LinguisticVariable object.

Parameters:
name - DOCUMENT ME!
Method Detail

addMembershipFunction

public void addMembershipFunction(MembershipFunction function)
DOCUMENT ME!

Parameters:
function - DOCUMENT ME!

getMembershipFuncion

public MembershipFunction getMembershipFuncion(java.lang.String name)
DOCUMENT ME!

Parameters:
name - DOCUMENT ME!
Returns:
DOCUMENT ME!

setName

public void setName(java.lang.String mName)
DOCUMENT ME!

Parameters:
mName - DOCUMENT ME!

getName

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

Returns:
DOCUMENT ME!

defuzzify

public double defuzzify()
                 throws NoRulesFiredException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
NoRulesFiredException - DOCUMENT ME!

toString

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

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

setFuzzificationInputValue

public void setFuzzificationInputValue(double inputValue)
DOCUMENT ME!

Parameters:
inputValue - DOCUMENT ME!

getFuzzificationInputValue

public double getFuzzificationInputValue()
DOCUMENT ME!

Returns:
DOCUMENT ME!