#include <DijkstraRouterTT.h>
Definition at line 105 of file DijkstraRouterTT.h.
Public Member Functions | |
| bool | operator() (const EdgeInfo *nod1, const EdgeInfo *nod2) const |
| Comparing method. | |
| bool DijkstraRouterTTBase< E, V, PF >::EdgeInfoByTTComparator::operator() | ( | const EdgeInfo * | nod1, | |
| const EdgeInfo * | nod2 | |||
| ) | const [inline] |
Comparing method.
Definition at line 108 of file DijkstraRouterTT.h.
References DijkstraRouterTTBase< E, V, PF >::EdgeInfo::edge, and DijkstraRouterTTBase< E, V, PF >::EdgeInfo::traveltime.
00108 { 00109 if (nod1->traveltime == nod2->traveltime) { 00110 return nod1->edge->getNumericalID() > nod2->edge->getNumericalID(); 00111 } 00112 return nod1->traveltime>nod2->traveltime; 00113 }
1.5.6