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
PTStopsCont myPTStops
The map of names to pt stops.
void addEdges2Keep(const OptionsCont &oc, std::set< std::string > &into)
add edges that must be kept
int generateBidiStops(NBEdgeCont &cont)
duplicate stops for superposed rail edges and return the number of generated stops ...
void assignPTStopToEdgeOfClosestPlatform(NBPTStop *pStop, NBEdgeCont &cont)
void postprocess(std::set< std::string > &usedStops)
The representation of a single edge during network building.
const NBPTPlatform * getClosestPlatformToPTStopPosition(NBPTStop *pStop)
NBPTStop * assignAndCreatNewPTStopAsNeeded(NBPTStop *pStop, NBEdgeCont &cont)
static std::string getReverseID(const std::string &id)
void findAccessEdgesForRailStops(NBEdgeCont &cont, double maxRadius, int maxCount, double accessFactor)
The representation of a single pt stop.
std::map< std::string, NBPTStop * > PTStopsCont
Definition of the map of names to pt stops.
double computeCrossProductEdgePosition(const NBEdge *edge, const Position &closestPlatform) const
void localizePTStops(NBEdgeCont &cont)
void assignLanes(NBEdgeCont &cont)
std::map< std::string, NBPTStop * >::const_iterator begin() const
Returns the pointer to the begin of the stored pt stops.
A point in 2D or 3D with translation and scaling methods.
Storage for edges, including some functionality operating on multiple edges.
void cleanupDeleted(NBEdgeCont &cont)
remove stops on non existing (removed) edges
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
A storage for options typed value containers)
NBPTStop * getReverseStop(NBPTStop *pStop, NBEdgeCont &cont)
bool insert(NBPTStop *ptStop)
Inserts a node into the map.
static NBEdge * getReverseEdge(NBEdge *edge)
int size() const
Returns the number of pt stops stored in this container.