|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.decisiondeck.jmcda.services.sorting.SortingFull
public class SortingFull
| Constructor Summary | |
|---|---|
SortingFull()
|
|
| Method Summary | |
|---|---|
IOrderedAssignmentsToMultipleRead |
assign(SortingMode mode,
ISortingPreferences problem)
Computes the assignment of the real alternatives contained in the data, using the given given data, into the given categories. |
IOrderedAssignmentsToMultiple |
both(ISortingPreferences data)
Computes the pessimistic and optimistic assignment of the real alternatives contained in the data, using the given data, into the given categories. |
Double |
getSmallestSep()
Retrieves the smallest difference, in absolute value, between the majority threshold and any outranking value. |
double |
getTolerance()
|
boolean |
isSharpVetoes()
|
IOrderedAssignments |
optimistic(ISortingPreferences data)
Computes the optimistic assignment of the real alternatives contained in the data, using the given data, into the given categories. |
IOrderedAssignments |
pessimistic(ISortingPreferences problem)
Computes the pessimistic assignment of the real alternatives contained in the data, using the given data, into the given categories. |
Map<DecisionMaker,IOrderedAssignments> |
pessimisticAll(IGroupSortingPreferences problem,
Map<DecisionMaker,Set<Alternative>> alternatives)
|
static void |
pessimisticInto(Map<DecisionMaker,Set<Alternative>> alternatives,
IGroupSortingResults results)
|
void |
setSharpVetoes(boolean sharpVetoes)
|
void |
setTolerance(double tolerance)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortingFull()
| Method Detail |
|---|
public boolean isSharpVetoes()
public void setSharpVetoes(boolean sharpVetoes)
public IOrderedAssignments optimistic(ISortingPreferences data)
throws InvalidInputException
Computes the optimistic assignment of the real alternatives contained in the data, using the given data, into the given categories. Each alternative is assigned to the lowest category such that the alternative does not outrank the up profile corresponding to that category and the profile outranks the alternative.
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. Missing thresholds are accepted. Categories must be complete.
data - not null.
null.
InvalidInputException - if the input is not valid.
public IOrderedAssignmentsToMultiple both(ISortingPreferences data)
throws InvalidInputException
Computes the pessimistic and optimistic assignment of the real alternatives contained in the data, using the given data, into the given categories. Each alternative is assigned to all categories between its pessimistic assignment and optimistic assignment.
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. Missing thresholds are accepted. Categories must be complete.
data - not null.
null.
InvalidInputException - if the input is not valid.
public IOrderedAssignments pessimistic(ISortingPreferences problem)
throws InvalidInputException
Computes the pessimistic assignment of the real alternatives contained in the data, using the given data, into the given categories. Each alternative is assigned to the highest category such that the alternative outranks the profile corresponding to that category.
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. Missing thresholds are accepted. Categories must be complete.
problem - not null.
null.
InvalidInputException - if the input is not valid.
public IOrderedAssignmentsToMultipleRead assign(SortingMode mode,
ISortingPreferences problem)
throws InvalidInputException
Computes the assignment of the real alternatives contained in the data, using the given given data, into the given categories.
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. Missing thresholds are accepted. Categories must be complete.
If the sorting mode is BOTH, the returned object implements IOrderedAssignmentsToMultiple, otherwise, it
implements IOrderedAssignments.
mode - not null.problem - not null.
null.
InvalidInputException - if the input is not valid.public Double getSmallestSep()
null if no sorting computation has been asked or no values were found when asked for one
(because of an empty set of alternatives).public double getTolerance()
public void setTolerance(double tolerance)
public static void pessimisticInto(Map<DecisionMaker,Set<Alternative>> alternatives,
IGroupSortingResults results)
throws InvalidInputException
InvalidInputException
public Map<DecisionMaker,IOrderedAssignments> pessimisticAll(IGroupSortingPreferences problem,
Map<DecisionMaker,Set<Alternative>> alternatives)
throws InvalidInputException
InvalidInputException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||