Package info.debatty.java.aggregation
Class WOWA
- java.lang.Object
-
- info.debatty.java.aggregation.WOWA
-
- All Implemented Interfaces:
AggregatorInterface
public class WOWA extends java.lang.Object implements AggregatorInterface
Implementation of the WOWA operator as described in: V. Torra, The Weighted OWA operator, Int. J. of Intel. Systems, 12 (1997) 153-166. And using the interpolation method described in: V. Torra, The WOWA operator and the interpolation function W*: Chen and Otto's interpolation method revisited, Fuzzy Sets and Systems, 113:3 (2000) 389-396. Original code by Vicenc Torra. http://www.mdai.cat/ifao/wowa.php- Author:
- Thibault Debatty
-
-
Constructor Summary
Constructors Constructor Description WOWA(double[] weights, double[] ordered_weights)Initialize with provided weights and ordered weights.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleaggregate(double[] values)Aggregate the provided values.protected doublearraySum(double[] values)Method to sum the elements in an double array.
-
-
-
Method Detail
-
aggregate
public final double aggregate(double[] values)
Description copied from interface:AggregatorInterfaceAggregate the provided values.- Specified by:
aggregatein interfaceAggregatorInterface- Returns:
-
arraySum
protected final double arraySum(double[] values)
Method to sum the elements in an double array. Used to check if the sum of vector's elements is equal to 1.0.- Parameters:
values-- Returns:
-
-