 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef SUMO_NBPTSTOPCONT_H
19 #define SUMO_NBPTSTOPCONT_H
51 std::map<std::string, NBPTStop*>::const_iterator
begin()
const {
58 std::map<std::string, NBPTStop*>::const_iterator
end()
const {
62 const std::map<std::string, NBPTStop*>&
getStops()
const {
111 #endif //SUMO_NBPTSTOPCONT_H
Storage for edges, including some functionality operating on multiple edges.
void localizePTStops(NBEdgeCont &cont)
void addEdges2Keep(const OptionsCont &oc, std::set< std::string > &into)
add edges that must be kept
std::map< std::string, NBPTStop * >::const_iterator begin() const
Returns the pointer to the begin of the stored pt stops.
void cleanupDeleted(NBEdgeCont &cont)
remove stops on non existing (removed) edges
static NBEdge * getReverseEdge(NBEdge *edge)
double computeCrossProductEdgePosition(const NBEdge *edge, const Position &closestPlatform) const
The representation of a single edge during network building.
NBPTStop * assignAndCreatNewPTStopAsNeeded(NBPTStop *pStop, NBEdgeCont &cont)
A point in 2D or 3D with translation and scaling methods.
A storage for options typed value containers)
int size() const
Returns the number of pt stops stored in this container.
NBPTStop * getReverseStop(NBPTStop *pStop, NBEdgeCont &cont)
std::map< std::string, NBPTStop * >::const_iterator end() const
Returns the pointer to the end of the stored pt stops.
const std::map< std::string, NBPTStop * > & getStops() const
std::map< std::string, NBPTStop * > PTStopsCont
Definition of the map of names to pt stops.
PTStopsCont myPTStops
The map of names to pt stops.
void assignPTStopToEdgeOfClosestPlatform(NBPTStop *pStop, NBEdgeCont &cont)
NBPTStop * get(std::string id)
Retrieve a previously inserted pt stop.
void assignLanes(NBEdgeCont &cont)
int generateBidiStops(NBEdgeCont &cont)
duplicate stops for superposed rail edges and return the number of generated stops
static std::string getReverseID(const std::string &id)
bool insert(NBPTStop *ptStop)
Inserts a node into the map.
void postprocess(std::set< std::string > &usedStops)
The representation of a single pt stop.
const NBPTPlatform * getClosestPlatformToPTStopPosition(NBPTStop *pStop)
void findAccessEdgesForRailStops(NBEdgeCont &cont, double maxRadius, int maxCount, double accessFactor)