org.decisiondeck.jmcda.services.outranking
Class OutrankingFull
java.lang.Object
org.decisiondeck.jmcda.services.outranking.OutrankingFull
public class OutrankingFull
- extends Object
OutrankingFull
public OutrankingFull()
getOutranking
public IAltZeroToOneMatrix getOutranking(IProblemData data,
ICriteriaWithThresholds thresholds,
ICoalitions coalitions)
throws InvalidInputException
Computes an outranking relation as in electre methods. The returned matrix is fuzzy iff the concordance or
discordance relation is fuzzy and no cutting threshold is given.
For the input to be valid, the weights must be all provided, all evaluations must be provided, all criteria must
have preference directions, the set of criteria on which thresholds are defined must be in the set of criteria,
the preference threshold must be greater or equal to the indifference threshold for each criteria, the veto
thresholds must be strictly greater than the preference threshold for each criteria. Otherwise, an
InvalidInputException is thrown.
- Parameters:
data - not null.thresholds - the thresholds to use (missing thresholds are accepted). Not null.coalitions - not null.
- Returns:
- not
null.
- Throws:
InvalidInputException - iff the input is not valid.
isSharpVetoes
public boolean isSharpVetoes()
setSharpVetoes
public void setSharpVetoes(boolean sharpVetoes)
getSmallestSep
public Double getSmallestSep()
- Retrieves the smallest difference, in absolute value, between the majority threshold and any outranking value,
and between any veto threshold and any difference of performance over the computed values, if sharp vetoes are to
be used. Useful to check for possible numerical errors. The number is positive or nul. If using sharp vetoes, it
represents the largest quantity that may be added or substracted from the majority threshold and all veto
thresholds without changing the outranking relation.
- Returns:
null if no outranking computation has been asked or no values were found when asked for an
outranking (because of an empty set of alternatives).
getTolerance
public double getTolerance()
setTolerance
public void setTolerance(double tolerance)
Copyright © 2011. All Rights Reserved.