public class CircularDefinitionType extends MembershipFunction
Java class for circularDefinitionType complex type.
<complexType name="circularDefinitionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="and" type="{http://www.ieee1855.org}andLogicalType"/> <element name="or" type="{http://www.ieee1855.org}orLogicalType"/> </choice> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
CircularDefinitionType()
Default constructor
|
CircularDefinitionType(AndLogicalType and,
OrLogicalType or,
KnowledgeBaseVariable var) |
CircularDefinitionType(LogicalType log,
KnowledgeBaseVariable var) |
Modifier and Type | Method and Description |
---|---|
CircularDefinitionType |
copy()
Copy method
|
AndLogicalType |
getAnd()
Gets the value of the property and.
|
float |
getMembershipDegree(float x)
Get membership degree value.
|
OrLogicalType |
getOr()
Gets the value of the property or.
|
KnowledgeBaseVariable |
getVariable()
Get the FuzzyVariableType which contains the terms
|
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 |
setAnd(AndLogicalType and)
Sets the value of the property and.
|
void |
setOr(OrLogicalType or)
Sets the value of the property or.
|
void |
setVariable(KnowledgeBaseVariable var)
Set the FuzzyVariableType which contains the terms
|
java.lang.String |
toString() |
getDomainLeft, getDomainRight, getName, getParameter, setDomainLeft, setDomainRight, setParameter
public CircularDefinitionType()
public CircularDefinitionType(AndLogicalType and, OrLogicalType or, KnowledgeBaseVariable var)
and
- or
- var
- public CircularDefinitionType(LogicalType log, KnowledgeBaseVariable var)
public AndLogicalType getAnd()
AndLogicalType
public void setAnd(AndLogicalType and)
value
- allowed object is
AndLogicalType
public OrLogicalType getOr()
OrLogicalType
public void setOr(OrLogicalType or)
value
- allowed object is
OrLogicalType
public CircularDefinitionType copy()
public KnowledgeBaseVariable getVariable()
public void setVariable(KnowledgeBaseVariable var)
var
- public 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