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