public class TsukamotoTermType extends FuzzyTerm
Java class for tsukamotoTermType complex type.
<complexType name="tsukamotoTermType"> <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="rightGaussianShape" type="{http://www.ieee1855.org}twoParamType"/> <element name="leftGaussianShape" 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="pointSetMonotonicShape" type="{http://www.ieee1855.org}pointSetMonotonicShapeType"/> <element name="customMonotonicShape" 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 |
---|
TsukamotoTermType()
Default constructor
|
TsukamotoTermType(java.lang.String name,
int type,
float[] param)
Constructor using the name, the type of fuzzy term and an array of parameters
|
TsukamotoTermType(java.lang.String name,
int type,
java.util.List<PointType> param)
Constructor of a PointSet term using the name and a list of PointType
|
TsukamotoTermType(java.lang.String name,
PointSetMonotonicShapeType psm)
Constructor using the name and an instance of PointSetMonotonicShapeType
|
Modifier and Type | Method and Description |
---|---|
FuzzyTerm |
copy()
Creates a copy of the fuzzy term
|
java.lang.String |
getComplement()
Gets the value of the property complement.
|
CustomShapeType |
getCustomMonotonicShape()
Gets the value of the property customMonotonicShape.
|
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
|
PointSetMonotonicShapeType |
getPointSetMonotonicShape()
Gets the value of the property pointSetMonotonicShape.
|
TwoParamType |
getRightGaussianShape()
Gets the value of the property rightGaussianShape.
|
TwoParamType |
getRightLinearShape()
Gets the value of the property rightLinearShape.
|
TwoParamType |
getSShape()
Gets the value of the property sShape.
|
TwoParamType |
getZShape()
Gets the value of the property zShape.
|
void |
setComplement(java.lang.String value)
Sets the value of the property complement.
|
void |
setCustomMonotonicShape(CustomShapeType value)
Sets the value of the property customMonotonicShape.
|
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 |
setPointSetMonotonicShape(PointSetMonotonicShapeType value)
Sets the value of the property pointSetMonotonicShape.
|
void |
setRightGaussianShape(TwoParamType value)
Sets the value of the property rightGaussianShape.
|
void |
setRightLinearShape(TwoParamType value)
Sets the value of the property rightLinearShape.
|
void |
setSShape(TwoParamType value)
Sets the value of the property sShape.
|
void |
setZShape(TwoParamType value)
Sets the value of the property zShape.
|
java.lang.String |
toString() |
getFi, getMembershipFunction, getMembershipValue, getXValuesDefuzzifier, initializeMembershipFunction, setType
public TsukamotoTermType()
public TsukamotoTermType(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 TsukamotoTermType(java.lang.String name, int type, java.util.List<PointType> param)
name
- the name of the Fuzzy Termtype
- type must be the static value FuzzyTerm.TYPE_pointSetShapepoints
- the list of PointTypepublic TsukamotoTermType(java.lang.String name, PointSetMonotonicShapeType psm)
name
- the name of the Tsukamoto termpsm
- an instance of PointSetMonotonicShapeTypepublic 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 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 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 PointSetMonotonicShapeType getPointSetMonotonicShape()
PointSetMonotonicShapeType
public void setPointSetMonotonicShape(PointSetMonotonicShapeType value)
value
- allowed object is
PointSetMonotonicShapeType
public CustomShapeType getCustomMonotonicShape()
CustomShapeType
public void setCustomMonotonicShape(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
public FuzzyTerm copy()
FuzzyTerm
public float[] getParam()