|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sazonov.fuzzy.engine.MembershipFunction
Class for fuzzy membership functions.
Method Summary | |
double |
fuzzify(double X)
Fuzzify a value. |
java.lang.String |
getName()
Return name of this membership function. |
double[] |
getRange()
Return 4 points of the trapeziod function. |
double[] |
plot(double from,
double to,
int size)
Return an array with discrete representation of the function. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public double fuzzify(double X)
X
- Input value.
public java.lang.String getName()
public double[] getRange()
public double[] plot(double from, double to, int size)
from
- Left X-axis value.to
- Right X-axis value.size
- Number of discrete steps.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |