|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jFuzzyLogic.defuzzifier.Defuzzifier net.sourceforge.jFuzzyLogic.defuzzifier.DefuzzifierDiscrete
public abstract class DefuzzifierDiscrete
Generic discrete defuzzifier (a defuzzifier for continuous membership functions)
Field Summary | |
---|---|
(package private) java.util.HashMap<java.lang.Double,java.lang.Double> |
discreteValues
Funcion values: A generic discrete function x = [x_1, x_2, .... |
Fields inherited from class net.sourceforge.jFuzzyLogic.defuzzifier.Defuzzifier |
---|
discrete |
Constructor Summary | |
---|---|
DefuzzifierDiscrete(Variable variable)
|
Method Summary | |
---|---|
org.jfree.chart.JFreeChart |
chart(java.lang.String title,
boolean showIt)
Create a defuzzifier's chart |
abstract double |
defuzzify()
Deffuzification function |
double |
getDiscreteValue(double x)
Get a point's 'y' value |
java.util.Iterator |
iterator()
Get an iterator (on discreteValues' keys) |
void |
reset()
Reset values |
void |
setPoint(double x,
double y)
Set a point |
int |
size()
How many points are there in this defuzzifier |
Methods inherited from class net.sourceforge.jFuzzyLogic.defuzzifier.Defuzzifier |
---|
getName, isDiscrete, setDiscrete, toString, toStringFCL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
java.util.HashMap<java.lang.Double,java.lang.Double> discreteValues
Constructor Detail |
---|
public DefuzzifierDiscrete(Variable variable)
Method Detail |
---|
public org.jfree.chart.JFreeChart chart(java.lang.String title, boolean showIt)
chart
in class Defuzzifier
title
- : Title to show (if null => show membership function name)showIt
- : If true, plot is displayedpublic abstract double defuzzify()
defuzzify
in class Defuzzifier
public double getDiscreteValue(double x)
public java.util.Iterator iterator()
public void reset()
reset
in class Defuzzifier
public void setPoint(double x, double y)
public int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |