|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.uni_paderborn.robots.robot.group10.Map.DijDistanceComparator
Implements an order for MapItems based on their BfsDistance.
Used by Map.performDij()
| Constructor Summary | |
protected |
Map.DijDistanceComparator()
|
| Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares the two objects which must be MapItems |
| Methods inherited from class java.lang.Object |
|
| Methods inherited from interface java.util.Comparator |
equals |
| Constructor Detail |
protected Map.DijDistanceComparator()
| Method Detail |
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparatoro1 - a reference to the fist MapItemo2 - a reference to the second MapItem
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||