Overview | Group | Tree | Graph | Index | Concepts |
A composite comparator is a comparator that relies on a list of
subordinate comparators (for example, a lexicographical or a Pareto
comparator). The member function add
allows you to add a
new subordinate comparator to this list.
For more information, see Selectors.
See Also:
IloParetoComparator, IloLexicographicComparator
Method Summary | |
---|---|
public void | add(IloComparator< IloObject > comparator) |
Inherited Methods from IloComparator |
---|
isBetterOrEqual, isBetterThan, isEqual, isWorseOrEqual, isWorseThan, makeInverse, operator() |
Method Detail |
---|
This member function adds a new comparator comparator
to the end of the list of comparators of
the composite comparator.