|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - Variable type being compared.public interface ComparatorVariable<T extends Var>
Defines an interface for comparing variables.
| Method Summary | |
|---|---|
int |
compare(float metric,
T var)
It compares the baseline metric to the variable metric. |
int |
compare(T leftVar,
T rightVar)
It compares the metric of the left variable against the right one. |
float |
metric(T var)
It returns the metric of the variable given according to the comparator. |
| Method Detail |
|---|
int compare(float metric,
T var)
metric - the baseline for comparison.var - variable which is compared to baseline.
int compare(T leftVar,
T rightVar)
leftVar - left variablerightVar - right variable
float metric(T var)
var - variable for which metric is computed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||