Class ScoringPreferenceAggregator<T>
java.lang.Object
org.tweetyproject.preferences.aggregation.ScoringPreferenceAggregator<T>
- Type Parameters:
T
- generic preference order type
- All Implemented Interfaces:
PreferenceAggregator<T>
- Direct Known Subclasses:
BordaScoringPreferenceAggregator
,PluralityScoringPreferenceAggregator
,VetoScoringPreferenceAggregator
public abstract class ScoringPreferenceAggregator<T>
extends Object
implements PreferenceAggregator<T>
This class extends the interface for preference aggregation with scoring
Scorings are implemented separately.
- Author:
- Bastian Wolf
-
Constructor Summary
ConstructorDescriptionConstructor with given weight vector -
Method Summary
Modifier and TypeMethodDescriptionaggregate
(List<PreferenceOrder<T>> input) Implementation of the aggregation of a given input-array of sets and a weight vector
-
Constructor Details
-
ScoringPreferenceAggregator
Constructor with given weight vector- Parameters:
v
- the weight vector
-
-
Method Details
-
aggregate
Implementation of the aggregation of a given input-array of sets and a weight vector- Specified by:
aggregate
in interfacePreferenceAggregator<T>
- Parameters:
input
- the array of preference orders to be aggregated- Returns:
- the final, aggregated preference order
-