T
- public abstract class ScoringPreferenceAggregator<T> extends java.lang.Object implements PreferenceAggregator<T>
Modifier and Type | Field and Description |
---|---|
private WeightVector |
v
The weight vector for the aggregator given via the constructor
|
Constructor and Description |
---|
ScoringPreferenceAggregator(WeightVector v)
Constructor with given weight vector
|
Modifier and Type | Method and Description |
---|---|
PreferenceOrder<T> |
aggregate(java.util.List<PreferenceOrder<T>> input)
Implementation of the aggregation of a given input-array of sets and a
weight vector
|
private WeightVector v
public ScoringPreferenceAggregator(WeightVector v)
v
- the weight vectorpublic PreferenceOrder<T> aggregate(java.util.List<PreferenceOrder<T>> input)
aggregate
in interface PreferenceAggregator<T>
input
- the array of preference orders to be aggregated