|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJaCoP.set.search.MaxLubCard<T>
T - public class MaxLubCard<T extends SetVar>
Defines a maximum cardinality, of the least upper bound, variable comparator. The variable with the maximum cardinality for the least upper bound has the priority.
| Constructor Summary | |
|---|---|
MaxLubCard()
It constructs a maximum cardinality, of the least upper bound, variable comparator. |
|
| Method Summary | |
|---|---|
int |
compare(float left,
T var)
Compares the cardinality of the variables lub to the float value. |
int |
compare(T leftVar,
T rightVar)
Compares the cardinality of the variables lubs. |
float |
metric(T var)
Returns the cardinality of the lub. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MaxLubCard()
| Method Detail |
|---|
public int compare(float left,
T var)
compare in interface ComparatorVariable<T extends SetVar>left - the baseline for comparison.var - variable which is compared to baseline.
public int compare(T leftVar,
T rightVar)
compare in interface ComparatorVariable<T extends SetVar>leftVar - left variablerightVar - right variable
public float metric(T var)
metric in interface ComparatorVariable<T extends SetVar>var - variable for which metric is computed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||