public abstract class IntervalT2MF_Prototype extends java.lang.Object implements IntervalT2MF_Interface, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
isLeftShoulder |
protected boolean |
isRightShoulder |
protected T1MF_Interface |
lMF |
protected java.lang.String |
name |
protected Tuple |
support |
protected T1MF_Interface |
uMF |
Constructor and Description |
---|
IntervalT2MF_Prototype(java.lang.String name) |
IntervalT2MF_Prototype(java.lang.String name,
T1MF_Interface uMF,
T1MF_Interface lMF) |
Modifier and Type | Method and Description |
---|---|
Tuple |
getCentroid(int primaryDiscretizationLevel)
Computes the centroid of the set using the IntervalT2Engine_Centroid class.
|
Tuple |
getFS(double x)
Returns the interval membership degree for the given x.
|
double |
getFSAverage(double x)
Returns the average of the lower and upper membership values as a single value.
|
T1MF_Interface |
getLMF() |
double |
getLowerBound(double x)
Returns the degree of membership at x for the Lower Membership Function.
|
java.lang.String |
getName() |
double |
getPeak() |
Tuple |
getSupport() |
T1MF_Interface |
getUMF() |
double |
getUpperBound(double x)
Returns the degree of membership at x for the Higher Membership Function.
|
boolean |
isLeftShoulder() |
boolean |
isRightShoulder() |
void |
setLeftShoulder(boolean value) |
void |
setName(java.lang.String name) |
void |
setRightShoulder(boolean value) |
void |
setSupport(Tuple d) |
java.lang.String |
toString()
Each implementation of the prototype should override this method.
|
protected java.lang.String name
protected boolean isLeftShoulder
protected boolean isRightShoulder
protected T1MF_Interface uMF
protected T1MF_Interface lMF
protected Tuple support
public IntervalT2MF_Prototype(java.lang.String name)
public IntervalT2MF_Prototype(java.lang.String name, T1MF_Interface uMF, T1MF_Interface lMF)
public Tuple getFS(double x)
getFS
in interface IntervalT2MF_Interface
x
- public double getFSAverage(double x)
getFSAverage
in interface IntervalT2MF_Interface
x
- public void setSupport(Tuple d)
setSupport
in interface IntervalT2MF_Interface
public Tuple getSupport()
getSupport
in interface IntervalT2MF_Interface
public void setName(java.lang.String name)
setName
in interface IntervalT2MF_Interface
public java.lang.String getName()
getName
in interface MF_Interface
getName
in interface IntervalT2MF_Interface
public boolean isLeftShoulder()
isLeftShoulder
in interface IntervalT2MF_Interface
public boolean isRightShoulder()
isRightShoulder
in interface IntervalT2MF_Interface
public void setLeftShoulder(boolean value)
setLeftShoulder
in interface IntervalT2MF_Interface
public void setRightShoulder(boolean value)
setRightShoulder
in interface IntervalT2MF_Interface
public double getLowerBound(double x)
getLowerBound
in interface IntervalT2MF_Interface
x
- public double getUpperBound(double x)
getUpperBound
in interface IntervalT2MF_Interface
x
- public T1MF_Interface getLMF()
getLMF
in interface IntervalT2MF_Interface
public T1MF_Interface getUMF()
getUMF
in interface IntervalT2MF_Interface
public double getPeak()
getPeak
in interface IntervalT2MF_Interface
public Tuple getCentroid(int primaryDiscretizationLevel)
getCentroid
in interface IntervalT2MF_Interface
primaryDiscretizationLevel
- The discretization level to be employed.public java.lang.String toString()
toString
in class java.lang.Object