|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.decisiondeck.jmcda.services.sorting.assignments.CredibilitiesHelper
public class CredibilitiesHelper
Computes statistics pertaining to an IOrderedAssignmentsWithCredibilitiesRead object.
| Constructor Summary | |
|---|---|
CredibilitiesHelper()
|
|
| Method Summary | |
|---|---|
boolean |
computed()
|
void |
computeStatistics(IOrderedAssignmentsWithCredibilitiesRead assignments)
Computes the statistics: finds the maximal credibility value; the maximal sum on the set of assigned alternatives; the minimal difference between two credibility values. |
double |
getMaxSum()
Statistics must have been computed. |
double |
getMaxValue()
Statistics must have been computed. |
Double |
getMinDiff()
Statistics must have been computed. |
double |
getMinMaxValue()
|
double |
getMinSum()
Statistics must have been computed. |
double |
getMinValue()
Statistics must have been computed. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CredibilitiesHelper()
| Method Detail |
|---|
public double getMaxSum()
Statistics must have been computed.
Retrieves the greatest sum of credibilities over the set of assigned alternatives.
public double getMaxValue()
Statistics must have been computed.
Retrieves the maximal credibility value found.
public Double getMinDiff()
Statistics must have been computed.
Retrieves the minimal difference between two credibility values.
null iff all credibility values are equal.public void computeStatistics(IOrderedAssignmentsWithCredibilitiesRead assignments)
assignments - not null, must contain at least one assignment.public double getMinMaxValue()
public boolean computed()
true iff the statistics have been computed.public double getMinSum()
Statistics must have been computed.
Retrieves the smallest sum of credibilities over the set of assigned alternatives.
public double getMinValue()
Statistics must have been computed.
Retrieves the minimal credibility value found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||