Package libai.fuzzy
Class Antecedent
- java.lang.Object
-
- libai.fuzzy.Antecedent
-
- All Implemented Interfaces:
XMLSerializer
public class Antecedent extends java.lang.Object implements XMLSerializer
Created by kronenthaler on 30/04/2017.
-
-
Constructor Summary
Constructors Constructor Description Antecedent(Clause... clauses)
Antecedent(org.w3c.dom.Node xmlNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
activate(java.util.Map<java.lang.String,java.lang.Double> variables, KnowledgeBase knowledgeBase, Operator connector)
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
-
Antecedent
public Antecedent(org.w3c.dom.Node xmlNode)
-
Antecedent
public Antecedent(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.
-
activate
public double activate(java.util.Map<java.lang.String,java.lang.Double> variables, KnowledgeBase knowledgeBase, Operator connector)
-
-