net.sourceforge.jFuzzyLogic.rule
Class LinguisticTerm
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
membershipFunction
MembershipFunction membershipFunction
- Membership function
termName
java.lang.String termName
- Terms's name
LinguisticTerm
public LinguisticTerm(java.lang.String termName,
MembershipFunction membershipFunction)
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()