public class AggregatedFuzzyTermType extends FuzzyTerm
Java class for aggregatedFuzzyTermType complex type.
<complexType name="aggregatedFuzzyTermType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="and" type="{http://www.ieee1855.org}andAggregatedType"/> <element name="or" type="{http://www.ieee1855.org}orAggregatedType"/> </choice> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
TYPE_circularDefinition, TYPE_customMonotonicShape, TYPE_customShape, TYPE_gaussianShape, TYPE_leftGaussianShape, TYPE_leftLinearShape, TYPE_piShape, TYPE_pointSetMonotonicShape, TYPE_pointSetShape, TYPE_rectangularShape, TYPE_rightGaussianShape, TYPE_rightLinearShape, TYPE_singletonShape, TYPE_sShape, TYPE_trapezoidShape, TYPE_triangularShape, TYPE_zShape
Constructor and Description |
---|
AggregatedFuzzyTermType()
Default constructor
|
AggregatedFuzzyTermType(java.lang.String name)
Constructor using the name and the And
AndAggregatedType and the OrAggregatedType OrAggregatedType |
AggregatedFuzzyTermType(java.lang.String name,
AggregatedType agg)
Constructor using an AggregatedType
AggregatedType . |
AggregatedFuzzyTermType(java.lang.String name,
AndAggregatedType and,
OrAggregatedType or)
Constructor using the name and the And
AndAggregatedType and the OrAggregatedType OrAggregatedType |
Modifier and Type | Method and Description |
---|---|
FuzzyTerm |
copy()
Creates a copy of the fuzzy term
|
AndAggregatedType |
getAnd()
Gets the value of the property and.
|
java.lang.String |
getComplement()
Gets the complement (true or false)
|
float |
getMembershipValue(float x)
Gets the membership degree by calculating the membership value of the parameter x to this term
|
java.lang.String |
getName()
Gets the value of the property name.
|
OrAggregatedType |
getOr()
Gets the value of the property or.
|
void |
setAnd(AndAggregatedType value)
Sets the value of the property and.
|
void |
setName(java.lang.String value)
Sets the value of the property name.
|
void |
setOr(OrAggregatedType value)
Sets the value of the property or.
|
java.lang.String |
toString() |
getFi, getMembershipFunction, getXValuesDefuzzifier, initializeMembershipFunction, setType
public AggregatedFuzzyTermType()
public AggregatedFuzzyTermType(java.lang.String name)
AndAggregatedType
and the OrAggregatedType OrAggregatedType
name
- the name of the termpublic AggregatedFuzzyTermType(java.lang.String name, AggregatedType agg)
AggregatedType
.agg
- an instance of AndAggregatedType AndAggregatedType
or OrAggregatedType OrAggregatedType
name
- the name of the termpublic AggregatedFuzzyTermType(java.lang.String name, AndAggregatedType and, OrAggregatedType or)
AndAggregatedType
and the OrAggregatedType OrAggregatedType
name
- the name of the termand
- the And AndAggregatedType
or
- the Or OrAggregatedType
public AndAggregatedType getAnd()
AndAggregatedType
public void setAnd(AndAggregatedType value)
value
- allowed object is
AndAggregatedType
public OrAggregatedType getOr()
OrAggregatedType
public void setOr(OrAggregatedType value)
value
- allowed object is
OrAggregatedType
public java.lang.String getName()
public void setName(java.lang.String value)
value
- allowed object is
String
public java.lang.String toString()
toString
in class java.lang.Object
public float getMembershipValue(float x)
Term
getMembershipValue
in class FuzzyTerm
x
- the value xpublic java.lang.String getComplement()
FuzzyTerm
getComplement
in class FuzzyTerm