net.sourceforge.jFuzzyLogic.ruleAggregation
Class RuleAggregationMethod

java.lang.Object
  extended by net.sourceforge.jFuzzyLogic.ruleAggregation.RuleAggregationMethod
Direct Known Subclasses:
RuleAggregationMethodBoundedSum, RuleAggregationMethodMax, RuleAggregationMethodProbOr, RuleAggregationMethodSum, RuleAggregationMethoNormedSum

public abstract class RuleAggregationMethod
extends java.lang.Object

Rule aggregation base method

Author:
pcingola@users.sourceforge.net

Field Summary
(package private)  java.lang.String name
           
 
Constructor Summary
RuleAggregationMethod()
           
 
Method Summary
abstract  double aggregate(double defuzzifierValue, double valueToAggregate)
          Aggregate a 'valueToAggregate' to a 'defuzzifierVale'
 java.lang.String getName()
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
abstract  java.lang.String toStringFCL()
          FCL string to represent this agrregation method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

java.lang.String name
Constructor Detail

RuleAggregationMethod

public RuleAggregationMethod()
Method Detail

aggregate

public abstract double aggregate(double defuzzifierValue,
                                 double valueToAggregate)
Aggregate a 'valueToAggregate' to a 'defuzzifierVale'

Parameters:
defuzzifierValue - : defuzzifier's current value
valueToAggregate - : value to aggregate
Returns:
new defuzzifier's value

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toStringFCL

public abstract java.lang.String toStringFCL()
FCL string to represent this agrregation method