net.sourceforge.jFuzzyLogic.rule
Class FuzzyRuleTerm

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

public class FuzzyRuleTerm
extends java.lang.Object

A fuzzy logic term for a 'FuzzyRule'

Author:
pcingola@users.sourceforge.net

Field Summary
(package private)  boolean negated
          Is it negated?
(package private)  java.lang.String termName
          FuzzyRuleTerm's name
(package private)  Variable variable
          Varible
 
Constructor Summary
FuzzyRuleTerm(Variable variable, java.lang.String term, boolean negated)
          Constructor
 
Method Summary
 double getMembership()
           
 MembershipFunction getMembershipFunction()
           
 java.lang.String getTermName()
           
 Variable getVariable()
           
 boolean isNegated()
           
 void setNegated(boolean negated)
           
 void setTermName(java.lang.String term)
           
 void setVariable(Variable variable)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

negated

boolean negated
Is it negated?


termName

java.lang.String termName
FuzzyRuleTerm's name


variable

Variable variable
Varible

Constructor Detail

FuzzyRuleTerm

public FuzzyRuleTerm(Variable variable,
                     java.lang.String term,
                     boolean negated)
Constructor

Parameters:
variable -
term -
negated -
Method Detail

getMembership

public double getMembership()

getMembershipFunction

public MembershipFunction getMembershipFunction()

getTermName

public java.lang.String getTermName()

getVariable

public Variable getVariable()

isNegated

public boolean isNegated()

setNegated

public void setNegated(boolean negated)

setTermName

public void setTermName(java.lang.String term)

setVariable

public void setVariable(Variable variable)

toString

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