|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbabase.ranker.MatrixScoreComparator
public class MatrixScoreComparator
Used in priority queues in order to make sure the removed individuals come out of the queue in order of the matrix score, with higher ranked individuals being removed first.
| Constructor Summary | |
|---|---|
MatrixScoreComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(Individual i1,
Individual i2)
|
| 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 MatrixScoreComparator()
| Method Detail |
|---|
public int compare(Individual i1,
Individual i2)
compare in interface java.util.Comparator<Individual>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||