public class T1MF_Singleton extends T1MF_Prototype
isLeftShoulder, isRightShoulder, name, support
Constructor and Description |
---|
T1MF_Singleton(double value)
Creates a new instance with empty name.
|
T1MF_Singleton(java.lang.String name,
double value)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
Tuple |
getAlphaCut(double alpha) |
double |
getFS(double x) |
double |
getPeak() |
double |
getValue() |
java.lang.String |
toString() |
getDefuzzifiedCentroid, getDefuzzifiedCOS, getName, getSupport, isLeftShoulder, isRightShoulder, setLeftShoulder, setName, setRightShoulder, setSupport
public T1MF_Singleton(java.lang.String name, double value)
name
- value
- The value where the singleton exists.public T1MF_Singleton(double value)
value
- The value where the singleton exists.public double getValue()
public double getFS(double x)
public double getPeak()
public Tuple getAlphaCut(double alpha)
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object o)