Package libai.fuzzy
Class FuzzyTerm
- java.lang.Object
-
- libai.fuzzy.FuzzyTerm
-
- All Implemented Interfaces:
FuzzySet
,XMLSerializer
public class FuzzyTerm extends java.lang.Object implements FuzzySet, XMLSerializer
Created by kronenthaler on 23/04/2017.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
eval(double x)
Evaluate the membership of the set with the especified value.java.lang.String
getName()
void
load(org.w3c.dom.Node xmlNode)
Initializes the instance with the xml node information.java.lang.String
toXMLString(java.lang.String indent)
Returns the XML representation of this Fuzzy set according with the FML schema definition.
-
-
-
Method Detail
-
eval
public double eval(double x)
Description copied from interface:FuzzySet
Evaluate the membership of the set with the especified value.
-
toXMLString
public java.lang.String toXMLString(java.lang.String indent)
Description copied from interface:XMLSerializer
Returns the XML representation of this Fuzzy set according with the FML schema definition.- Specified by:
toXMLString
in interfaceXMLSerializer
- Returns:
- XML representation of this Fuzzy Set.
-
load
public void load(org.w3c.dom.Node xmlNode)
Description copied from interface:XMLSerializer
Initializes the instance with the xml node information.- Specified by:
load
in interfaceXMLSerializer
- Parameters:
xmlNode
- XML node with the information to load the current object with.
-
getName
public java.lang.String getName()
-
-