|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdata.DataPointComparer
public class DataPointComparer
One way of comparing DataPoints: This implementation assumes that
the first output of a DataPoint corresponds to an problem
objective and the other outputs correspond to constraint violations. Data
points are then ordered as follows: any feasible point is better than any
infeasible point. Among infeasible points, points are ordered by maximum
constraint violation, and among feasible points, by objective value.
| Constructor Summary | |
|---|---|
DataPointComparer()
|
|
| Method Summary | |
|---|---|
int |
compare(DataPoint point1,
DataPoint point2)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public DataPointComparer()
| Method Detail |
|---|
public int compare(DataPoint point1,
DataPoint point2)
compare in interface java.util.Comparator<DataPoint>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||