|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOrderedAssignmentsWithCredibilitiesRead
Equivalent to IAssignmentsWithCredibilitiesRead to use when the categories the alternatives are assigned to
are provided with a total ordering, thus can be sorted from worst to best without ex-æquo.
An assignments to multiple categories with credibilities object equals an other one iff they contain the same alternatives assigned to the same categories with the same credibilities and contain the same set of overall categories in the same order.
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Indicates whether the given object is equal to this one. |
NavigableMap<Category,Double> |
getCredibilities(Alternative alternative)
Retrieves a (possibly read-only) copy of the categories an alternative is assigned to together with their associated credibility degrees, ordered from the worst category to the best category the given alternative is assigned to. |
| Methods inherited from interface org.decisiondeck.jmcda.structure.sorting.assignment.IOrderedAssignmentsToMultipleRead |
|---|
getCategories, getCategories |
| Methods inherited from interface org.decisiondeck.jmcda.structure.sorting.assignment.IAssignmentsToMultipleRead |
|---|
getAlternatives, getAlternatives |
| Method Detail |
|---|
NavigableMap<Category,Double> getCredibilities(Alternative alternative)
Retrieves a (possibly read-only) copy of the categories an alternative is assigned to together with their
associated credibility degrees, ordered from the worst category to the best category the given alternative is
assigned to. That ordering relates to the preference order on the categories and not to the degrees of
credibilities, i.e. it is usually not ordered by degree of credibility. The order is compatible with the ordering
given by IAssignmentsToMultipleRead.getCategories().
getCredibilities in interface IAssignmentsWithCredibilitiesReadalternative - not null.
null iff the given alternative is not assigned, otherwise, a map containing at least one
entry.boolean equals(Object obj)
Indicates whether the given object is equal to this one. This is true iff the given object is a
IOrderedAssignmentsWithCredibilitiesRead, contains the same alternatives assigned to the same categories with the
same credibilities, and contains the same set of overall categories as this object in the same order.
equals in interface IAssignmentsToMultipleReadequals in interface IAssignmentsWithCredibilitiesReadequals in interface IOrderedAssignmentsToMultipleReadequals in class Objectobj - may be null.
true iff both objects are considered equal.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||