 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
83 ConstROEdgeVector::const_iterator start,
84 ConstROEdgeVector::const_iterator end);
bool noMandatory(const ConstROEdgeVector &mandatory, ConstROEdgeVector::const_iterator start, ConstROEdgeVector::const_iterator end)
A vehicle as used by router.
SUMOTime getDepart() const
Returns the time the vehicle starts at, -1 for triggered vehicles.
Some helping methods for router.
const std::string & getID() const
Returns the id of the routable.
A function for sorting vehicles by their departure time.
bool operator()(ROVehicle *veh1, ROVehicle *veh2) const
Comparing operator.
ROVehicleByDepartureComperator()
Constructor.
std::vector< const ROEdge * > ConstROEdgeVector
~ROVehicleByDepartureComperator()
Destructor.
void recheckForLoops(ConstROEdgeVector &edges, const ConstROEdgeVector &mandatory)
Checks whether the given edge list contains loops and removes them.