ObjectiveComparator(int objective)
Constructs a comparator for comparing solutions using the value of the
specified objective.
Method Summary
int
compare(Solution solution1,
Solution solution2)
Compares the two solutions using a dominance relation, returning
-1 if solution1 dominates solution2, 1 if
solution2 dominates solution1, and 0 if the
solutions are non-dominated.
Compares the two solutions using a dominance relation, returning
-1 if solution1 dominates solution2, 1 if
solution2 dominates solution1, and 0 if the
solutions are non-dominated.