 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef SUMO_NBPTLINECONT_H
18 #define SUMO_NBPTLINECONT_H
38 const std::map<std::string, NBPTLine*>&
getLines()
const {
73 static std::string
getWayID(
const std::string& edgeID);
77 #endif //SUMO_NBPTLINECONT_H
Storage for edges, including some functionality operating on multiple edges.
void constructRoute(NBPTLine *myPTLine, NBEdgeCont &cont)
void process(NBEdgeCont &ec, NBPTStopCont &sc)
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
NBPTStop * findWay(NBPTLine *line, NBPTStop *stop, const NBEdgeCont &ec, NBPTStopCont &sc) const
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
A vehicle as used by router.
A storage for options typed value containers)
void reviseStops(NBPTLine *line, const NBEdgeCont &ec, NBPTStopCont &sc)
find directional edge for all stops of the line
std::map< std::string, NBPTLine * > myPTLines
The map of names to pt lines.
The representation of a single pt stop.
static std::string getWayID(const std::string &edgeID)