|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJaCoP.set.search.MinGlbCard<T>
T - public class MinGlbCard<T extends SetVar>
Defines a minimum cardinality, of the greatest lowest bound, variable comparator. The variable with the minimum cardinality for the greatest lower bound has the priority.
| Constructor Summary | |
|---|---|
MinGlbCard()
It constructs a minimum cardinality, of the greatest lowest bound, variable comparator. |
|
| Method Summary | |
|---|---|
int |
compare(float left,
T var)
Compares the cardinality of the variables glb to the float value. |
int |
compare(T leftVar,
T rightVar)
Compares the cardinality of the variables glbs. |
float |
metric(T var)
Returns the cardinality of the glb. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MinGlbCard()
| 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 | ||||||||