#include <NBOwnTLDef.h>
Definition at line 188 of file NBOwnTLDef.h.
Public Member Functions | |
| int | operator() (const NBEdge *const e1, const NBEdge *const e2) const |
| comparing operator | |
| int NBOwnTLDef::edge_by_incoming_priority_sorter::operator() | ( | const NBEdge *const | e1, | |
| const NBEdge *const | e2 | |||
| ) | const [inline] |
comparing operator
| [in] | e1 | an edge |
| [in] | e2 | an edge |
Definition at line 194 of file NBOwnTLDef.h.
References NBEdge::getID(), NBEdge::getJunctionPriority(), and NBEdge::getToNode().
00194 { 00195 if (e1->getJunctionPriority(e1->getToNode())!=e2->getJunctionPriority(e2->getToNode())) { 00196 return e1->getJunctionPriority(e1->getToNode())> e2->getJunctionPriority(e2->getToNode()); 00197 } 00198 return e1->getID() > e2->getID(); 00199 }
1.5.6