 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef SUMO_NBPTLINECONT_H
19 #define SUMO_NBPTLINECONT_H
39 const std::map<std::string, NBPTLine*>&
getLines()
const {
70 #endif //SUMO_NBPTLINECONT_H
void process(NBEdgeCont &cont)
Storage for edges, including some functionality operating on multiple edges.
void constructRoute(NBPTLine *myPTLine, NBEdgeCont &cont)
void insert(NBPTLine *ptLine)
insert new line
std::set< std::string > myServedPTStops
NBPTLineCont()
constructor
void fixBidiStops(const NBEdgeCont &ec)
select the correct stop on superposed rail edges
~NBPTLineCont()
destructor
static double getCost(const NBEdgeCont &ec, SUMOAbstractRouter< NBRouterEdge, NBVehicle > &router, const NBPTStop *from, const NBPTStop *to, const NBVehicle *veh)
std::set< std::string > & getServedPTStops()
void addEdges2Keep(const OptionsCont &oc, std::set< std::string > &into)
add edges that must be kept
const std::map< std::string, NBPTLine * > & getLines() const
void reviseStops(NBPTLine *myPTLine, NBEdgeCont &cont)
A vehicle as used by router.
A storage for options typed value containers)
std::map< std::string, NBPTLine * > myPTLines
The map of names to pt lines.
The representation of a single pt stop.