Interface PreferenceAggregator<T>
-
- Type Parameters:
T
- generic preference order type
- All Known Implementing Classes:
BordaScoringPreferenceAggregator
,PluralityScoringPreferenceAggregator
,ScoringPreferenceAggregator
,VetoScoringPreferenceAggregator
public interface PreferenceAggregator<T>
This interface is meant to be used for the aggregation of some generic preference orders- Author:
- Bastian Wolf
-
-
Method Summary
Modifier and Type Method Description PreferenceOrder<T>
aggregate(java.util.List<PreferenceOrder<T>> input)
Abstract class for implementation of different aggregation and scoring methods
-
-
-
Method Detail
-
aggregate
PreferenceOrder<T> aggregate(java.util.List<PreferenceOrder<T>> input)
Abstract class for implementation of different aggregation and scoring methods- Parameters:
input
- the array of preference orders to be aggregated- Returns:
- the final result as a preference order
-
-