![]() |
SUMO - Simulation of Urban MObility
|
The router's network representation. More...
#include <RONet.h>
Public Types | |
typedef std::map< const SUMOTime, std::deque< RORoutable * > > | RoutablesMap |
Public Member Functions | |
void | addRestriction (const std::string &id, const SUMOVehicleClass svc, const SUMOReal speed) |
Adds a restriction for an edge type. More... | |
void | cleanup () |
closes the file output for computed routes and deletes associated threads if necessary More... | |
const std::map< std::string, ROEdge * > & | getEdgeMap () const |
size_t | getEdgeNo () const |
Returns the total number of edges the network contains including internal edges. More... | |
int | getInternalEdgeNumber () const |
Returns the number of internal edges the network contains. More... | |
const std::map< SUMOVehicleClass, SUMOReal > * | getRestrictions (const std::string &id) const |
Returns the restrictions for an edge type If no restrictions are present, 0 is returned. More... | |
OutputDevice * | getRouteOutput (const bool alternative=false) |
bool | hasPermissions () const |
void | openOutput (const std::string &filename, const std::string altFilename, const std::string typeFilename) |
Opens the output for computed routes. More... | |
RONet () | |
Constructor. More... | |
void | setPermissionsFound () |
virtual | ~RONet () |
Destructor. More... | |
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) |
const std::map< std::string, std::pair< std::vector< std::string >, std::vector< std::string > > > & | getDistricts () const |
Retrieves all TAZ (districts) from the network. More... | |
ROEdge * | getEdge (const std::string &name) const |
Retrieves an edge from the network. More... | |
ROEdge * | getEdgeForLaneID (const std::string &laneID) const |
Retrieves an edge from the network when the lane id is given. More... | |
void | addNode (RONode *node) |
RONode * | getNode (const std::string &id) const |
Retrieves an node from the network. More... | |
void | addBusStop (const std::string &id, SUMOVehicleParameter::Stop *stop) |
void | addContainerStop (const std::string &id, SUMOVehicleParameter::Stop *stop) |
const SUMOVehicleParameter::Stop * | getBusStop (const std::string &id) const |
Retrieves a bus stop from the network. More... | |
const SUMOVehicleParameter::Stop * | getContainerStop (const std::string &id) const |
Retrieves a container stop from the network. More... | |
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. More... | |
virtual bool | addVehicleType (SUMOVTypeParameter *type) |
Adds a read vehicle type definition to the network. More... | |
bool | addVTypeDistribution (const std::string &id, RandomDistributor< SUMOVTypeParameter * > *vehTypeDistribution) |
Adds a vehicle type distribution. More... | |
SUMOVTypeParameter * | getVehicleTypeSecure (const std::string &id) |
Retrieves the named vehicle type. More... | |
bool | addRouteDef (RORouteDef *def) |
RORouteDef * | getRouteDef (const std::string &name) const |
Returns the named route definition. More... | |
virtual bool | addVehicle (const std::string &id, ROVehicle *veh) |
bool | addFlow (SUMOVehicleParameter *flow, const bool randomize) |
bool | addPerson (ROPerson *person) |
void | addContainer (const SUMOTime depart, const std::string desc) |
Processing stored vehicle definitions | |
SUMOTime | saveAndRemoveRoutesUntil (OptionsCont &options, const RORouterProvider &provider, SUMOTime time) |
Computes routes described by their definitions and saves them. More... | |
virtual bool | furtherStored () |
Returns the information whether further vehicles, persons or containers are stored. More... | |
Static Public Member Functions | |
static void | adaptIntermodalRouter (ROIntermodalRouter &router) |
static RONet * | getInstance () |
Returns the pointer to the unique instance of RONet (singleton). More... | |
Private Types | |
typedef std::multimap< const SUMOTime, const std::string > | ContainerMap |
Known containers. More... | |
typedef std::map< std::string, RandomDistributor< SUMOVTypeParameter * > * > | VTypeDistDictType |
Vehicle type distribution dictionary type. More... | |
Private Member Functions | |
void | checkFlows (SUMOTime time, MsgHandler *errorHandler) |
void | createBulkRouteRequests (const RORouterProvider &provider, const SUMOTime time, const bool removeLoops) |
RONet & | operator= (const RONet &src) |
Invalidated assignment operator. More... | |
RONet (const RONet &src) | |
Invalidated copy constructor. More... | |
Private Attributes | |
std::map< std::string, SUMOVehicleParameter::Stop * > | myBusStops |
Known bus stops. More... | |
ContainerMap | myContainers |
std::map< std::string, SUMOVehicleParameter::Stop * > | myContainerStops |
Known container stops. More... | |
bool | myDefaultPedTypeMayBeDeleted |
Whether no pedestrian type has been loaded yet. More... | |
bool | myDefaultVTypeMayBeDeleted |
Whether no vehicle type has been loaded yet. More... | |
std::map< std::string, std::vector< SUMOTime > > | myDepartures |
Departure times for randomized flows. More... | |
unsigned int | myDiscardedRouteNo |
The number of discarded routes. More... | |
std::map< std::string, std::pair< std::vector< std::string >, std::vector< std::string > > > | myDistricts |
traffic assignment zones with sources and sinks More... | |
NamedObjectCont< ROEdge * > | myEdges |
Known edges. More... | |
MsgHandler * | myErrorHandler |
handler for ignorable error messages More... | |
NamedObjectCont< SUMOVehicleParameter * > | myFlows |
Known flows. More... | |
bool | myHavePermissions |
Whether the network contains edges which not all vehicles may pass. More... | |
NamedObjectCont< RONode * > | myNodes |
Known nodes. More... | |
int | myNumInternalEdges |
The number of internal edges in the dictionary. More... | |
std::set< std::string > | myPersonIDs |
Known person ids. More... | |
unsigned int | myReadRouteNo |
The number of read routes. More... | |
std::map< std::string, std::map< SUMOVehicleClass, SUMOReal > > | myRestrictions |
The vehicle class specific speed restrictions. More... | |
RoutablesMap | myRoutables |
Known routables. More... | |
OutputDevice * | myRouteAlternativesOutput |
The file to write the computed route alternatives into. More... | |
NamedObjectCont< RORouteDef * > | myRoutes |
Known routes. More... | |
OutputDevice * | myRoutesOutput |
The file to write the computed routes into. More... | |
OutputDevice * | myTypesOutput |
The file to write the vehicle types into. More... | |
NamedObjectCont< SUMOVTypeParameter * > | myVehicleTypes |
Known vehicle types. More... | |
std::set< std::string > | myVehIDs |
Known vehicle ids. More... | |
VTypeDistDictType | myVTypeDistDict |
A distribution of vehicle types (probability->vehicle type) More... | |
unsigned int | myWrittenRouteNo |
The number of written routes. More... | |
Static Private Attributes | |
static RONet * | myInstance = 0 |
Unique instance of RONet. More... | |
The router's network representation.
A router network is responsible for watching loaded edges, nodes,!!!
|
private |
typedef std::map<const SUMOTime, std::deque<RORoutable*> > RONet::RoutablesMap |
|
private |
RONet::RONet | ( | ) |
Constructor.
Definition at line 74 of file RONet.cpp.
References NamedObjectCont< T >::add(), DEFAULT_PEDTYPE_ID, DEFAULT_VTYPE_ID, SUMOVTypeParameter::id, myInstance, myVehicleTypes, SUMOVTypeParameter::onlyReferenced, SUMOVTypeParameter::setParameter, SVC_IGNORING, SVC_PEDESTRIAN, and VTYPEPARS_VEHICLECLASS_SET.
|
virtual |
Destructor.
Definition at line 96 of file RONet.cpp.
References NamedObjectCont< T >::clear(), myEdges, myNodes, myRoutables, myRoutes, and myVehicleTypes.
|
private |
Invalidated copy constructor.
|
static |
Definition at line 631 of file RONet.cpp.
References IntermodalRouter< E, L, N, V, INTERNALROUTER >::addAccess(), IntermodalRouter< E, L, N, V, INTERNALROUTER >::addSchedule(), getEdgeForLaneID(), NamedObjectCont< T >::getMyMap(), ROVehicle::getParameter(), SUMOVehicleParameter::line, myBusStops, myFlows, myInstance, myRoutables, and SUMOVehicleParameter::repetitionNumber.
Referenced by computeRoutes(), and getRouteDef().
void RONet::addBusStop | ( | const std::string & | id, |
SUMOVehicleParameter::Stop * | stop | ||
) |
Definition at line 184 of file RONet.cpp.
References myBusStops, and WRITE_ERROR.
Referenced by getNode(), and RONetHandler::parseStoppingPlace().
void RONet::addContainer | ( | const SUMOTime | depart, |
const std::string | desc | ||
) |
Definition at line 369 of file RONet.cpp.
References myContainers.
Referenced by RORouteHandler::closeContainer(), and getRouteDef().
void RONet::addContainerStop | ( | const std::string & | id, |
SUMOVehicleParameter::Stop * | stop | ||
) |
Definition at line 195 of file RONet.cpp.
References myContainerStops, and WRITE_ERROR.
Referenced by getNode(), and RONetHandler::parseStoppingPlace().
Definition at line 136 of file RONet.cpp.
References addEdge(), ROEdge::ET_DISTRICT, myDistricts, ROEdge::setFunc(), and WRITE_ERROR.
Referenced by RONetHandler::parseDistrict().
bool RONet::addDistrictEdge | ( | const std::string | tazID, |
const std::string | edgeID, | ||
const bool | isSource | ||
) |
Definition at line 153 of file RONet.cpp.
References ROEdge::addSuccessor(), getEdge(), myDistricts, and WRITE_ERROR.
Referenced by RONetHandler::parseDistrict(), and RONetHandler::parseDistrictEdge().
|
virtual |
Definition at line 122 of file RONet.cpp.
References NamedObjectCont< T >::add(), ROEdge::ET_INTERNAL, ROEdge::getFunc(), Named::getID(), myEdges, myNumInternalEdges, and WRITE_ERROR.
Referenced by addDistrict(), and RONetHandler::parseEdge().
bool RONet::addFlow | ( | SUMOVehicleParameter * | flow, |
const bool | randomize | ||
) |
Definition at line 343 of file RONet.cpp.
References NamedObjectCont< T >::add(), SUMOVehicleParameter::depart, SUMOVehicleParameter::id, myDepartures, myFlows, RandHelper::rand(), SUMOVehicleParameter::repetitionNumber, and SUMOVehicleParameter::repetitionOffset.
Referenced by RORouteHandler::closeFlow(), and getRouteDef().
void RONet::addNode | ( | RONode * | node | ) |
Definition at line 175 of file RONet.cpp.
References NamedObjectCont< T >::add(), Named::getID(), myNodes, and WRITE_ERROR.
Referenced by getEdgeForLaneID(), RONetHandler::parseEdge(), and RONetHandler::parseJunction().
bool RONet::addPerson | ( | ROPerson * | person | ) |
Definition at line 357 of file RONet.cpp.
References RORoutable::getDepart(), RORoutable::getID(), myPersonIDs, myRoutables, and WRITE_ERROR.
Referenced by RORouteHandler::closePerson(), and getRouteDef().
void RONet::addRestriction | ( | const std::string & | id, |
const SUMOVehicleClass | svc, | ||
const SUMOReal | speed | ||
) |
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 106 of file RONet.cpp.
References myRestrictions.
Referenced by RONetHandler::myStartElement().
bool RONet::addRouteDef | ( | RORouteDef * | def | ) |
Definition at line 206 of file RONet.cpp.
References NamedObjectCont< T >::add(), Named::getID(), and myRoutes.
Referenced by RORouteHandler::closeRoute(), RORouteHandler::closeRouteDistribution(), and getContainerStop().
|
virtual |
Definition at line 330 of file RONet.cpp.
References RORoutable::getDepart(), myReadRouteNo, myRoutables, myVehIDs, and WRITE_ERROR.
Referenced by checkFlows(), RORouteHandler::closeVehicle(), and getRouteDef().
|
virtual |
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 307 of file RONet.cpp.
References NamedObjectCont< T >::add(), checkVType(), SUMOVTypeParameter::id, myVehicleTypes, and WRITE_ERROR.
Referenced by getContainerStop(), and RORouteHandler::myEndElement().
bool RONet::addVTypeDistribution | ( | const std::string & | id, |
RandomDistributor< SUMOVTypeParameter * > * | vehTypeDistribution | ||
) |
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 320 of file RONet.cpp.
References checkVType(), and myVTypeDistDict.
Referenced by RORouteHandler::closeVehicleTypeDistribution(), and getContainerStop().
|
private |
Definition at line 375 of file RONet.cpp.
References addVehicle(), RORouteDef::copy(), DEFAULT_VTYPE_ID, DELTA_T, SUMOVehicleParameter::depart, NamedObjectCont< T >::erase(), NamedObjectCont< T >::getMyMap(), getRouteDef(), getVehicleTypeSecure(), SUMOVTypeParameter::id, SUMOVehicleParameter::id, myDepartures, myFlows, RandHelper::rand(), SUMOVehicleParameter::repetitionEnd, SUMOVehicleParameter::repetitionNumber, SUMOVehicleParameter::repetitionOffset, SUMOVehicleParameter::repetitionProbability, SUMOVehicleParameter::repetitionsDone, SUMOVehicleParameter::routeid, SUMOVehicleParameter::stops, toString(), TS, and SUMOVehicleParameter::vtypeid.
Referenced by getRouteOutput(), and saveAndRemoveRoutesUntil().
bool RONet::checkVType | ( | const std::string & | id | ) |
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 282 of file RONet.cpp.
References DEFAULT_PEDTYPE_ID, DEFAULT_VTYPE_ID, NamedObjectCont< T >::get(), myDefaultPedTypeMayBeDeleted, myDefaultVTypeMayBeDeleted, myVehicleTypes, myVTypeDistDict, and NamedObjectCont< T >::remove().
Referenced by addVehicleType(), addVTypeDistribution(), and getContainerStop().
void RONet::cleanup | ( | ) |
closes the file output for computed routes and deletes associated threads if necessary
Definition at line 231 of file RONet.cpp.
References RouteCostCalculator< R, E, V >::cleanup(), OutputDevice::close(), myRouteAlternativesOutput, myRoutesOutput, and myTypesOutput.
Referenced by computeRoutes(), and getRouteDef().
|
private |
Definition at line 460 of file RONet.cpp.
References RORoutable::computeRoute(), RORoutable::getDepartEdge(), RORoutable::getID(), RORoutable::getMaxSpeed(), ROEdge::getNumericalID(), RORoutable::getVClass(), RouterProvider< E, L, N, V >::getVehicleRouter(), myErrorHandler, myRoutables, and WRITE_WARNING.
Referenced by getRouteOutput(), and saveAndRemoveRoutesUntil().
|
virtual |
Returns the information whether further vehicles, persons or containers are stored.
Definition at line 607 of file RONet.cpp.
References myContainers, myFlows, myRoutables, and NamedObjectCont< T >::size().
Referenced by getRouteDef(), ROLoader::openRoutes(), and ROLoader::processRoutes().
|
inline |
Retrieves a bus stop from the network.
[in] | name | The name of the stop to retrieve |
Definition at line 229 of file RONet.h.
References myBusStops.
Referenced by RORouteHandler::addStop().
|
inline |
Retrieves a container stop from the network.
[in] | name | The name of the stop to retrieve |
Definition at line 243 of file RONet.h.
References addRouteDef(), addVehicleType(), addVTypeDistribution(), checkVType(), getVehicleTypeSecure(), and myContainerStops.
Referenced by RORouteHandler::addStop().
|
inline |
Retrieves all TAZ (districts) from the network.
Definition at line 153 of file RONet.h.
References myDistricts.
Referenced by main().
|
inline |
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 165 of file RONet.h.
References NamedObjectCont< T >::get(), and myEdges.
Referenced by addDistrictEdge(), ROLoader::EdgeFloatTimeLineRetriever_EdgeWeight::addEdgeWeight(), ROLoader::EdgeFloatTimeLineRetriever_EdgeTravelTime::addEdgeWeight(), RORouteHandler::addPersonTrip(), RORouteHandler::addStop(), ROJTRTurnDefLoader::addToEdge(), ROJTRTurnDefLoader::beginFromEdge(), RODFNet::getDetectorEdge(), getEdgeForLaneID(), ROMAAssignments::getKPaths(), ROMAAssignments::incremental(), loadJTRDefinitions(), RONetHandler::myEndElement(), RODFDetectorHandler::myStartElement(), ROJTRTurnDefLoader::myStartElement(), RORouteHandler::myStartElement(), RONetHandler::parseConnection(), RORouteHandler::parseEdges(), RORouteHandler::parseFromViaTo(), AGActivityGenHandler::parseStreets(), ROMAAssignments::sue(), RODFDetectorCon::writeEmitters(), and RODFDetectorCon::writeSpeedTrigger().
|
inline |
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 175 of file RONet.h.
References addNode(), and getEdge().
Referenced by adaptIntermodalRouter(), ROVehicle::addStop(), RONetHandler::parseAccess(), and RONetHandler::parseStoppingPlace().
const std::map< std::string, ROEdge * > & RONet::getEdgeMap | ( | ) | const |
Definition at line 625 of file RONet.cpp.
References NamedObjectCont< T >::getMyMap(), and myEdges.
Referenced by RODFNet::buildApproachList(), AGCity::completeStreets(), getRouteDef(), ROMAAssignments::incremental(), initNet(), ROLoader::loadWeights(), ROMAAssignments::resetFlows(), ROMAAssignments::sue(), and writeInterval().
size_t RONet::getEdgeNo | ( | ) | const |
Returns the total number of edges the network contains including internal edges.
Definition at line 613 of file RONet.cpp.
References myEdges, and NamedObjectCont< T >::size().
Referenced by computeAllPairs(), computeRoutes(), getRouteDef(), and main().
|
static |
Returns the pointer to the unique instance of RONet (singleton).
Definition at line 66 of file RONet.cpp.
References myInstance.
Referenced by ROPerson::addTrip(), and ROEdge::getSuccessors().
int RONet::getInternalEdgeNumber | ( | ) | const |
Returns the number of internal edges the network contains.
Definition at line 619 of file RONet.cpp.
References myNumInternalEdges.
Referenced by computeAllPairs(), and getRouteDef().
|
inline |
Retrieves an node from the network.
[in] | name | The name of the node to retrieve |
Definition at line 197 of file RONet.h.
References addBusStop(), addContainerStop(), NamedObjectCont< T >::get(), and myNodes.
Referenced by RONetHandler::myEndElement(), RONetHandler::parseEdge(), and RONetHandler::parseJunction().
const std::map< SUMOVehicleClass, SUMOReal > * RONet::getRestrictions | ( | const std::string & | id | ) | const |
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 112 of file RONet.cpp.
References myRestrictions.
Referenced by RONetHandler::parseEdge().
|
inline |
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 327 of file RONet.h.
References adaptIntermodalRouter(), addContainer(), addFlow(), addPerson(), addVehicle(), cleanup(), furtherStored(), NamedObjectCont< T >::get(), getEdgeMap(), getEdgeNo(), getInternalEdgeNumber(), hasPermissions(), myRoutes, openOutput(), saveAndRemoveRoutesUntil(), and setPermissionsFound().
Referenced by checkFlows(), RORouteHandler::closeFlow(), RORouteHandler::closeRoute(), RORouteHandler::closeVehicle(), RORouteHandler::openRoute(), and RORouteHandler::openRouteDistribution().
|
inline |
Definition at line 432 of file RONet.h.
References checkFlows(), createBulkRouteRequests(), myRouteAlternativesOutput, myRoutesOutput, and operator=().
Referenced by computeRoutes().
SUMOVTypeParameter * RONet::getVehicleTypeSecure | ( | const std::string & | id | ) |
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 0 is returned
[in] | id | The id of the vehicle type to return |
Definition at line 255 of file RONet.cpp.
References DEFAULT_PEDTYPE_ID, DEFAULT_VTYPE_ID, NamedObjectCont< T >::get(), myDefaultPedTypeMayBeDeleted, myDefaultVTypeMayBeDeleted, myVehicleTypes, and myVTypeDistDict.
Referenced by ROPerson::addTrip(), checkFlows(), RORouteHandler::closeFlow(), RORouteHandler::closeVehicle(), computeRoutes(), getContainerStop(), RORouteHandler::myStartElement(), RORouteHandler::openVehicleTypeDistribution(), and ROMAAssignments::ROMAAssignments().
bool RONet::hasPermissions | ( | ) | const |
Definition at line 658 of file RONet.cpp.
References myHavePermissions.
Referenced by computeRoutes(), and getRouteDef().
void RONet::openOutput | ( | const std::string & | filename, |
const std::string | altFilename, | ||
const std::string | typeFilename | ||
) |
Opens the output for computed routes.
If the second parameter is set, a second file for route alternatives will be opened. If one of the file outputs can not be build, an IOError is thrown.
[in] | filename | The (base) name of the file(s) to create |
[in] | altFilename | The name of the file for writing alternatives, "" means no alternatives |
[in] | filename | The name of the vtype file to create, "" means no separate types |
Definition at line 212 of file RONet.cpp.
References OutputDevice::getDevice(), myRouteAlternativesOutput, myRoutesOutput, myTypesOutput, SUMO_TAG_ROUTES, OutputDevice::writeAttr(), OutputDevice::writeHeader(), and OutputDevice::writeXMLHeader().
Referenced by computeRoutes(), and getRouteDef().
Invalidated assignment operator.
Referenced by getRouteOutput().
SUMOTime RONet::saveAndRemoveRoutesUntil | ( | OptionsCont & | options, |
const RORouterProvider & | provider, | ||
SUMOTime | time | ||
) |
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 507 of file RONet.cpp.
References checkFlows(), RORoutable::computeRoute(), createBulkRouteRequests(), NamedObjectCont< T >::erase(), OptionsCont::getBool(), MsgHandler::getErrorInstance(), Named::getID(), OptionsCont::getInt(), ROVehicle::getRouteDefinition(), RORoutable::getRoutingSuccess(), MsgHandler::getWarningInstance(), MIN2(), myContainers, myDiscardedRouteNo, myErrorHandler, myReadRouteNo, myRoutables, myRouteAlternativesOutput, myRoutes, myRoutesOutput, myTypesOutput, myWrittenRouteNo, SUMOTime_MAX, toString(), RORoutable::write(), WRITE_MESSAGE, and OutputDevice::writePreformattedTag().
Referenced by getRouteDef(), and ROLoader::processRoutes().
void RONet::setPermissionsFound | ( | ) |
Definition at line 664 of file RONet.cpp.
References myErrorHandler, and myHavePermissions.
Referenced by getRouteDef(), and RONetHandler::parseLane().
|
private |
Known bus stops.
Definition at line 491 of file RONet.h.
Referenced by adaptIntermodalRouter(), addBusStop(), and getBusStop().
|
private |
Definition at line 521 of file RONet.h.
Referenced by addContainer(), furtherStored(), and saveAndRemoveRoutesUntil().
|
private |
Known container stops.
Definition at line 494 of file RONet.h.
Referenced by addContainerStop(), and getContainerStop().
|
private |
Whether no pedestrian type has been loaded yet.
Definition at line 508 of file RONet.h.
Referenced by checkVType(), and getVehicleTypeSecure().
|
private |
Whether no vehicle type has been loaded yet.
Definition at line 505 of file RONet.h.
Referenced by checkVType(), and getVehicleTypeSecure().
|
private |
Departure times for randomized flows.
Definition at line 524 of file RONet.h.
Referenced by addFlow(), and checkFlows().
|
private |
The number of discarded routes.
Definition at line 542 of file RONet.h.
Referenced by saveAndRemoveRoutesUntil().
|
private |
traffic assignment zones with sources and sinks
Definition at line 527 of file RONet.h.
Referenced by addDistrict(), addDistrictEdge(), and getDistricts().
|
private |
Known edges.
Definition at line 488 of file RONet.h.
Referenced by addEdge(), getEdge(), getEdgeMap(), getEdgeNo(), and ~RONet().
|
private |
handler for ignorable error messages
Definition at line 557 of file RONet.h.
Referenced by createBulkRouteRequests(), saveAndRemoveRoutesUntil(), and setPermissionsFound().
|
private |
Known flows.
Definition at line 517 of file RONet.h.
Referenced by adaptIntermodalRouter(), addFlow(), checkFlows(), and furtherStored().
|
private |
Whether the network contains edges which not all vehicles may pass.
Definition at line 548 of file RONet.h.
Referenced by hasPermissions(), and setPermissionsFound().
|
staticprivate |
Unique instance of RONet.
Definition at line 476 of file RONet.h.
Referenced by adaptIntermodalRouter(), getInstance(), and RONet().
|
private |
|
private |
The number of internal edges in the dictionary.
Definition at line 554 of file RONet.h.
Referenced by addEdge(), and getInternalEdgeNumber().
|
private |
|
private |
The number of read routes.
Definition at line 539 of file RONet.h.
Referenced by addVehicle(), and saveAndRemoveRoutesUntil().
|
private |
The vehicle class specific speed restrictions.
Definition at line 551 of file RONet.h.
Referenced by addRestriction(), and getRestrictions().
|
private |
Known routables.
Definition at line 514 of file RONet.h.
Referenced by adaptIntermodalRouter(), addPerson(), addVehicle(), createBulkRouteRequests(), furtherStored(), saveAndRemoveRoutesUntil(), and ~RONet().
|
private |
The file to write the computed route alternatives into.
Definition at line 533 of file RONet.h.
Referenced by cleanup(), getRouteOutput(), openOutput(), and saveAndRemoveRoutesUntil().
|
private |
Known routes.
Definition at line 511 of file RONet.h.
Referenced by addRouteDef(), getRouteDef(), saveAndRemoveRoutesUntil(), and ~RONet().
|
private |
The file to write the computed routes into.
Definition at line 530 of file RONet.h.
Referenced by cleanup(), getRouteOutput(), openOutput(), and saveAndRemoveRoutesUntil().
|
private |
The file to write the vehicle types into.
Definition at line 536 of file RONet.h.
Referenced by cleanup(), openOutput(), and saveAndRemoveRoutesUntil().
|
private |
Known vehicle types.
Definition at line 497 of file RONet.h.
Referenced by addVehicleType(), checkVType(), getVehicleTypeSecure(), RONet(), and ~RONet().
|
private |
|
private |
A distribution of vehicle types (probability->vehicle type)
Definition at line 502 of file RONet.h.
Referenced by addVTypeDistribution(), checkVType(), and getVehicleTypeSecure().
|
private |
The number of written routes.
Definition at line 545 of file RONet.h.
Referenced by saveAndRemoveRoutesUntil().