public class SScRankingErrorCalculator
extends java.lang.Object
correct pairwise comparisons
).
The ranking is considered to be a weak order.Constructor | Description |
---|---|
SScRankingErrorCalculator() |
Sole constructor
|
Modifier and Type | Method | Description |
---|---|---|
double |
calculateRankingError(SScPairwiseComparisons correctPairwiseComparisons,
SimpleRanking ranking) |
Calculates error of given linear ranking (weak order) with respect to given set of correct pairwise comparisons.
|
double |
calculateRankingError(SScPairwiseComparisons correctPairwiseComparisons,
SimpleRanking ranking,
PairOfIndices[] pairsThatCannotBePreservedInNonOutrankingRelation) |
Calculates error of given linear ranking (weak order) with respect to given set of correct pairwise comparisons.
|
public double calculateRankingError(SScPairwiseComparisons correctPairwiseComparisons, SimpleRanking ranking)
correctPairwiseComparisons
- set of correct pairwise comparisonsranking
- ranking of objectspublic double calculateRankingError(SScPairwiseComparisons correctPairwiseComparisons, SimpleRanking ranking, PairOfIndices[] pairsThatCannotBePreservedInNonOutrankingRelation)
correctPairwiseComparisons
- set of correct pairwise comparisonsranking
- ranking of objectspairsThatCannotBePreservedInNonOutrankingRelation
- array storing pairs of objects' indices for pairs of objects
that cannot be assigned to inverse preference relation (in a weak order, for a given ordered pair of objects, only the assignment of this pair of objects to the inverse preference relation P^-1
is compatible with the input assignment of this pair of objects to the non-outranking relation S^c).
This is because in each such pair, the first object dominates the second one. This array is not used if it is null
or empty.