public class FuzzyTermType extends FuzzyTerm
Java class for fuzzyTermType complex type.
<complexType name="fuzzyTermType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="rightLinearShape" type="{http://www.ieee1855.org}twoParamType"/> <element name="leftLinearShape" type="{http://www.ieee1855.org}twoParamType"/> <element name="piShape" type="{http://www.ieee1855.org}twoParamType"/> <element name="triangularShape" type="{http://www.ieee1855.org}threeParamType"/> <element name="gaussianShape" type="{http://www.ieee1855.org}twoParamType"/> <element name="rightGaussianShape" type="{http://www.ieee1855.org}twoParamType"/> <element name="leftGaussianShape" type="{http://www.ieee1855.org}twoParamType"/> <element name="trapezoidShape" type="{http://www.ieee1855.org}fourParamType"/> <element name="singletonShape" type="{http://www.ieee1855.org}oneParamType"/> <element name="rectangularShape" type="{http://www.ieee1855.org}twoParamType"/> <element name="zShape" type="{http://www.ieee1855.org}twoParamType"/> <element name="sShape" type="{http://www.ieee1855.org}twoParamType"/> <element name="pointSetShape" type="{http://www.ieee1855.org}pointSetShapeType"/> <element name="circularDefinition" type="{http://www.ieee1855.org}circularDefinitionType"/> <element name="customShape" type="{http://www.ieee1855.org}customShapeType"/> </choice> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="complement" default="false"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <pattern value="true|false|TRUE|FALSE|True|False"/> </restriction> </simpleType> </attribute> </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 |
---|
FuzzyTermType()
Default constructor
|
FuzzyTermType(java.lang.String name,
CircularDefinitionType c)
Constructor using the name and an instance of CircularDefinitionType
|
FuzzyTermType(java.lang.String name,
CustomShapeType c)
Constructor using the name and an instance of CustomShapeType
|
FuzzyTermType(java.lang.String name,
int type,
float[] param)
Constructor using the name, the type of fuzzy term and an array of parameters
|
FuzzyTermType(java.lang.String name,
int type,
java.util.List<PointType> points)
Constructor of a PointSet term using the name and a list of PointType
|
FuzzyTermType(java.lang.String name,
PointSetShapeType p)
Constructor using the name and an instance of PointSetShapeType
|
FuzzyTermType(java.lang.String name,
java.lang.String complement,
CircularDefinitionType circular)
Constructor using the name, the complement and a CircularDefinitionType
|
FuzzyTermType(java.lang.String name,
java.lang.String complement,
PointSetShapeType point)
Constructor using the name, the complement and a PointSetShapeType
|
Modifier and Type | Method and Description |
---|---|
FuzzyTerm |
copy()
Creates a copy of the fuzzy term
|
CircularDefinitionType |
getCircularDefinition()
Gets the value of the property circularDefinition.
|
java.lang.String |
getComplement()
Gets the value of the property complement.
|
CustomShapeType |
getCustomShape()
Gets the value of the property customShape.
|
TwoParamType |
getGaussianShape()
Gets the value of the property gaussianShape.
|
TwoParamType |
getLeftGaussianShape()
Gets the value of the property leftGaussianShape.
|
TwoParamType |
getLeftLinearShape()
Gets the value of the property leftLinearShape.
|
java.lang.String |
getName()
Gets the value of the property name.
|
float[] |
getParam()
Gets an array of floats with the parameters of this fuzzy term
|
TwoParamType |
getPiShape()
Gets the value of the property piShape.
|
PointSetShapeType |
getPointSetShape()
Gets the value of the property pointSetShape.
|
TwoParamType |
getRectangularShape()
Gets the value of the property rectangularShape.
|
TwoParamType |
getRightGaussianShape()
Gets the value of the property rightGaussianShape.
|
TwoParamType |
getRightLinearShape()
Gets the value of the property rightLinearShape.
|
OneParamType |
getSingletonShape()
Gets the value of the property singletonShape.
|
TwoParamType |
getSShape()
Gets the value of the property sShape.
|
FourParamType |
getTrapezoidShape()
Gets the value of the property trapezoidShape.
|
ThreeParamType |
getTriangularShape()
Gets the value of the property triangularShape.
|
TwoParamType |
getZShape()
Gets the value of the property zShape.
|
void |
setCircularDefinition(CircularDefinitionType value)
Sets the value of the property circularDefinition.
|
void |
setComplement(java.lang.String value)
Sets the value of the property complement.
|
void |
setCustomShape(CustomShapeType value)
Sets the value of the property customShape.
|
void |
setGaussianShape(TwoParamType value)
Sets the value of the property gaussianShape.
|
void |
setLeftGaussianShape(TwoParamType value)
Sets the value of the property leftGaussianShape.
|
void |
setLeftLinearShape(TwoParamType value)
Sets the value of the property leftLinearShape.
|
void |
setName(java.lang.String value)
Sets the value of the property name.
|
void |
setPiShape(TwoParamType value)
Sets the value of the property piShape.
|
void |
setPointSetShape(PointSetShapeType value)
Sets the value of the property pointSetShape.
|
void |
setRectangularShape(TwoParamType value)
Sets the value of the property rectangularShape.
|
void |
setRightGaussianShape(TwoParamType value)
Sets the value of the property rightGaussianShape.
|
void |
setRightLinearShape(TwoParamType value)
Sets the value of the property rightLinearShape.
|
void |
setSingletonShape(OneParamType value)
Sets the value of the property singletonShape.
|
void |
setSShape(TwoParamType value)
Sets the value of the property sShape.
|
void |
setTrapezoidShape(FourParamType value)
Sets the value of the property trapezoidShape.
|
void |
setTriangularShape(ThreeParamType value)
Sets the value of the property triangularShape.
|
void |
setZShape(TwoParamType value)
Sets the value of the property zShape.
|
java.lang.String |
toString() |
getFi, getMembershipFunction, getMembershipValue, getXValuesDefuzzifier, initializeMembershipFunction, setType
public FuzzyTermType()
public FuzzyTermType(java.lang.String name, int type, float[] param)
name
- the name of the fuzzy termtype
- the type (see static variables in FuzzyTerm
)param
- an array of parameterspublic FuzzyTermType(java.lang.String name, int type, java.util.List<PointType> points)
name
- the name of the Fuzzy Termtype
- type must be the static value FuzzyTerm.TYPE_pointSetShapepoints
- the list of PointTypepublic FuzzyTermType(java.lang.String name, PointSetShapeType p)
name
- the name of the fuzzy termp
- an instance of PointSetShapeTypepublic FuzzyTermType(java.lang.String name, CircularDefinitionType c)
name
- the name of the fuzzy termc
- an instance of CircularDefinitionTypepublic FuzzyTermType(java.lang.String name, CustomShapeType c)
name
- the name of the fuzzy termc
- an instance of CustomShapeTypepublic FuzzyTermType(java.lang.String name, java.lang.String complement, CircularDefinitionType circular)
name
- the name of the fuzzy termcomplement
- the complement (true or false)circular
- an instance of CircularDefinitionTypepublic FuzzyTermType(java.lang.String name, java.lang.String complement, PointSetShapeType point)
name
- the name of the fuzzy termcomplement
- the complement (true or false)circular
- an instance of PointSetShapeTypepublic float[] getParam()
public TwoParamType getRightLinearShape()
TwoParamType
public void setRightLinearShape(TwoParamType value)
value
- allowed object is
TwoParamType
public TwoParamType getLeftLinearShape()
TwoParamType
public void setLeftLinearShape(TwoParamType value)
value
- allowed object is
TwoParamType
public TwoParamType getPiShape()
TwoParamType
public void setPiShape(TwoParamType value)
value
- allowed object is
TwoParamType
public ThreeParamType getTriangularShape()
ThreeParamType
public void setTriangularShape(ThreeParamType value)
value
- allowed object is
ThreeParamType
public TwoParamType getGaussianShape()
TwoParamType
public void setGaussianShape(TwoParamType value)
value
- allowed object is
TwoParamType
public TwoParamType getRightGaussianShape()
TwoParamType
public void setRightGaussianShape(TwoParamType value)
value
- allowed object is
TwoParamType
public TwoParamType getLeftGaussianShape()
TwoParamType
public void setLeftGaussianShape(TwoParamType value)
value
- allowed object is
TwoParamType
public FourParamType getTrapezoidShape()
FourParamType
public void setTrapezoidShape(FourParamType value)
value
- allowed object is
FourParamType
public OneParamType getSingletonShape()
OneParamType
public void setSingletonShape(OneParamType value)
value
- allowed object is
OneParamType
public TwoParamType getRectangularShape()
TwoParamType
public void setRectangularShape(TwoParamType value)
value
- allowed object is
TwoParamType
public TwoParamType getZShape()
TwoParamType
public void setZShape(TwoParamType value)
value
- allowed object is
TwoParamType
public TwoParamType getSShape()
TwoParamType
public void setSShape(TwoParamType value)
value
- allowed object is
TwoParamType
public PointSetShapeType getPointSetShape()
PointSetShapeType
public void setPointSetShape(PointSetShapeType value)
value
- allowed object is
PointSetShapeType
public CircularDefinitionType getCircularDefinition()
CircularDefinitionType
public void setCircularDefinition(CircularDefinitionType value)
value
- allowed object is
CircularDefinitionType
public CustomShapeType getCustomShape()
CustomShapeType
public void setCustomShape(CustomShapeType value)
value
- allowed object is
CustomShapeType
public java.lang.String getName()
public void setName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getComplement()
getComplement
in class FuzzyTerm
String
public void setComplement(java.lang.String value)
value
- allowed object is
String
public java.lang.String toString()
toString
in class java.lang.Object