public class CircularMembershipFunction extends MembershipFunction
Constructor and Description |
---|
CircularMembershipFunction()
Default constructor
|
CircularMembershipFunction(CircularDefinitionType p)
Constructor with a CircularDefinitionType as param
|
CircularMembershipFunction(CircularDefinitionType p,
float domainLeft,
float domainRight)
Constructor with a a CircularDefinitionType and the left and right domain
|
Modifier and Type | Method and Description |
---|---|
float |
getMembershipDegree(float x)
Get membership degree value.
|
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
|
java.lang.String |
toString() |
getDomainLeft, getDomainRight, getName, getParameter, setDomainLeft, setDomainRight, setParameter
public CircularMembershipFunction()
public CircularMembershipFunction(CircularDefinitionType p)
p
- a CircularDefinitionTypepublic CircularMembershipFunction(CircularDefinitionType p, float domainLeft, float domainRight)
p
- CircularDefinitionTypedomainLeft
- left domaindomainRight
- right domainpublic float getMembershipDegree(float x)
MembershipFunction
getMembershipDegree
in class MembershipFunction
x
- : Variable's 'x' valuepublic java.lang.String toString()
toString
in class MembershipFunction
public java.util.ArrayList<java.lang.Float> getXValuesDefuzzifier()
MembershipFunction
getXValuesDefuzzifier
in class MembershipFunction