nrc.fuzzy
Class ProductAntecedentCombineOperator

java.lang.Object
  |
  +--nrc.fuzzy.AntecedentCombineOperator
        |
        +--nrc.fuzzy.ProductAntecedentCombineOperator
All Implemented Interfaces:
AntecedentCombineOperatorInterface, java.lang.Cloneable, java.io.Serializable

public class ProductAntecedentCombineOperator
extends AntecedentCombineOperator
implements java.io.Serializable

A class that provides a 'product' operator to combine the fuzzy match values of antecedent/input pairs in a rule when a rule is fired which has multiple antecedents.

See Also:
AntecedentCombineOperator, MinimumAntecedentCombineOperator, CompensatoryAndAntecedentCombineOperator, FuzzyRule, Serialized Form

Constructor Summary
ProductAntecedentCombineOperator()
           
 
Method Summary
 double execute(double[] matchValues)
          Implements the product of the match values in the double array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductAntecedentCombineOperator

public ProductAntecedentCombineOperator()
Method Detail

execute

public double execute(double[] matchValues)
Implements the product of the match values in the double array.

Specified by:
execute in interface AntecedentCombineOperatorInterface
Parameters:
matchValues -
Returns:
the product of values in the array parameter