public class PointSetShapeType extends MembershipFunction
Java class for pointSetShapeType complex type.
<complexType name="pointSetShapeType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="point" type="{http://www.ieee1855.org}pointType" maxOccurs="unbounded"/> </sequence> <attribute name="interpolationMethod" type="{http://www.ieee1855.org}interpolationMethodType" default="linear" /> <attribute name="degree" type="{http://www.w3.org/2001/XMLSchema}int" default="3" /> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
PointSetShapeType()
Default constructor
|
PointSetShapeType(float domainLeft,
float domainRight)
Constructor with left and right domain
|
PointSetShapeType(float domainLeft,
float domainRight,
java.util.List<PointType> points)
Constructor with left and right domain and a list of PointType
|
PointSetShapeType(java.util.List<PointType> points)
Constructor with a list of PointType
|
Modifier and Type | Method and Description |
---|---|
PointSetShapeType |
copy()
Copy a PointSetShapeType
|
int |
getDegree()
Gets the value of the property degree.
|
InterpolationMethodType |
getInterpolationMethod()
Gets the value of the property interpolationMethod.
|
float |
getMembershipDegree(float x)
Get membership degree value.
|
java.util.List<PointType> |
getPoints()
Gets the value of the point property.
|
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 |
setDegree(java.lang.Integer value)
Sets the value of the property degree.
|
void |
setInterpolationMethod(InterpolationMethodType value)
Sets the value of the property interpolationMethod.
|
java.lang.String |
toString() |
getDomainLeft, getDomainRight, getName, getParameter, setDomainLeft, setDomainRight, setParameter
public PointSetShapeType()
public PointSetShapeType(float domainLeft, float domainRight)
domainLeft
- left domaindomainRight
- right domainpublic PointSetShapeType(float domainLeft, float domainRight, java.util.List<PointType> points)
domainLeft
- left domaindomainRight
- right domainpoints
- list of PointTypepublic PointSetShapeType(java.util.List<PointType> points)
points
- a list of PointTypepublic java.util.List<PointType> getPoints()
Objects of the following type(s) are allowed in the list
PointType
public InterpolationMethodType getInterpolationMethod()
InterpolationMethodType
public void setInterpolationMethod(InterpolationMethodType value)
value
- allowed object is
InterpolationMethodType
public int getDegree()
Integer
public void setDegree(java.lang.Integer value)
value
- allowed object is
Integer
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
public PointSetShapeType copy()