nxtfuzzylogic
Class Term
java.lang.Object
nxtfuzzylogic.Term
public class Term
- extends java.lang.Object
Class to describe terms.
Constructor Summary |
Term(java.lang.String name_,
float left0_,
float left1_,
float right1_,
float right0_,
int index)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Term
public Term(java.lang.String name_,
float left0_,
float left1_,
float right1_,
float right0_,
int index)
is
public void is(float value)
getDegree
public float getDegree()
setDegree
public void setDegree(float degree)
getLeft0
public float getLeft0()
setLeft0
public void setLeft0(float left0)
getLeft1
public float getLeft1()
setLeft1
public void setLeft1(float left1)
getRight0
public float getRight0()
setRight0
public void setRight0(float right0)
getRight1
public float getRight1()
setRight1
public void setRight1(float right1)
setIndexLinguisticVariable
public void setIndexLinguisticVariable(int indexLinguisticVariable)
getIndexLinguisticVariable
public int getIndexLinguisticVariable()
setName
public void setName(java.lang.String name)
- Parameters:
name
- the name to set
getName
public java.lang.String getName()
- Returns:
- the name