net.sourceforge.jFuzzyLogic.ruleAggregation
Class RuleAggregationMethod
java.lang.Object
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
|
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 |
name
java.lang.String name
RuleAggregationMethod
public RuleAggregationMethod()
aggregate
public abstract double aggregate(double defuzzifierValue,
double valueToAggregate)
- Aggregate a 'valueToAggregate' to a 'defuzzifierVale'
- Parameters:
defuzzifierValue
- : defuzzifier's current valuevalueToAggregate
- : 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