public class PointSetMonotonicShapeType extends MembershipFunction implements Monotonical
Java class for pointSetMonotonicShapeType complex type.
<complexType name="pointSetMonotonicShapeType"> <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}monotonicInterpolationMethodType" default="linear" /> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
PointSetMonotonicShapeType() |
PointSetMonotonicShapeType(float domainLeft,
float domainRight) |
PointSetMonotonicShapeType(float domainLeft,
float domainRight,
java.util.List<PointType> points) |
PointSetMonotonicShapeType(java.util.List<PointType> points) |
Modifier and Type | Method and Description |
---|---|
void |
addPoint(float x,
float y)
Add a point to the list
|
void |
addPoint(PointType p)
Add a point to the list
|
float |
getFi(float y)
This function returns the inverse value.
|
MonotonicInterpolationMethodType |
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
|
static void |
main(java.lang.String[] args)
For testing
|
void |
setInterpolationMethod(MonotonicInterpolationMethodType value)
Sets the value of the property interpolationMethod.
|
void |
setPoints(java.util.List<PointType> points)
Set points
|
java.lang.String |
toString() |
getDomainLeft, getDomainRight, getName, getParameter, setDomainLeft, setDomainRight, setParameter
public PointSetMonotonicShapeType()
public PointSetMonotonicShapeType(float domainLeft, float domainRight)
public PointSetMonotonicShapeType(float domainLeft, float domainRight, java.util.List<PointType> points)
public PointSetMonotonicShapeType(java.util.List<PointType> points)
public java.util.List<PointType> getPoints()
Objects of the following type(s) are allowed in the list
PointType
public void setPoints(java.util.List<PointType> points)
points
- public void addPoint(PointType p)
p
- public void addPoint(float x, float y)
p
- public MonotonicInterpolationMethodType getInterpolationMethod()
MonotonicInterpolationMethodType
public void setInterpolationMethod(MonotonicInterpolationMethodType value)
value
- allowed object is
MonotonicInterpolationMethodType
public float getMembershipDegree(float x)
MembershipFunction
getMembershipDegree
in class MembershipFunction
x
- : Variable's 'x' valuepublic java.lang.String toString()
toString
in class MembershipFunction
public float getFi(float y)
Monotonical
getFi
in interface Monotonical
public java.util.ArrayList<java.lang.Float> getXValuesDefuzzifier()
MembershipFunction
getXValuesDefuzzifier
in class MembershipFunction
public static void main(java.lang.String[] args)
args
-