|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jFuzzyLogic.defuzzifier.Defuzzifier
public abstract class Defuzzifier
Generic defuzzifier
Field Summary | |
---|---|
(package private) boolean |
discrete
Discrete defuzzifier (e.g. |
Constructor Summary | |
---|---|
Defuzzifier(Variable variable)
Constructor |
Method Summary | |
---|---|
abstract org.jfree.chart.JFreeChart |
chart(java.lang.String title,
boolean showIt)
Create a defuzzifier's chart |
abstract double |
defuzzify()
Deffuzification function Note: Has to return Double.NaN if no rule infered this variable |
java.lang.String |
getName()
Short name |
boolean |
isDiscrete()
|
abstract void |
reset()
Reset defuzzifier values, this method is invoked on every RuleSet.evaluate() |
void |
setDiscrete(boolean discrete)
|
java.lang.String |
toString()
|
abstract java.lang.String |
toStringFCL()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
boolean discrete
Constructor Detail |
---|
public Defuzzifier(Variable variable)
Method Detail |
---|
public abstract org.jfree.chart.JFreeChart chart(java.lang.String title, boolean showIt)
title
- : Title to show (if null => show membership function name)showIt
- : If true, plot is displayedpublic abstract double defuzzify()
public java.lang.String getName()
public boolean isDiscrete()
public abstract void reset()
public void setDiscrete(boolean discrete)
public java.lang.String toString()
toString
in class java.lang.Object
public abstract java.lang.String toStringFCL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |