55 std::map<std::string, NBPTStop*>::const_iterator
begin()
const {
62 std::map<std::string, NBPTStop*>::const_iterator
end()
const {
66 const std::map<std::string, NBPTStop*>&
getStops()
const {
std::vector< NBEdge * > EdgeVector
container for (sorted) edges
Storage for edges, including some functionality operating on multiple edges.
The representation of a single edge during network building.
bool insert(NBPTStop *ptStop, bool floating=false)
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
static std::set< std::string > myIgnoredStops
static NBEdge * getReverseEdge(NBEdge *edge)
double computeCrossProductEdgePosition(const NBEdge *edge, const Position &closestPlatform) const
void postprocess(std::set< std::string > &usedStops)
static void addIgnored(const std::string &stopID)
std::map< std::string, std::vector< NBPTStop * > > myPTStopLookup
The map of edge ids to stops.
NBPTStop * findStop(const std::string &origEdgeID, Position pos, double threshold=1) const
void replaceEdge(const std::string &edgeID, const EdgeVector &replacement)
replace the edge with the closes edge on the given edge list in all stops
std::map< std::string, NBPTStop * >::const_iterator begin() const
Returns the pointer to the begin of the stored pt stops.
void addEdges2Keep(const OptionsCont &oc, std::set< std::string > &into)
add edges that must be kept
std::map< std::string, NBPTStop * > PTStopsCont
Definition of the map of names to pt stops.
std::map< std::string, NBPTStop * >::const_iterator end() const
Returns the pointer to the end of the stored pt stops.
NBPTStop * get(std::string id) const
Retrieve a previously inserted pt stop.
int size() const
Returns the number of pt stops stored in this container.
PTStopsCont myPTStops
The map of names to pt stops.
NBPTStop * getReverseStop(NBPTStop *pStop, const NBEdgeCont &ec)
const std::map< std::string, NBPTStop * > & getStops() const
const NBPTPlatform * getClosestPlatformToPTStopPosition(NBPTStop *pStop)
void localizePTStops(NBEdgeCont &cont)
static bool wasIgnored(const std::string &stopID)
void assignEdgeForFloatingStops(NBEdgeCont &cont, double maxRadius)
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::vector< NBPTStop * > myFloatingStops
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.