net.sourceforge.jFuzzyLogic.rule
Class LinguisticTerm

java.lang.Object
  extended by net.sourceforge.jFuzzyLogic.rule.LinguisticTerm

public class LinguisticTerm
extends java.lang.Object

A linguistic term is an asociation between a termName and a membership function

Author:
pcingola@users.sourceforge.net

Field Summary
(package private)  MembershipFunction membershipFunction
          Membership function
(package private)  java.lang.String termName
          Terms's name
 
Constructor Summary
LinguisticTerm(java.lang.String termName, MembershipFunction membershipFunction)
           
 
Method Summary
 org.jfree.chart.JFreeChart chart(boolean showIt)
          Create a membership function chart
 MembershipFunction getMembershipFunction()
           
 java.lang.String getTermName()
           
 void setMembershipFunction(MembershipFunction membershipFunction)
           
 void setTermName(java.lang.String termName)
           
 java.lang.String toString()
           
 java.lang.String toString(double value)
           
 java.lang.String toStringFCL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

membershipFunction

MembershipFunction membershipFunction
Membership function


termName

java.lang.String termName
Terms's name

Constructor Detail

LinguisticTerm

public LinguisticTerm(java.lang.String termName,
                      MembershipFunction membershipFunction)
Method Detail

chart

public org.jfree.chart.JFreeChart chart(boolean showIt)
Create a membership function chart

Parameters:
showIt - : If true, plot is displayed

getMembershipFunction

public MembershipFunction getMembershipFunction()

getTermName

public java.lang.String getTermName()

setMembershipFunction

public void setMembershipFunction(MembershipFunction membershipFunction)

setTermName

public void setTermName(java.lang.String termName)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(double value)

toStringFCL

public java.lang.String toStringFCL()