Package libai.fuzzy
Class Consequent
- java.lang.Object
-
- libai.fuzzy.Consequent
-
- All Implemented Interfaces:
java.lang.Iterable<Clause>
,XMLSerializer
public class Consequent extends java.lang.Object implements XMLSerializer, java.lang.Iterable<Clause>
Created by kronenthaler on 30/04/2017.
-
-
Constructor Summary
Constructors Constructor Description Consequent(Clause... clauses)
Consequent(org.w3c.dom.Node xmlNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<Clause>
iterator()
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.
-
-
-
Constructor Detail
-
Consequent
public Consequent(org.w3c.dom.Node xmlNode)
-
Consequent
public Consequent(Clause... clauses)
-
-
Method Detail
-
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.
-
-