|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAssignmentsWithCredibilitiesRead
A read-only interface for a set of assignments where one assignment is a mapping of an alternative to a set of categories with associated credibilities, meaning that each category to which an alternative is mapped has an associated degree of credibility (a real number greater than zero) indicating how strong the alternative belongs to that category. An alternative is said to be assigned if it is assigned to at least one category (i.e. the set of categories to which it is mapped may not be empty).
Credibility degrees are required to be greater than zero, but no constraint is set on their sum. In particular, they do not have to all sum to one. This permits to have different sum of degrees to different assignments, which allows all assigned alternative to not necessarily have the same sum of credibility (and hence to compare their sums, e.g.).
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Indicates whether the given object is equal to this one. |
Map<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. |
| Methods inherited from interface org.decisiondeck.jmcda.structure.sorting.assignment.IAssignmentsToMultipleRead |
|---|
getAlternatives, getAlternatives, getCategories, getCategories |
| Method Detail |
|---|
Map<Category,Double> getCredibilities(Alternative alternative)
null
keys or values and only values greater than zero.
alternative - 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.
IOrderedAssignmentsToMultipleRead, this is true
iff the given object is a IAssignmentsWithCredibilitiesRead, does not implement the mentioned interface either,
and contains the same alternatives assigned to the same categories with the same credibilities and the same set
of overall categories as this object.IAssignmentsWithCredibilitiesRead, this method returns
false.
equals in interface IAssignmentsToMultipleReadequals 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 | |||||||||