Eclipse SUMO - Simulation of Urban MObility
|
A DFROUTER-network. More...
#include <RODFNet.h>
Data Structures | |
class | DFRouteDescByTimeComperator |
struct | idComp |
comparator for maps using edges as key, used only in myDetectorsOnEdges to make tests comparable More... | |
struct | IterationEdge |
Public Types | |
typedef std::map< const SUMOTime, std::vector< RORoutable * > > | RoutablesMap |
Public Member Functions | |
void | addRestriction (const std::string &id, const SUMOVehicleClass svc, const double speed) |
Adds a restriction for an edge type. | |
void | buildApproachList () |
void | buildDetectorDependencies (RODFDetectorCon &detectors) |
void | buildEdgeFlowMap (const RODFDetectorFlows &flows, const RODFDetectorCon &detectors, SUMOTime startTime, SUMOTime endTime, SUMOTime stepOffset) |
void | buildRoutes (RODFDetectorCon &det, bool keepUnfoundEnds, bool includeInBetween, bool keepShortestOnly, int maxFollowingLength) const |
void | computeTypes (RODFDetectorCon &dets, bool sourcesStrict) const |
double | getAbsPos (const RODFDetector &det) const |
double | getAvgSpeedFactorLKW () const |
double | getAvgSpeedFactorPKW () const |
const std::vector< std::string > & | getDetectorList (ROEdge *edge) const |
double | getMaxSpeedFactorLKW () const |
double | getMaxSpeedFactorPKW () const |
const std::map< SUMOVehicleClass, double > * | getRestrictions (const std::string &id) const |
Returns the restrictions for an edge type If no restrictions are present, 0 is returned. | |
bool | hasDetector (ROEdge *edge) const |
void | mesoJoin (RODFDetectorCon &detectors, RODFDetectorFlows &flows) |
void | removeEmptyDetectors (RODFDetectorCon &detectors, RODFDetectorFlows &flows) |
void | reportEmptyDetectors (RODFDetectorCon &detectors, RODFDetectorFlows &flows) |
void | revalidateFlows (const RODFDetectorCon &detectors, RODFDetectorFlows &flows, SUMOTime startTime, SUMOTime endTime, SUMOTime stepOffset) |
RODFNet (bool amInHighwayMode) | |
Constructor. | |
~RODFNet () | |
Destructor. | |
Insertion and retrieval of graph parts | |
virtual bool | addEdge (ROEdge *edge) |
bool | addDistrict (const std::string id, ROEdge *source, ROEdge *sink) |
bool | addDistrictEdge (const std::string tazID, const std::string edgeID, const bool isSource) |
void | addJunctionTaz (ROAbstractEdgeBuilder &eb) |
add a taz for every junction unless a taz with the same id already exists | |
void | setBidiEdges (const std::map< ROEdge *, std::string > &bidiMap) |
add a taz for every junction unless a taz with the same id already exists | |
const std::map< std::string, std::pair< std::vector< std::string >, std::vector< std::string > > > & | getDistricts () const |
Retrieves all TAZ (districts) from the network. | |
ROEdge * | getEdge (const std::string &name) const |
Retrieves an edge from the network. | |
ROEdge * | getEdgeForLaneID (const std::string &laneID) const |
Retrieves an edge from the network when the lane id is given. | |
ROLane * | getLane (const std::string &laneID) const |
Retrieves a lane rom the network given its id. | |
void | addNode (RONode *node) |
RONode * | getNode (const std::string &id) const |
Retrieves an node from the network. | |
void | addStoppingPlace (const std::string &id, const SumoXMLTag category, SUMOVehicleParameter::Stop *stop) |
const SUMOVehicleParameter::Stop * | getStoppingPlace (const std::string &id, const SumoXMLTag category) const |
Retrieves a stopping place from the network. | |
const std::string | getStoppingPlaceName (const std::string &id) const |
return the name for the given stopping place id | |
const std::string | getStoppingPlaceElement (const std::string &id) const |
return the element name for the given stopping place id | |
Insertion and retrieval of vehicle types, vehicles, routes, and route definitions | |
bool | checkVType (const std::string &id) |
Checks whether the vehicle type (distribution) may be added. | |
virtual bool | addVehicleType (SUMOVTypeParameter *type) |
Adds a read vehicle type definition to the network. | |
bool | addVTypeDistribution (const std::string &id, RandomDistributor< SUMOVTypeParameter * > *vehTypeDistribution) |
Adds a vehicle type distribution. | |
const RandomDistributor< SUMOVTypeParameter * > * | getVTypeDistribution (const std::string &id) |
Retrieves the named vehicle type distribution. | |
SUMOVTypeParameter * | getVehicleTypeSecure (const std::string &id) |
Retrieves the named vehicle type. | |
bool | addRouteDef (RORouteDef *def) |
RORouteDef * | getRouteDef (const std::string &name) const |
Returns the named route definition. | |
virtual bool | addVehicle (const std::string &id, ROVehicle *veh) |
bool | knowsVehicle (const std::string &id) const |
returns whether a vehicle with the given id was already loaded | |
SUMOTime | getDeparture (const std::string &vehID) const |
returns departure time for the given vehicle id | |
bool | addFlow (SUMOVehicleParameter *flow, const bool randomize) |
bool | addPerson (ROPerson *person) |
void | addContainer (const SUMOTime depart, const std::string desc) |
Static Public Member Functions | |
static RONet * | getInstance () |
Returns the pointer to the unique instance of RONet (singleton). | |
Protected Member Functions | |
void | buildDetectorEdgeDependencies (RODFDetectorCon &dets) const |
void | computeRoutesFor (ROEdge *edge, RODFRouteDesc &base, int no, bool keepUnfoundEnds, bool keepShortestOnly, ROEdgeVector &visited, const RODFDetector &det, RODFRouteCont &into, const RODFDetectorCon &detectors, int maxFollowingLength, ROEdgeVector &seen) const |
ROEdge * | getDetectorEdge (const RODFDetector &det) const |
bool | hasApproached (ROEdge *edge) const |
bool | hasApproaching (ROEdge *edge) const |
bool | hasInBetweenDetectorsOnly (ROEdge *edge, const RODFDetectorCon &detectors) const |
bool | hasSourceDetector (ROEdge *edge, const RODFDetectorCon &detectors) const |
bool | isAllowed (const ROEdge *const edge) const |
bool | isDestination (const RODFDetector &det, const RODFDetectorCon &detectors) const |
bool | isDestination (const RODFDetector &det, ROEdge *edge, ROEdgeVector &seen, const RODFDetectorCon &detectors) const |
bool | isFalseSource (const RODFDetector &det, const RODFDetectorCon &detectors) const |
bool | isFalseSource (const RODFDetector &det, ROEdge *edge, ROEdgeVector &seen, const RODFDetectorCon &detectors) const |
bool | isSource (const RODFDetector &det, const RODFDetectorCon &detectors, bool strict) const |
bool | isSource (const RODFDetector &det, ROEdge *edge, ROEdgeVector &seen, const RODFDetectorCon &detectors, bool strict) const |
void | revalidateFlows (const RODFDetector *detector, RODFDetectorFlows &flows, SUMOTime startTime, SUMOTime endTime, SUMOTime stepOffset) |
Private Attributes | |
SUMOVehicleClass | myAllowedVClass |
bool | myAmInHighwayMode |
std::map< ROEdge *, ROEdgeVector > | myApproachedEdges |
Map of edge name->list of names of edges approached by this edge. | |
std::map< ROEdge *, ROEdgeVector > | myApproachingEdges |
Map of edge name->list of names of this edge approaching edges. | |
double | myAvgSpeedFactorLKW |
double | myAvgSpeedFactorPKW |
std::map< std::string, ROEdge * > | myDetectorEdges |
std::map< ROEdge *, std::vector< std::string >, idComp > | myDetectorsOnEdges |
std::vector< std::string > | myDisallowedEdges |
List of ids of edges that shall not be used. | |
int | myInBetweenNumber |
int | myInvalidNumber |
bool | myKeepTurnarounds |
double | myMaxSpeedFactorLKW |
double | myMaxSpeedFactorPKW |
maximum speed factor in measurements | |
int | mySinkNumber |
int | mySourceNumber |
Processing stored vehicle definitions | |
std::map< std::string, SUMOTime > | myVehIDs |
Known vehicle ids and their departure. | |
std::set< std::string > | myPersonIDs |
Known person ids. | |
NamedObjectCont< RONode * > | myNodes |
Known nodes. | |
NamedObjectCont< ROEdge * > | myEdges |
Known edges. | |
std::map< SumoXMLTag, NamedObjectCont< SUMOVehicleParameter::Stop * > > | myStoppingPlaces |
Known bus / train / container stops and parking areas. | |
NamedObjectCont< SUMOVTypeParameter * > | myVehicleTypes |
Known vehicle types. | |
VTypeDistDictType | myVTypeDistDict |
A distribution of vehicle types (probability->vehicle type) | |
bool | myDefaultVTypeMayBeDeleted |
Whether the default vehicle type was already used or can still be replaced. | |
bool | myDefaultPedTypeMayBeDeleted |
Whether the default pedestrian type was already used or can still be replaced. | |
bool | myDefaultBikeTypeMayBeDeleted |
Whether the default bicycle type was already used or can still be replaced. | |
bool | myDefaultTaxiTypeMayBeDeleted |
Whether the default taxi type was already used or can still be replaced. | |
bool | myDefaultRailTypeMayBeDeleted |
Whether the default rail type was already used or can still be replaced. | |
NamedObjectCont< RORouteDef * > | myRoutes |
Known routes. | |
RoutablesMap | myRoutables |
Known routables. | |
NamedObjectCont< SUMOVehicleParameter * > | myFlows |
Known flows. | |
bool | myHaveActiveFlows |
whether any flows are still active | |
ContainerMap | myContainers |
std::vector< const RORoutable * > | myPTVehicles |
vehicles to keep for public transport routing | |
std::map< std::string, std::vector< SUMOTime > > | myDepartures |
Departure times for randomized flows. | |
std::map< std::string, std::pair< std::vector< std::string >, std::vector< std::string > > > | myDistricts |
traffic assignment zones with sources and sinks | |
OutputDevice * | myRoutesOutput |
The file to write the computed routes into. | |
OutputDevice * | myRouteAlternativesOutput |
The file to write the computed route alternatives into. | |
OutputDevice * | myTypesOutput |
The file to write the vehicle types into. | |
int | myReadRouteNo |
The number of read routes. | |
int | myDiscardedRouteNo |
The number of discarded routes. | |
int | myWrittenRouteNo |
The number of written routes. | |
bool | myHavePermissions |
Whether the network contains edges which not all vehicles may pass. | |
std::map< std::string, std::map< SUMOVehicleClass, double > > | myRestrictions |
The vehicle class specific speed restrictions. | |
int | myNumInternalEdges |
The number of internal edges in the dictionary. | |
MsgHandler * | myErrorHandler |
handler for ignorable error messages | |
const bool | myKeepVTypeDist |
whether to keep the vtype distribution in output | |
const bool | myDoPTRouting |
whether to calculate routes for public transport | |
bool | myHasBidiEdges |
whether the network contains bidirectional railway edges | |
SUMOTime | saveAndRemoveRoutesUntil (OptionsCont &options, const RORouterProvider &provider, SUMOTime time) |
Computes routes described by their definitions and saves them. | |
bool | furtherStored () |
Returns the information whether further vehicles, persons or containers are stored. | |
void | openOutput (const OptionsCont &options) |
Opens the output for computed routes. | |
void | writeIntermodal (const OptionsCont &options, ROIntermodalRouter &router) const |
Writes the intermodal network and weights if requested. | |
void | cleanup () |
closes the file output for computed routes and deletes associated threads if necessary | |
int | getEdgeNumber () const |
Returns the total number of edges the network contains including internal edges. | |
int | getInternalEdgeNumber () const |
Returns the number of internal edges the network contains. | |
const NamedObjectCont< ROEdge * > & | getEdgeMap () const |
bool | hasPermissions () const |
void | setPermissionsFound () |
bool | hasBidiEdges () const |
return whether the network contains bidirectional rail edges | |
bool | hasLoadedEffort () const |
whether efforts were loaded from file | |
OutputDevice * | getRouteOutput (const bool alternative=false) |
typedef std::map< std::string, RandomDistributor< SUMOVTypeParameter * > * > | VTypeDistDictType |
Vehicle type distribution dictionary type. | |
typedef std::multimap< const SUMOTime, const std::string > | ContainerMap |
Known containers. | |
static RONet * | myInstance = nullptr |
Unique instance of RONet. | |
static void | adaptIntermodalRouter (ROIntermodalRouter &router) |
void | checkFlows (SUMOTime time, MsgHandler *errorHandler) |
void | createBulkRouteRequests (const RORouterProvider &provider, const SUMOTime time, const bool removeLoops) |
|
privateinherited |
|
inherited |
|
privateinherited |
RODFNet::RODFNet | ( | bool | amInHighwayMode | ) |
Constructor.
[in] | amInHighwayMode | Whether search for following edges shall stop at slow edges |
Definition at line 46 of file RODFNet.cpp.
References OptionsCont::getBool(), OptionsCont::getOptions(), OptionsCont::getStringVector(), getVehicleClassID(), myAllowedVClass, myDisallowedEdges, and myKeepTurnarounds.
RODFNet::~RODFNet | ( | ) |
Destructor.
Definition at line 59 of file RODFNet.cpp.
|
staticinherited |
Definition at line 818 of file RONet.cpp.
References IntermodalNetwork< E, L, N, V >::addAccess(), IntermodalNetwork< E, L, N, V >::addCarAccess(), IntermodalNetwork< E, L, N, V >::addSchedule(), ROEdge::getAllEdges(), IntermodalRouter< E, L, N, V >::getCarWalkTransfer(), RONet::getEdgeForLaneID(), RORouteDef::getFirstRoute(), IntermodalRouter< E, L, N, V >::getNetwork(), OptionsCont::getOptions(), RONet::getRouteDef(), RORoute::getStops(), RONet::myFlows, RONet::myInstance, RONet::myPTVehicles, RONet::myStoppingPlaces, STEPS2TIME, string2time(), SUMO_TAG_BUS_STOP, SVC_PEDESTRIAN, SVC_TAXI, and TAXI_PICKUP_ANYWHERE.
Referenced by computeRoutes().
|
inherited |
Definition at line 534 of file RONet.cpp.
References RONet::myContainers.
Referenced by RORouteHandler::closeContainer(), and RORouteHandler::closeContainerFlow().
Definition at line 174 of file RONet.cpp.
References RONet::addEdge(), CONNECTOR, RONet::myDistricts, ROEdge::setFunction(), ROEdge::setOtherTazConnector(), TL, and WRITE_ERRORF.
Referenced by RONet::addJunctionTaz(), and RONetHandler::parseDistrict().
|
inherited |
Definition at line 197 of file RONet.cpp.
References ROEdge::addSuccessor(), RONet::getEdge(), RONet::myDistricts, TL, and WRITE_ERRORF.
Referenced by RONetHandler::parseDistrict(), and RONetHandler::parseDistrictEdge().
|
virtualinherited |
Definition at line 160 of file RONet.cpp.
References NamedObjectCont< T >::add(), Named::getID(), ROEdge::isInternal(), RONet::myEdges, RONet::myNumInternalEdges, TL, and WRITE_ERRORF.
Referenced by RONet::addDistrict(), and RONetHandler::parseEdge().
|
inherited |
Definition at line 504 of file RONet.cpp.
References NamedObjectCont< T >::add(), SUMOVehicleParameter::depart, SUMOVehicleParameter::id, RONet::myDepartures, RONet::myFlows, RONet::myHaveActiveFlows, RandHelper::rand(), SUMOVehicleParameter::repetitionNumber, and SUMOVehicleParameter::repetitionOffset.
Referenced by RORouteHandler::closeFlow().
|
inherited |
add a taz for every junction unless a taz with the same id already exists
Definition at line 219 of file RONet.cpp.
References RONet::addDistrict(), ROEdge::addSuccessor(), ROAbstractEdgeBuilder::buildEdge(), RONode::getIncoming(), RONode::getOutgoing(), RONet::myDistricts, RONet::myNodes, ROEdge::setOtherTazConnector(), TL, and WRITE_WARNINGF.
Referenced by ROLoader::loadNet().
|
inherited |
Definition at line 268 of file RONet.cpp.
References NamedObjectCont< T >::add(), Named::getID(), RONet::myNodes, TL, and WRITE_ERRORF.
Referenced by RONetHandler::parseEdge().
|
inherited |
Definition at line 522 of file RONet.cpp.
References RORoutable::getDepart(), RORoutable::getID(), RONet::myPersonIDs, RONet::myRoutables, TL, and WRITE_ERRORF.
Referenced by RORouteHandler::addFlowPerson(), and RORouteHandler::closePerson().
|
inherited |
Adds a restriction for an edge type.
[in] | id | The id of the type |
[in] | svc | The vehicle class the restriction refers to |
[in] | speed | The restricted speed |
Definition at line 144 of file RONet.cpp.
References RONet::myRestrictions.
Referenced by RONetHandler::myStartElement().
|
inherited |
Definition at line 286 of file RONet.cpp.
References NamedObjectCont< T >::add(), Named::getID(), and RONet::myRoutes.
Referenced by RORouteHandler::closeRoute(), and RORouteHandler::closeRouteDistribution().
|
inherited |
Definition at line 277 of file RONet.cpp.
References RONet::myStoppingPlaces, SUMO_TAG_BUS_STOP, SUMO_TAG_TRAIN_STOP, TL, toString(), and WRITE_ERRORF.
Referenced by RONetHandler::parseStoppingPlace().
|
virtualinherited |
Definition at line 466 of file RONet.cpp.
References SUMOVehicleParameter::departProcedure, RORoutable::getDepart(), ROVehicle::getDepartureTime(), RORoutable::getParameter(), RORoutable::isPartOfFlow(), RORoutable::isPublicTransport(), RONet::myDoPTRouting, RONet::myPTVehicles, RONet::myRoutables, RONet::myVehIDs, TL, TRIGGERED, and WRITE_ERRORF.
Referenced by RONet::checkFlows(), and RORouteHandler::closeVehicle().
|
virtualinherited |
Adds a read vehicle type definition to the network.
If the vehicle type definition is already known (another one with the same id exists), false is returned, and the vehicle type is deleted.
[in] | def | The vehicle type to add |
Definition at line 442 of file RONet.cpp.
References NamedObjectCont< T >::add(), RONet::checkVType(), SUMOVTypeParameter::id, RONet::myVehicleTypes, TL, and WRITE_ERRORF.
Referenced by RORouteHandler::closeVType().
|
inherited |
Adds a vehicle type distribution.
If another vehicle type (or distribution) with the same id exists, false is returned. Otherwise, the vehicle type distribution is added to the internal vehicle type distribution container "myVTypeDistDict".
This control get responsible for deletion of the added vehicle type distribution.
[in] | id | The id of the distribution to add |
[in] | vehTypeDistribution | The vehicle type distribution to add |
Definition at line 455 of file RONet.cpp.
References RONet::checkVType(), and RONet::myVTypeDistDict.
Referenced by RORouteHandler::closeVehicleTypeDistribution().
void RODFNet::buildApproachList | ( | ) |
Definition at line 73 of file RODFNet.cpp.
References RONet::getEdgeMap(), ROEdge::getFromJunction(), ROEdge::getSuccessors(), isAllowed(), myApproachedEdges, myApproachingEdges, and myKeepTurnarounds.
Referenced by main().
void RODFNet::buildDetectorDependencies | ( | RODFDetectorCon & | detectors | ) |
Definition at line 1009 of file RODFNet.cpp.
References RODFDetector::addPriorDetector(), buildDetectorEdgeDependencies(), RODFDetectorCon::getDetector(), RODFDetectorCon::getModifiableDetector(), RODFDetector::getRouteVector(), RODFDetector::hasRoutes(), myDetectorEdges, and myDetectorsOnEdges.
Referenced by startComputation().
|
protected |
Definition at line 98 of file RODFNet.cpp.
References getDetectorEdge(), RODFDetectorCon::getDetectors(), myDetectorEdges, and myDetectorsOnEdges.
Referenced by buildDetectorDependencies(), buildRoutes(), computeTypes(), and mesoJoin().
void RODFNet::buildEdgeFlowMap | ( | const RODFDetectorFlows & | flows, |
const RODFDetectorCon & | detectors, | ||
SUMOTime | startTime, | ||
SUMOTime | endTime, | ||
SUMOTime | stepOffset | ||
) |
Definition at line 910 of file RODFNet.cpp.
References fd, FlowDef::fLKW, RODFDetectorCon::getDetector(), RODFDetectorFlows::getFlowDefs(), Named::getID(), RODFDetector::getPos(), ROEdge::getSpeedLimit(), ROEdge::getVClassMaxSpeed(), FlowDef::isLKW, RODFDetectorFlows::knows(), MAX2(), myAvgSpeedFactorLKW, myAvgSpeedFactorPKW, myDetectorsOnEdges, myMaxSpeedFactorLKW, myMaxSpeedFactorPKW, FlowDef::qLKW, FlowDef::qPKW, SVC_PASSENGER, SVC_TRUCK, TL, toString(), FlowDef::vLKW, FlowDef::vPKW, WRITE_MESSAGE, and WRITE_MESSAGEF.
Referenced by startComputation().
void RODFNet::buildRoutes | ( | RODFDetectorCon & | det, |
bool | keepUnfoundEnds, | ||
bool | includeInBetween, | ||
bool | keepShortestOnly, | ||
int | maxFollowingLength | ||
) | const |
!!;
!!routes->removeIllegal(illegals);
!!;
Definition at line 343 of file RODFNet.cpp.
References BETWEEN_DETECTOR, buildDetectorEdgeDependencies(), computeRoutesFor(), RODFRouteDesc::distance, RODFRouteDesc::distance2Last, RODFRouteDesc::duration2Last, RODFRouteDesc::duration_2, RODFRouteDesc::edges2Pass, RODFRouteDesc::endDetectorEdge, RODFRouteDesc::factor, RODFRouteCont::get(), RODFDetectorCon::getDetector(), getDetectorEdge(), RODFDetectorCon::getDetectors(), ROEdge::getLength(), ROEdge::getSpeedLimit(), RODFDetector::getType(), RODFRouteDesc::lastDetectorEdge, myDetectorsOnEdges, and RODFRouteDesc::overallProb.
Referenced by startComputation().
|
privateinherited |
Definition at line 540 of file RONet.cpp.
References RONet::addVehicle(), RORouteDef::copy(), DEFAULT_VTYPE_ID, DELTA_T, SUMOVehicleParameter::depart, RONet::getRouteDef(), RONet::getVehicleTypeSecure(), SUMOVehicleParameter::id, SUMOVTypeParameter::id, SUMOVehicleParameter::incrementFlow(), SUMOVehicleParameter::line, RONet::myDepartures, RONet::myDoPTRouting, RONet::myFlows, RONet::myHaveActiveFlows, RONet::myKeepVTypeDist, RandHelper::rand(), SUMOVehicleParameter::repetitionEnd, SUMOVehicleParameter::repetitionNumber, SUMOVehicleParameter::repetitionProbability, SUMOVehicleParameter::repetitionsDone, SUMOVehicleParameter::repetitionTotalOffset, SUMOVehicleParameter::routeid, SUMOVehicleParameter::stops, toString(), TS, and SUMOVehicleParameter::vtypeid.
Referenced by RONet::saveAndRemoveRoutesUntil().
|
inherited |
Checks whether the vehicle type (distribution) may be added.
This method checks also whether the default type may still be replaced
[in] | id | The id of the vehicle type (distribution) to add |
Definition at line 396 of file RONet.cpp.
References DEFAULT_BIKETYPE_ID, DEFAULT_PEDTYPE_ID, DEFAULT_RAILTYPE_ID, DEFAULT_TAXITYPE_ID, DEFAULT_VTYPE_ID, NamedObjectCont< T >::get(), RONet::myDefaultBikeTypeMayBeDeleted, RONet::myDefaultPedTypeMayBeDeleted, RONet::myDefaultRailTypeMayBeDeleted, RONet::myDefaultTaxiTypeMayBeDeleted, RONet::myDefaultVTypeMayBeDeleted, RONet::myVehicleTypes, RONet::myVTypeDistDict, and NamedObjectCont< T >::remove().
Referenced by RONet::addVehicleType(), and RONet::addVTypeDistribution().
|
inherited |
closes the file output for computed routes and deletes associated threads if necessary
Definition at line 340 of file RONet.cpp.
References RouteCostCalculator< R, E, V >::cleanup(), OutputDevice::close(), RONet::myRouteAlternativesOutput, RONet::myRoutesOutput, and RONet::myTypesOutput.
Referenced by computeRoutes(), and computeRoutes().
|
protected |
!!! //toDiscard.push_back(current);
!!
Definition at line 184 of file RODFNet.cpp.
References RODFRouteCont::addRouteDesc(), RODFRouteDesc::distance, RODFRouteDesc::distance2Last, RODFRouteDesc::duration2Last, RODFRouteDesc::duration_2, RODFRouteDesc::edges2Pass, RODFRouteDesc::endDetectorEdge, RODFRouteDesc::factor, getDetectorEdge(), OptionsCont::getFloat(), Named::getID(), OptionsCont::getOptions(), ROEdge::getSpeedLimit(), hasApproached(), hasDetector(), hasInBetweenDetectorsOnly(), hasSourceDetector(), RODFRouteDesc::lastDetectorEdge, myAmInHighwayMode, myApproachedEdges, RODFRouteDesc::passedNo, RODFRouteCont::removeRouteDesc(), TL, UNUSED_PARAMETER, and WRITE_WARNINGF.
Referenced by buildRoutes().
void RODFNet::computeTypes | ( | RODFDetectorCon & | dets, |
bool | sourcesStrict | ||
) | const |
Definition at line 111 of file RODFNet.cpp.
References BETWEEN_DETECTOR, buildDetectorEdgeDependencies(), DISCARDED_DETECTOR, RODFDetectorCon::getDetectors(), isDestination(), isFalseSource(), isSource(), myInBetweenNumber, myInvalidNumber, mySinkNumber, mySourceNumber, PROGRESS_BEGIN_MESSAGE, PROGRESS_DONE_MESSAGE, SINK_DETECTOR, SOURCE_DETECTOR, TL, toString(), TYPE_NOT_DEFINED, WRITE_MESSAGE, and WRITE_MESSAGEF.
Referenced by startComputation().
|
privateinherited |
Definition at line 626 of file RONet.cpp.
References RORoutable::getID(), RORoutable::getMaxSpeed(), ROEdge::getNumericalID(), RORoutable::getVClass(), RONet::myErrorHandler, RONet::myRoutables, RouterProvider< E, L, N, V >::setBulkMode(), TL, and WRITE_WARNINGF.
Referenced by RONet::saveAndRemoveRoutesUntil().
|
inherited |
Returns the information whether further vehicles, persons or containers are stored.
Definition at line 787 of file RONet.cpp.
References RONet::myContainers, RONet::myFlows, RONet::myHaveActiveFlows, RONet::myRoutables, and NamedObjectCont< T >::size().
Referenced by ROLoader::openRoutes(), and ROLoader::processRoutes().
double RODFNet::getAbsPos | ( | const RODFDetector & | det | ) | const |
Definition at line 660 of file RODFNet.cpp.
References getDetectorEdge(), ROEdge::getLength(), and RODFDetector::getPos().
Referenced by isDestination(), and isSource().
|
inline |
Definition at line 96 of file RODFNet.h.
References myAvgSpeedFactorLKW.
Referenced by RODFDetectorCon::writeEmitters().
|
inline |
Definition at line 92 of file RODFNet.h.
References myAvgSpeedFactorPKW.
Referenced by RODFDetectorCon::writeEmitters().
|
inherited |
returns departure time for the given vehicle id
Definition at line 493 of file RONet.cpp.
References RONet::myVehIDs, and TLF.
Referenced by RORouteHandler::addRide(), and RORouteHandler::addTransport().
|
protected |
Definition at line 622 of file RODFNet.cpp.
References RONet::getEdge(), SUMOXMLDefinitions::getEdgeIDFromLane(), Named::getID(), and RODFDetector::getLaneID().
Referenced by buildDetectorEdgeDependencies(), buildRoutes(), computeRoutesFor(), getAbsPos(), isDestination(), isDestination(), isFalseSource(), isFalseSource(), isSource(), isSource(), and revalidateFlows().
const std::vector< std::string > & RODFNet::getDetectorList | ( | ROEdge * | edge | ) | const |
Definition at line 654 of file RODFNet.cpp.
References myDetectorsOnEdges.
|
inlineinherited |
Retrieves all TAZ (districts) from the network.
Definition at line 145 of file RONet.h.
References RONet::myDistricts.
Referenced by main().
|
inlineinherited |
Retrieves an edge from the network.
This is not very pretty, but necessary, though, as routes run over instances, not over ids.
[in] | name | The name of the edge to retrieve |
Definition at line 157 of file RONet.h.
References NamedObjectCont< T >::get(), and RONet::myEdges.
Referenced by RONet::addDistrictEdge(), ROJTRTurnDefLoader::addEdgeRel(), ROLoader::EdgeFloatTimeLineRetriever_EdgeTravelTime::addEdgeWeight(), RORouteHandler::addRide(), RORouteHandler::addStop(), ROVehicle::addStop(), ROJTRTurnDefLoader::addToEdge(), ROJTRTurnDefLoader::beginFromEdge(), RORouteHandler::closeRoute(), ROMAAssignments::computePath(), getDetectorEdge(), RONet::getEdgeForLaneID(), ROEdge::getStopPosition(), ROMAAssignments::incremental(), loadJTRDefinitions(), RODFDetectorHandler::myStartElement(), ROJTRTurnDefLoader::myStartElement(), RONetHandler::parseConnection(), RORouteHandler::parseEdges(), RORouteHandler::parseFromViaTo(), AGActivityGenHandler::parseStreets(), RORouteHandler::parseWalkPositions(), RORouteHandler::retrieveEdge(), ROVehicle::ROVehicle(), ROVehicle::saveAsXML(), ROMAAssignments::sue(), RODFDetectorCon::writeEmitters(), and RODFDetectorCon::writeSpeedTrigger().
|
inherited |
Retrieves an edge from the network when the lane id is given.
[in] | laneID | The name of the lane to retrieve the edge for |
Definition at line 805 of file RONet.cpp.
References RONet::getEdge(), and SUMOXMLDefinitions::getEdgeIDFromLane().
Referenced by RONet::adaptIntermodalRouter(), RONet::getLane(), RONetHandler::parseAccess(), and RONetHandler::parseStoppingPlace().
|
inlineinherited |
Definition at line 422 of file RONet.h.
References RONet::myEdges.
Referenced by buildApproachList(), AGCity::completeStreets(), ROMAAssignments::incremental(), RORouteHandler::initLaneTree(), initNet(), ROLoader::loadNet(), ROLoader::loadWeights(), ROMAAssignments::resetFlows(), ROMAAssignments::sue(), and ROMAAssignments::writeInterval().
|
inherited |
Returns the total number of edges the network contains including internal edges.
Definition at line 793 of file RONet.cpp.
References RONet::myEdges, and NamedObjectCont< T >::size().
Referenced by computeAllPairs(), computeRoutes(), and main().
|
staticinherited |
Returns the pointer to the unique instance of RONet (singleton).
Definition at line 56 of file RONet.cpp.
References RONet::myInstance, and TL.
Referenced by ROPerson::addTrip(), ROEdge::getStopPosition(), ROEdge::getSuccessors(), ROEdge::getViaSuccessors(), ROPerson::Stop::saveAsXML(), ROPerson::Ride::saveAsXML(), ROPerson::Walk::saveAsXML(), ROVehicle::saveAsXML(), and ROPerson::PersonTrip::saveVehicles().
|
inherited |
Returns the number of internal edges the network contains.
Definition at line 799 of file RONet.cpp.
References RONet::myNumInternalEdges.
Referenced by computeAllPairs().
|
inherited |
Retrieves a lane rom the network given its id.
[in] | laneID | The name of the lane to retrieve the edge for |
Definition at line 811 of file RONet.cpp.
References RONet::getEdgeForLaneID(), SUMOXMLDefinitions::getIndexFromLane(), and ROEdge::getLanes().
Referenced by RONetHandler::parseAccess().
|
inline |
Definition at line 88 of file RODFNet.h.
References myMaxSpeedFactorLKW.
Referenced by RODFDetectorCon::writeEmitters().
|
inline |
Definition at line 84 of file RODFNet.h.
References myMaxSpeedFactorPKW.
Referenced by RODFDetectorCon::writeEmitters().
|
inlineinherited |
Retrieves an node from the network.
[in] | name | The name of the node to retrieve |
Definition at line 193 of file RONet.h.
References NamedObjectCont< T >::get(), and RONet::myNodes.
Referenced by RONetHandler::parseEdge(), and RONetHandler::parseJunction().
|
inherited |
Returns the restrictions for an edge type If no restrictions are present, 0 is returned.
[in] | id | The id of the type |
Definition at line 150 of file RONet.cpp.
References RONet::myRestrictions.
Referenced by RONetHandler::parseEdge().
|
inlineinherited |
Returns the named route definition.
[in] | name | The name of the route definition to retrieve |
Check whether a const pointer may be returned
Rename myRoutes to myRouteDefinitions
Definition at line 318 of file RONet.h.
References NamedObjectCont< T >::get(), and RONet::myRoutes.
Referenced by RONet::adaptIntermodalRouter(), RORouteHandler::addWalk(), RONet::checkFlows(), RORouteHandler::closeFlow(), RORouteHandler::closeRoute(), RORouteHandler::closeVehicle(), RORouteHandler::openRoute(), and RORouteHandler::openRouteDistribution().
|
inlineinherited |
Definition at line 440 of file RONet.h.
References RONet::myRouteAlternativesOutput, and RONet::myRoutesOutput.
Referenced by computeRoutes().
|
inlineinherited |
Retrieves a stopping place from the network.
[in] | id | The name of the stop to retrieve |
[in] | category | The type of stop |
Definition at line 216 of file RONet.h.
References RONet::myStoppingPlaces.
Referenced by RORouteHandler::retrieveStoppingPlace().
|
inherited |
return the element name for the given stopping place id
Definition at line 896 of file RONet.cpp.
References SUMOVehicleParameter::Stop::actType, RONet::myStoppingPlaces, SUMO_TAG_BUS_STOP, and toString().
Referenced by ROPerson::Ride::saveAsXML(), and ROPerson::Walk::saveAsXML().
|
inherited |
return the name for the given stopping place id
Definition at line 884 of file RONet.cpp.
References SUMOVehicleParameter::Stop::busstop, and RONet::myStoppingPlaces.
Referenced by ROPerson::Stop::saveAsXML(), ROPerson::Ride::saveAsXML(), and ROPerson::Walk::saveAsXML().
|
inherited |
Retrieves the named vehicle type.
If the name is "" the default type is returned. If the named vehicle type (or typeDistribution) was not added to the net before nullptr is returned
[in] | id | The id of the vehicle type to return |
Definition at line 364 of file RONet.cpp.
References DEFAULT_BIKETYPE_ID, DEFAULT_PEDTYPE_ID, DEFAULT_RAILTYPE_ID, DEFAULT_TAXITYPE_ID, DEFAULT_VTYPE_ID, NamedObjectCont< T >::get(), RONet::myDefaultBikeTypeMayBeDeleted, RONet::myDefaultPedTypeMayBeDeleted, RONet::myDefaultRailTypeMayBeDeleted, RONet::myDefaultTaxiTypeMayBeDeleted, RONet::myDefaultVTypeMayBeDeleted, RONet::myVehicleTypes, and RONet::myVTypeDistDict.
Referenced by RORouteHandler::addFlowPerson(), RORouteHandler::addStop(), ROPerson::addTrip(), RONet::checkFlows(), RORouteHandler::closeFlow(), RORouteHandler::closePerson(), RORouteHandler::closePersonFlow(), RORouteHandler::closeVehicle(), computeRoutes(), computeRoutes(), RORouteHandler::openRoute(), RORouteHandler::openVehicleTypeDistribution(), RORouteHandler::parseFromViaTo(), and ROMAAssignments::ROMAAssignments().
|
inlineinherited |
Retrieves the named vehicle type distribution.
If the named vehicle type distribution was not added to the net before nullptr is returned
[in] | id | The id of the vehicle type distribution to return |
Definition at line 280 of file RONet.h.
References RONet::myVTypeDistDict.
Referenced by RORouteHandler::addStop(), RORouteHandler::openVehicleTypeDistribution(), and RORouteHandler::parseFromViaTo().
|
protected |
Definition at line 640 of file RODFNet.cpp.
References myApproachedEdges.
Referenced by computeRoutesFor(), and isDestination().
|
protected |
Definition at line 633 of file RODFNet.cpp.
References myApproachingEdges.
Referenced by isSource().
|
inlineinherited |
return whether the network contains bidirectional rail edges
Definition at line 433 of file RONet.h.
References RONet::myHasBidiEdges.
Referenced by computeRoutes().
bool RODFNet::hasDetector | ( | ROEdge * | edge | ) | const |
Definition at line 647 of file RODFNet.cpp.
References myDetectorsOnEdges.
Referenced by RODFDetector::buildDestinationDistribution(), computeRoutesFor(), RODFDetector::computeSplitProbabilities(), isDestination(), isFalseSource(), isSource(), and revalidateFlows().
|
protected |
Definition at line 151 of file RODFNet.cpp.
References BETWEEN_DETECTOR, RODFDetectorCon::getDetector(), RODFDetector::getType(), and myDetectorsOnEdges.
Referenced by computeRoutesFor().
|
inherited |
whether efforts were loaded from file
Definition at line 874 of file RONet.cpp.
References RONet::myEdges.
Referenced by computeRoutes(), and computeRoutes().
|
inherited |
Definition at line 863 of file RONet.cpp.
References RONet::myHavePermissions.
Referenced by computeRoutes(), and computeRoutes().
|
protected |
Definition at line 167 of file RODFNet.cpp.
References RODFDetectorCon::getDetector(), RODFDetector::getType(), myDetectorsOnEdges, and SOURCE_DETECTOR.
Referenced by computeRoutesFor().
|
protected |
Definition at line 64 of file RODFNet.cpp.
References Named::getID(), ROEdge::getPermissions(), ROEdge::isCrossing(), ROEdge::isInternal(), ROEdge::isWalkingArea(), myAllowedVClass, and myDisallowedEdges.
Referenced by buildApproachList().
|
protected |
Definition at line 681 of file RODFNet.cpp.
References getDetectorEdge(), and isDestination().
Referenced by computeTypes(), isDestination(), and isDestination().
|
protected |
Definition at line 787 of file RODFNet.cpp.
References getAbsPos(), RODFDetectorCon::getDetector(), getDetectorEdge(), Named::getID(), ROEdge::getSpeedLimit(), hasApproached(), hasDetector(), isDestination(), myAmInHighwayMode, myApproachedEdges, myDetectorEdges, myDetectorsOnEdges, TL, and WRITE_WARNINGF.
|
protected |
Definition at line 675 of file RODFNet.cpp.
References getDetectorEdge(), and isFalseSource().
Referenced by computeTypes(), isFalseSource(), and isFalseSource().
|
protected |
Definition at line 861 of file RODFNet.cpp.
References BETWEEN_DETECTOR, RODFDetectorCon::getDetector(), getDetectorEdge(), Named::getID(), ROEdge::getSpeedLimit(), RODFDetector::getType(), hasDetector(), isFalseSource(), myAmInHighwayMode, myApproachedEdges, myDetectorsOnEdges, SINK_DETECTOR, SOURCE_DETECTOR, TL, and WRITE_WARNINGF.
|
protected |
Definition at line 668 of file RODFNet.cpp.
References getDetectorEdge(), and isSource().
Referenced by computeTypes(), isSource(), and isSource().
|
protected |
Definition at line 688 of file RODFNet.cpp.
References getAbsPos(), RODFDetectorCon::getDetector(), getDetectorEdge(), Named::getID(), ROEdge::getSpeedLimit(), hasApproaching(), hasDetector(), isSource(), myAmInHighwayMode, myApproachingEdges, myDetectorEdges, myDetectorsOnEdges, TL, and WRITE_WARNINGF.
|
inherited |
returns whether a vehicle with the given id was already loaded
Definition at line 488 of file RONet.cpp.
References RONet::myVehIDs.
Referenced by RORouteHandler::addRide(), RORouteHandler::addTransport(), and ROPerson::PersonTrip::saveVehicles().
void RODFNet::mesoJoin | ( | RODFDetectorCon & | detectors, |
RODFDetectorFlows & | flows | ||
) |
Definition at line 1056 of file RODFNet.cpp.
References buildDetectorEdgeDependencies(), RODFDetectorCon::getDetector(), RODFDetector::getPos(), RODFDetectorCon::mesoJoin(), RODFDetectorFlows::mesoJoin(), and myDetectorsOnEdges.
|
inherited |
Opens the output for computed routes.
If one of the file outputs can not be build, an IOError is thrown.
[in] | options | The options to be asked for "output-file", "alternatives-output" and "vtype-output" |
Definition at line 292 of file RONet.cpp.
References OptionsCont::exists(), OptionsCont::getBool(), OutputDevice::getDevice(), OptionsCont::getString(), OutputDevice::isNull(), OptionsCont::isSet(), RONet::myRouteAlternativesOutput, RONet::myRoutesOutput, RONet::myTypesOutput, SUMO_TAG_ROUTES, OutputDevice::writeAttr(), and OutputDevice::writeHeader().
Referenced by computeRoutes(), and computeRoutes().
void RODFNet::removeEmptyDetectors | ( | RODFDetectorCon & | detectors, |
RODFDetectorFlows & | flows | ||
) |
Definition at line 581 of file RODFNet.cpp.
References RODFDetectorCon::getDetectors(), RODFDetectorFlows::knows(), RODFDetectorCon::removeDetector(), RODFDetectorFlows::removeFlow(), TL, and WRITE_MESSAGEF.
Referenced by startComputation().
void RODFNet::reportEmptyDetectors | ( | RODFDetectorCon & | detectors, |
RODFDetectorFlows & | flows | ||
) |
Definition at line 604 of file RODFNet.cpp.
References RODFDetectorCon::getDetectors(), RODFDetectorFlows::knows(), TL, and WRITE_MESSAGEF.
Referenced by startComputation().
|
protected |
Definition at line 423 of file RODFNet.cpp.
References RODFNet::IterationEdge::depth, RODFNet::IterationEdge::edge, getDetectorEdge(), RODFDetectorFlows::getFlowDefs(), Named::getID(), hasDetector(), RODFDetectorFlows::knows(), myApproachedEdges, myApproachingEdges, FlowDef::qLKW, FlowDef::qPKW, RODFDetectorFlows::setFlows(), TL, FlowDef::vLKW, FlowDef::vPKW, WRITE_WARNING, and WRITE_WARNINGF.
void RODFNet::revalidateFlows | ( | const RODFDetectorCon & | detectors, |
RODFDetectorFlows & | flows, | ||
SUMOTime | startTime, | ||
SUMOTime | endTime, | ||
SUMOTime | stepOffset | ||
) |
Definition at line 567 of file RODFNet.cpp.
References RODFDetectorCon::getDetectors(), and revalidateFlows().
Referenced by revalidateFlows(), and startComputation().
|
inherited |
Computes routes described by their definitions and saves them.
As long as a vehicle with a departure time smaller than the given exists, its route is computed and it is written and removed from the internal container.
[in] | options | The options used during this process |
[in] | provider | The router provider for routes computation |
[in] | time | The time until which route definitions shall be processed |
Definition at line 676 of file RONet.cpp.
References RONet::checkFlows(), RONet::createBulkRouteRequests(), OptionsCont::getBool(), MsgHandler::getErrorInstance(), Named::getID(), OptionsCont::getInt(), ROVehicle::getRouteDefinition(), MsgHandler::getWarningInstance(), MIN2(), RONet::myContainers, RONet::myDiscardedRouteNo, RONet::myErrorHandler, RONet::myHaveActiveFlows, RONet::myRoutables, RONet::myRouteAlternativesOutput, RONet::myRoutes, RONet::myRoutesOutput, RONet::myTypesOutput, RONet::myVehIDs, RONet::myWrittenRouteNo, NamedObjectCont< T >::remove(), SUMOTime_MAX, toString(), WRITE_MESSAGE, and OutputDevice::writePreformattedTag().
Referenced by ROLoader::processRoutes().
|
inherited |
add a taz for every junction unless a taz with the same id already exists
Definition at line 255 of file RONet.cpp.
References NamedObjectCont< T >::get(), RONet::myEdges, RONet::myHasBidiEdges, TL, and WRITE_ERRORF.
Referenced by ROLoader::loadNet().
|
inherited |
Definition at line 869 of file RONet.cpp.
References RONet::myHavePermissions.
Referenced by RONetHandler::parseLane().
|
inherited |
Writes the intermodal network and weights if requested.
If one of the file outputs can not be build, an IOError is thrown.
[in] | options | The options to be asked for "intermodal-network-output" and "intermodal-weight-output" |
Definition at line 321 of file RONet.cpp.
References OutputDevice::closeTag(), OutputDevice::createDeviceByOption(), OptionsCont::exists(), OutputDevice::getDevice(), OutputDevice::getDeviceByOption(), OptionsCont::getString(), OptionsCont::isSet(), OutputDevice::openTag(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_ATTR_ID, SUMO_TAG_INTERVAL, SUMOTime_MAX, OutputDevice::writeAttr(), IntermodalRouter< E, L, N, V >::writeNetwork(), and IntermodalRouter< E, L, N, V >::writeWeights().
Referenced by computeRoutes().
|
private |
Definition at line 183 of file RODFNet.h.
Referenced by isAllowed(), and RODFNet().
|
private |
Definition at line 177 of file RODFNet.h.
Referenced by computeRoutesFor(), isDestination(), isFalseSource(), and isSource().
|
private |
Map of edge name->list of names of edges approached by this edge.
Definition at line 172 of file RODFNet.h.
Referenced by buildApproachList(), computeRoutesFor(), hasApproached(), isDestination(), isFalseSource(), and revalidateFlows().
|
private |
Map of edge name->list of names of this edge approaching edges.
Definition at line 169 of file RODFNet.h.
Referenced by buildApproachList(), hasApproaching(), isSource(), and revalidateFlows().
|
private |
Definition at line 191 of file RODFNet.h.
Referenced by buildEdgeFlowMap(), and getAvgSpeedFactorLKW().
|
private |
Definition at line 190 of file RODFNet.h.
Referenced by buildEdgeFlowMap(), and getAvgSpeedFactorPKW().
|
privateinherited |
Definition at line 538 of file RONet.h.
Referenced by RONet::addContainer(), RONet::furtherStored(), and RONet::saveAndRemoveRoutesUntil().
|
privateinherited |
Whether the default bicycle type was already used or can still be replaced.
Definition at line 516 of file RONet.h.
Referenced by RONet::checkVType(), and RONet::getVehicleTypeSecure().
|
privateinherited |
Whether the default pedestrian type was already used or can still be replaced.
Definition at line 513 of file RONet.h.
Referenced by RONet::checkVType(), and RONet::getVehicleTypeSecure().
|
privateinherited |
Whether the default rail type was already used or can still be replaced.
Definition at line 522 of file RONet.h.
Referenced by RONet::checkVType(), and RONet::getVehicleTypeSecure().
|
privateinherited |
Whether the default taxi type was already used or can still be replaced.
Definition at line 519 of file RONet.h.
Referenced by RONet::checkVType(), and RONet::getVehicleTypeSecure().
|
privateinherited |
Whether the default vehicle type was already used or can still be replaced.
Definition at line 510 of file RONet.h.
Referenced by RONet::checkVType(), and RONet::getVehicleTypeSecure().
|
privateinherited |
Departure times for randomized flows.
Definition at line 544 of file RONet.h.
Referenced by RONet::addFlow(), and RONet::checkFlows().
|
mutableprivate |
Definition at line 175 of file RODFNet.h.
Referenced by buildDetectorDependencies(), buildDetectorEdgeDependencies(), isDestination(), and isSource().
Definition at line 174 of file RODFNet.h.
Referenced by buildDetectorDependencies(), buildDetectorEdgeDependencies(), buildEdgeFlowMap(), buildRoutes(), getDetectorList(), hasDetector(), hasInBetweenDetectorsOnly(), hasSourceDetector(), isDestination(), isFalseSource(), isSource(), and mesoJoin().
|
private |
List of ids of edges that shall not be used.
Definition at line 181 of file RODFNet.h.
Referenced by isAllowed(), and RODFNet().
|
privateinherited |
The number of discarded routes.
Definition at line 562 of file RONet.h.
Referenced by RONet::saveAndRemoveRoutesUntil().
|
privateinherited |
traffic assignment zones with sources and sinks
Definition at line 547 of file RONet.h.
Referenced by RONet::addDistrict(), RONet::addDistrictEdge(), RONet::addJunctionTaz(), and RONet::getDistricts().
|
privateinherited |
whether to calculate routes for public transport
Definition at line 583 of file RONet.h.
Referenced by RONet::addVehicle(), and RONet::checkFlows().
|
privateinherited |
Known edges.
Definition at line 496 of file RONet.h.
Referenced by RONet::addEdge(), RONet::getEdge(), RONet::getEdgeMap(), RONet::getEdgeNumber(), RONet::hasLoadedEffort(), and RONet::setBidiEdges().
|
privateinherited |
handler for ignorable error messages
Definition at line 577 of file RONet.h.
Referenced by RONet::createBulkRouteRequests(), and RONet::saveAndRemoveRoutesUntil().
|
privateinherited |
Known flows.
Definition at line 531 of file RONet.h.
Referenced by RONet::adaptIntermodalRouter(), RONet::addFlow(), RONet::checkFlows(), and RONet::furtherStored().
|
privateinherited |
whether the network contains bidirectional railway edges
Definition at line 586 of file RONet.h.
Referenced by RONet::hasBidiEdges(), and RONet::setBidiEdges().
|
privateinherited |
whether any flows are still active
Definition at line 534 of file RONet.h.
Referenced by RONet::addFlow(), RONet::checkFlows(), RONet::furtherStored(), and RONet::saveAndRemoveRoutesUntil().
|
privateinherited |
Whether the network contains edges which not all vehicles may pass.
Definition at line 568 of file RONet.h.
Referenced by RONet::hasPermissions(), and RONet::setPermissionsFound().
|
private |
Definition at line 178 of file RODFNet.h.
Referenced by computeTypes().
|
staticprivateinherited |
Unique instance of RONet.
Definition at line 484 of file RONet.h.
Referenced by RONet::adaptIntermodalRouter(), RONet::getInstance(), and RONet::RONet().
|
private |
Definition at line 178 of file RODFNet.h.
Referenced by computeTypes().
|
private |
Definition at line 185 of file RODFNet.h.
Referenced by buildApproachList(), and RODFNet().
|
privateinherited |
whether to keep the vtype distribution in output
Definition at line 580 of file RONet.h.
Referenced by RONet::checkFlows().
|
private |
Definition at line 189 of file RODFNet.h.
Referenced by buildEdgeFlowMap(), and getMaxSpeedFactorLKW().
|
private |
maximum speed factor in measurements
Definition at line 188 of file RODFNet.h.
Referenced by buildEdgeFlowMap(), and getMaxSpeedFactorPKW().
|
privateinherited |
Known nodes.
Definition at line 493 of file RONet.h.
Referenced by RONet::addJunctionTaz(), RONet::addNode(), and RONet::getNode().
|
privateinherited |
The number of internal edges in the dictionary.
Definition at line 574 of file RONet.h.
Referenced by RONet::addEdge(), and RONet::getInternalEdgeNumber().
|
privateinherited |
|
privateinherited |
vehicles to keep for public transport routing
Definition at line 541 of file RONet.h.
Referenced by RONet::adaptIntermodalRouter(), RONet::addVehicle(), and RONet::~RONet().
|
privateinherited |
|
privateinherited |
The vehicle class specific speed restrictions.
Definition at line 571 of file RONet.h.
Referenced by RONet::addRestriction(), and RONet::getRestrictions().
|
privateinherited |
Known routables.
Definition at line 528 of file RONet.h.
Referenced by RONet::addPerson(), RONet::addVehicle(), RONet::createBulkRouteRequests(), RONet::furtherStored(), RONet::saveAndRemoveRoutesUntil(), and RONet::~RONet().
|
privateinherited |
The file to write the computed route alternatives into.
Definition at line 553 of file RONet.h.
Referenced by RONet::cleanup(), RONet::getRouteOutput(), RONet::openOutput(), and RONet::saveAndRemoveRoutesUntil().
|
privateinherited |
Known routes.
Definition at line 525 of file RONet.h.
Referenced by RONet::addRouteDef(), RONet::getRouteDef(), RONet::saveAndRemoveRoutesUntil(), and RONet::~RONet().
|
privateinherited |
The file to write the computed routes into.
Definition at line 550 of file RONet.h.
Referenced by RONet::cleanup(), RONet::getRouteOutput(), RONet::openOutput(), and RONet::saveAndRemoveRoutesUntil().
|
private |
Definition at line 178 of file RODFNet.h.
Referenced by computeTypes().
|
mutableprivate |
Definition at line 178 of file RODFNet.h.
Referenced by computeTypes().
|
privateinherited |
Known bus / train / container stops and parking areas.
Definition at line 499 of file RONet.h.
Referenced by RONet::adaptIntermodalRouter(), RONet::addStoppingPlace(), RONet::getStoppingPlace(), RONet::getStoppingPlaceElement(), and RONet::getStoppingPlaceName().
|
privateinherited |
The file to write the vehicle types into.
Definition at line 556 of file RONet.h.
Referenced by RONet::cleanup(), RONet::openOutput(), and RONet::saveAndRemoveRoutesUntil().
|
privateinherited |
Known vehicle types.
Definition at line 502 of file RONet.h.
Referenced by RONet::addVehicleType(), RONet::checkVType(), RONet::getVehicleTypeSecure(), and RONet::RONet().
|
privateinherited |
Known vehicle ids and their departure.
Definition at line 487 of file RONet.h.
Referenced by RONet::addVehicle(), RONet::getDeparture(), RONet::knowsVehicle(), and RONet::saveAndRemoveRoutesUntil().
|
privateinherited |
A distribution of vehicle types (probability->vehicle type)
Definition at line 507 of file RONet.h.
Referenced by RONet::addVTypeDistribution(), RONet::checkVType(), RONet::getVehicleTypeSecure(), RONet::getVTypeDistribution(), and RONet::~RONet().
|
privateinherited |
The number of written routes.
Definition at line 565 of file RONet.h.
Referenced by RONet::saveAndRemoveRoutesUntil().