protected class GridSearch.PerformanceComparator extends Object implements Comparator<GridSearch.Performance>, Serializable, RevisionHandler
GridSearch.Performance,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected int |
m_Evaluation
the performance measure to use for comparison
|
| Constructor and Description |
|---|
PerformanceComparator(int evaluation)
initializes the comparator with the given performance measure
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(GridSearch.Performance o1,
GridSearch.Performance o2)
Compares its two arguments for order.
|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this Comparator.
|
int |
getEvaluation()
returns the performance measure that's used to compare the objects
|
String |
getRevision()
Returns the revision string.
|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprotected int m_Evaluation
GridSearch.TAGS_EVALUATIONpublic PerformanceComparator(int evaluation)
evaluation - the performance measure to useGridSearch.TAGS_EVALUATIONpublic int getEvaluation()
GridSearch.TAGS_EVALUATIONpublic int compare(GridSearch.Performance o1, GridSearch.Performance o2)
compare in interface Comparator<GridSearch.Performance>o1 - the first performanceo2 - the second performancepublic boolean equals(Object obj)
equals in interface Comparator<GridSearch.Performance>equals in class Objectobj - the object to compare withpublic String getRevision()
getRevision in interface RevisionHandlerCopyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.