public abstract class MembershipFunction
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
double |
getDomainLeft()
Gets the left domain
|
double |
getDomainRight()
Gets the right domain
|
abstract float |
getMembershipDegree(float x)
Get membership degree value.
|
java.lang.String |
getName()
Gets the name of the function
|
Parameter |
getParameter()
Gets the Parameter associated to this function
|
abstract java.util.ArrayList<java.lang.Float> |
getXValuesDefuzzifier()
This function returns an array with values [x1, x2, x3, ...] which represents points in the x domain of the function needed by defuzzifer
|
void |
setDomainLeft(float domainLeft)
Sets the left domain value
|
void |
setDomainRight(float domainRight)
Sets the right domain value
|
void |
setParameter(Parameter p)
Sets the parameter
|
abstract java.lang.String |
toString() |
public abstract float getMembershipDegree(float x)
x
- : Variable's 'x' valuepublic java.lang.String getName()
public Parameter getParameter()
public double getDomainRight()
public double getDomainLeft()
public void setParameter(Parameter p)
p
- the parameterpublic void setDomainRight(float domainRight)
domainRight
- the right domain valuepublic void setDomainLeft(float domainLeft)
domainLeft
- the left domain valuepublic abstract java.lang.String toString()
toString
in class java.lang.Object
public abstract java.util.ArrayList<java.lang.Float> getXValuesDefuzzifier()