SUMO - Simulation of Urban MObility
RONet Class Reference

The router's network representation. More...

#include <RONet.h>

Inheritance diagram for RONet:
Inheritance graph
Collaboration diagram for RONet:
Collaboration graph

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 (SUMOAbstractRouter< ROEdge, ROVehicle > *router)
 closes the file output for computed routes and deletes routers and 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...
 
OutputDevicegetRouteOutput (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...
 
ROEdgegetEdge (const std::string &name) const
 Retrieves an edge from the network. More...
 
void addNode (RONode *node)
 
RONodegetNode (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::StopgetBusStop (const std::string &id) const
 Retrieves a bus stop from the network. More...
 
const SUMOVehicleParameter::StopgetContainerStop (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...
 
SUMOVTypeParametergetVehicleTypeSecure (const std::string &id)
 Retrieves the named vehicle type. More...
 
bool addRouteDef (RORouteDef *def)
 
RORouteDefgetRouteDef (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)
 
void addPerson (const SUMOTime depart, const std::string desc)
 
void addContainer (const SUMOTime depart, const std::string desc)
 
Processing stored vehicle definitions
SUMOTime saveAndRemoveRoutesUntil (OptionsCont &options, SUMOAbstractRouter< ROEdge, ROVehicle > &router, 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 RONetgetInstance ()
 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::multimap< const SUMOTime, const std::string > PersonMap
 Known persons. More...
 
typedef std::map< std::string, RandomDistributor< SUMOVTypeParameter * > * > VTypeDistDictType
 Vehicle type distribution dictionary type. More...
 

Private Member Functions

void checkFlows (SUMOTime time)
 
void createBulkRouteRequests (SUMOAbstractRouter< ROEdge, ROVehicle > &router, const SUMOTime time, const bool removeLoops, const std::map< std::string, ROVehicle * > &mmap)
 
ROVehicleContgetVehicles ()
 return vehicles for use by RouteAggregator More...
 
RONetoperator= (const RONet &src)
 Invalidated assignment operator. More...
 
 RONet (const RONet &src)
 Invalidated copy constructor. More...
 

Static Private Member Functions

static bool computeRoute (SUMOAbstractRouter< ROEdge, ROVehicle > &router, const ROVehicle *const veh, const bool removeLoops, MsgHandler *errorHandler)
 

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 myDefaultVTypeMayBeDeleted
 Whether no vehicle type was loaded. 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...
 
MsgHandlermyErrorHandler
 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...
 
PersonMap myPersons
 
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...
 
OutputDevicemyRouteAlternativesOutput
 The file to write the computed route alternatives into. More...
 
NamedObjectCont< RORouteDef * > myRoutes
 Known routes. More...
 
OutputDevicemyRoutesOutput
 The file to write the computed routes into. More...
 
OutputDevicemyTypesOutput
 The file to write the vehicle types into. More...
 
ROVehicleCont myVehicles
 Known vehicles. 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 RONetmyInstance = 0
 Unique instance of RONet. More...
 

Detailed Description

The router's network representation.

A router network is responsible for watching loaded edges, nodes,!!!

Todo:
Vehicle ids are not tracked; it may happen that the same id is added twice...

Definition at line 72 of file RONet.h.

Member Typedef Documentation

typedef std::multimap<const SUMOTime, const std::string> RONet::ContainerMap
private

Known containers.

Definition at line 491 of file RONet.h.

typedef std::multimap<const SUMOTime, const std::string> RONet::PersonMap
private

Known persons.

Definition at line 487 of file RONet.h.

typedef std::map< std::string, RandomDistributor<SUMOVTypeParameter*>* > RONet::VTypeDistDictType
private

Vehicle type distribution dictionary type.

Definition at line 470 of file RONet.h.

Constructor & Destructor Documentation

RONet::~RONet ( )
virtual

Destructor.

Definition at line 91 of file RONet.cpp.

References ROVehicleCont::clear(), NamedObjectCont< T >::clear(), myEdges, myNodes, myRoutes, myVehicles, and myVehicleTypes.

RONet::RONet ( const RONet src)
private

Invalidated copy constructor.

Member Function Documentation

void RONet::addBusStop ( const std::string &  id,
SUMOVehicleParameter::Stop stop 
)

Definition at line 179 of file RONet.cpp.

References myBusStops, and WRITE_ERROR.

Referenced by getNode(), and RONetHandler::parseBusStop().

void RONet::addContainer ( const SUMOTime  depart,
const std::string  desc 
)

Definition at line 348 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 190 of file RONet.cpp.

References myContainerStops, and WRITE_ERROR.

Referenced by getNode(), and RONetHandler::parseContainerStop().

bool RONet::addDistrict ( const std::string  id,
ROEdge source,
ROEdge sink 
)

Definition at line 131 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 
)
bool RONet::addEdge ( ROEdge edge)
virtual
void RONet::addNode ( RONode node)
void RONet::addPerson ( const SUMOTime  depart,
const std::string  desc 
)

Definition at line 343 of file RONet.cpp.

References myPersons.

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.

Parameters
[in]idThe id of the type
[in]svcThe vehicle class the restriction refers to
[in]speedThe restricted speed

Definition at line 101 of file RONet.cpp.

References myRestrictions.

Referenced by RONetHandler::myStartElement().

bool RONet::addRouteDef ( RORouteDef def)
bool RONet::addVehicle ( const std::string &  id,
ROVehicle veh 
)
virtual
bool RONet::addVehicleType ( SUMOVTypeParameter type)
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.

Parameters
[in]defThe vehicle type to add
Returns
Whether the vehicle type could be added

Definition at line 294 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.

Parameters
[in]idThe id of the distribution to add
[in]vehTypeDistributionThe vehicle type distribution to add
Returns
Whether the vehicle type could be added

Definition at line 307 of file RONet.cpp.

References checkVType(), and myVTypeDistDict.

Referenced by RORouteHandler::closeVehicleTypeDistribution(), and getContainerStop().

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

Parameters
[in]idThe id of the vehicle type (distribution) to add
Returns
Whether the type (distribution) may be added

Definition at line 276 of file RONet.cpp.

References DEFAULT_VTYPE_ID, NamedObjectCont< T >::get(), myDefaultVTypeMayBeDeleted, myVehicleTypes, myVTypeDistDict, and NamedObjectCont< T >::remove().

Referenced by addVehicleType(), addVTypeDistribution(), and getContainerStop().

void RONet::cleanup ( SUMOAbstractRouter< ROEdge, ROVehicle > *  router)

closes the file output for computed routes and deletes routers and associated threads if necessary

Definition at line 226 of file RONet.cpp.

References RouteCostCalculator< R, E, V >::cleanup(), OutputDevice::close(), myRouteAlternativesOutput, myRoutesOutput, and myTypesOutput.

Referenced by computeRoutes(), and getRouteDef().

bool RONet::furtherStored ( )
virtual

Returns the information whether further vehicles, persons or containers are stored.

Definition at line 612 of file RONet.cpp.

References myContainers, myFlows, myPersons, myVehicles, and NamedObjectCont< T >::size().

Referenced by getRouteDef(), ROLoader::openRoutes(), and ROLoader::processRoutes().

const SUMOVehicleParameter::Stop* RONet::getBusStop ( const std::string &  id) const
inline

Retrieves a bus stop from the network.

Parameters
[in]nameThe name of the stop to retrieve
Returns
The named stop if known, otherwise 0

Definition at line 212 of file RONet.h.

References myBusStops.

Referenced by RORouteHandler::addStop().

const SUMOVehicleParameter::Stop* RONet::getContainerStop ( const std::string &  id) const
inline

Retrieves a container stop from the network.

Parameters
[in]nameThe name of the stop to retrieve
Returns
The named stop if known, otherwise 0

Definition at line 226 of file RONet.h.

References addRouteDef(), addVehicleType(), addVTypeDistribution(), checkVType(), getVehicleTypeSecure(), and myContainerStops.

Referenced by RORouteHandler::addStop().

const std::map<std::string, std::pair<std::vector<std::string>, std::vector<std::string> > >& RONet::getDistricts ( ) const
inline

Retrieves all TAZ (districts) from the network.

Returns
The map of all districts

Definition at line 146 of file RONet.h.

References myDistricts.

Referenced by main().

size_t RONet::getEdgeNo ( ) const

Returns the total number of edges the network contains including internal edges.

Definition at line 618 of file RONet.cpp.

References myEdges, and NamedObjectCont< T >::size().

Referenced by computeAllPairs(), computeRoutes(), getRouteDef(), and main().

RONet * RONet::getInstance ( void  )
static

Returns the pointer to the unique instance of RONet (singleton).

Returns
Pointer to the unique RONet-instance

Definition at line 65 of file RONet.cpp.

References myInstance.

Referenced by ROEdge::getSuccessors().

int RONet::getInternalEdgeNumber ( ) const

Returns the number of internal edges the network contains.

Definition at line 624 of file RONet.cpp.

References myNumInternalEdges.

Referenced by computeAllPairs(), and getRouteDef().

RONode* RONet::getNode ( const std::string &  id) const
inline

Retrieves an node from the network.

Parameters
[in]nameThe name of the node to retrieve
Returns
The named node if known, otherwise 0
Todo:
Check whether a const pointer may be returned

Definition at line 180 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.

Parameters
[in]idThe id of the type
Returns
The mapping of vehicle classes to maximum speeds

Definition at line 107 of file RONet.cpp.

References myRestrictions.

Referenced by RONetHandler::parseEdge().

RORouteDef* RONet::getRouteDef ( const std::string &  name) const
inline

Returns the named route definition.

Parameters
[in]nameThe name of the route definition to retrieve
Returns
The named route definition if known, otherwise 0
Todo:

Check whether a const pointer may be returned

Rename myRoutes to myRouteDefinitions

Definition at line 310 of file RONet.h.

References 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().

OutputDevice* RONet::getRouteOutput ( const bool  alternative = false)
inline

Definition at line 414 of file RONet.h.

References computeRoute(), myRouteAlternativesOutput, and myRoutesOutput.

Referenced by computeRoutes().

ROVehicleCont& RONet::getVehicles ( )
inlineprivate

return vehicles for use by RouteAggregator

Definition at line 438 of file RONet.h.

References checkFlows(), createBulkRouteRequests(), and myVehicles.

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

Parameters
[in]idThe id of the vehicle type to return
Returns
The named vehicle type
Todo:
Check whether a const pointer may be returned

Definition at line 252 of file RONet.cpp.

References DEFAULT_VTYPE_ID, NamedObjectCont< T >::get(), myDefaultVTypeMayBeDeleted, myVehicleTypes, and myVTypeDistDict.

Referenced by checkFlows(), RORouteHandler::closeFlow(), RORouteHandler::closeVehicle(), computeRoutes(), getContainerStop(), RORouteHandler::openVehicleTypeDistribution(), and ROMAAssignments::ROMAAssignments().

bool RONet::hasPermissions ( ) const

Definition at line 636 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.

Parameters
[in]filenameThe (base) name of the file(s) to create
[in]altFilenameThe name of the file for writing alternatives, "" means no alternatives
[in]filenameThe name of the vtype file to create, "" means no separate types

Definition at line 207 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().

RONet& RONet::operator= ( const RONet src)
private

Invalidated assignment operator.

SUMOTime RONet::saveAndRemoveRoutesUntil ( OptionsCont options,
SUMOAbstractRouter< ROEdge, ROVehicle > &  router,
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.

Parameters
[in]optionsThe options used during this process
[in]routerThe router to use for routes computation
[in]timeThe time until which route definitions shall be processed
Returns
The last seen departure time>=time

Definition at line 503 of file RONet.cpp.

References checkFlows(), SUMOAbstractRouter< E, V >::clone(), computeRoute(), createBulkRouteRequests(), ROVehicleCont::erase(), NamedObjectCont< T >::erase(), OptionsCont::getBool(), ROVehicle::getDepart(), Named::getID(), ROVehicle::getID(), OptionsCont::getInt(), NamedObjectCont< T >::getMyMap(), ROVehicle::getRouteDefinition(), ROVehicle::getRoutingSuccess(), ROVehicleCont::getTopVehicle(), MIN3(), myContainers, myDiscardedRouteNo, myErrorHandler, myPersons, myReadRouteNo, myRouteAlternativesOutput, myRoutes, myRoutesOutput, myTypesOutput, myVehicles, myWrittenRouteNo, ROVehicle::saveAllAsXML(), ROVehicle::saveTypeAsXML(), ROVehicle::setRoutingSuccess(), NamedObjectCont< T >::size(), SUMOTime_MAX, toString(), WRITE_MESSAGE, and OutputDevice::writePreformattedTag().

Referenced by getRouteDef(), and ROLoader::processRoutes().

void RONet::setPermissionsFound ( )

Definition at line 642 of file RONet.cpp.

References computeRoute(), myErrorHandler, and myHavePermissions.

Referenced by getRouteDef(), and RONetHandler::parseLane().

Field Documentation

std::map<std::string, SUMOVehicleParameter::Stop*> RONet::myBusStops
private

Known bus stops.

Definition at line 461 of file RONet.h.

Referenced by addBusStop(), and getBusStop().

ContainerMap RONet::myContainers
private

Definition at line 492 of file RONet.h.

Referenced by addContainer(), furtherStored(), and saveAndRemoveRoutesUntil().

std::map<std::string, SUMOVehicleParameter::Stop*> RONet::myContainerStops
private

Known container stops.

Definition at line 464 of file RONet.h.

Referenced by addContainerStop(), and getContainerStop().

bool RONet::myDefaultVTypeMayBeDeleted
private

Whether no vehicle type was loaded.

Definition at line 475 of file RONet.h.

Referenced by checkVType(), and getVehicleTypeSecure().

std::map<std::string, std::vector<SUMOTime> > RONet::myDepartures
private

Departure times for randomized flows.

Definition at line 495 of file RONet.h.

Referenced by addFlow(), and checkFlows().

unsigned int RONet::myDiscardedRouteNo
private

The number of discarded routes.

Definition at line 513 of file RONet.h.

Referenced by saveAndRemoveRoutesUntil().

std::map<std::string, std::pair<std::vector<std::string>, std::vector<std::string> > > RONet::myDistricts
private

traffic assignment zones with sources and sinks

Definition at line 498 of file RONet.h.

Referenced by addDistrict(), addDistrictEdge(), and getDistricts().

NamedObjectCont<ROEdge*> RONet::myEdges
private

Known edges.

Definition at line 458 of file RONet.h.

Referenced by addEdge(), getEdge(), getEdgeMap(), getEdgeNo(), and ~RONet().

MsgHandler* RONet::myErrorHandler
private

handler for ignorable error messages

Definition at line 528 of file RONet.h.

Referenced by createBulkRouteRequests(), saveAndRemoveRoutesUntil(), and setPermissionsFound().

NamedObjectCont<SUMOVehicleParameter*> RONet::myFlows
private

Known flows.

Definition at line 484 of file RONet.h.

Referenced by addFlow(), checkFlows(), and furtherStored().

bool RONet::myHavePermissions
private

Whether the network contains edges which not all vehicles may pass.

Definition at line 519 of file RONet.h.

Referenced by hasPermissions(), and setPermissionsFound().

RONet * RONet::myInstance = 0
staticprivate

Unique instance of RONet.

Definition at line 449 of file RONet.h.

Referenced by getInstance(), and RONet().

NamedObjectCont<RONode*> RONet::myNodes
private

Known nodes.

Definition at line 455 of file RONet.h.

Referenced by addNode(), getNode(), and ~RONet().

int RONet::myNumInternalEdges
private

The number of internal edges in the dictionary.

Definition at line 525 of file RONet.h.

Referenced by addEdge(), and getInternalEdgeNumber().

PersonMap RONet::myPersons
private

Definition at line 488 of file RONet.h.

Referenced by addPerson(), furtherStored(), and saveAndRemoveRoutesUntil().

unsigned int RONet::myReadRouteNo
private

The number of read routes.

Definition at line 510 of file RONet.h.

Referenced by addVehicle(), and saveAndRemoveRoutesUntil().

std::map<std::string, std::map<SUMOVehicleClass, SUMOReal> > RONet::myRestrictions
private

The vehicle class specific speed restrictions.

Definition at line 522 of file RONet.h.

Referenced by addRestriction(), and getRestrictions().

OutputDevice* RONet::myRouteAlternativesOutput
private

The file to write the computed route alternatives into.

Definition at line 504 of file RONet.h.

Referenced by cleanup(), getRouteOutput(), openOutput(), and saveAndRemoveRoutesUntil().

NamedObjectCont<RORouteDef*> RONet::myRoutes
private

Known routes.

Definition at line 478 of file RONet.h.

Referenced by addRouteDef(), getRouteDef(), saveAndRemoveRoutesUntil(), and ~RONet().

OutputDevice* RONet::myRoutesOutput
private

The file to write the computed routes into.

Definition at line 501 of file RONet.h.

Referenced by cleanup(), getRouteOutput(), openOutput(), and saveAndRemoveRoutesUntil().

OutputDevice* RONet::myTypesOutput
private

The file to write the vehicle types into.

Definition at line 507 of file RONet.h.

Referenced by cleanup(), openOutput(), and saveAndRemoveRoutesUntil().

ROVehicleCont RONet::myVehicles
private

Known vehicles.

Definition at line 481 of file RONet.h.

Referenced by addVehicle(), furtherStored(), getVehicles(), saveAndRemoveRoutesUntil(), and ~RONet().

NamedObjectCont<SUMOVTypeParameter*> RONet::myVehicleTypes
private

Known vehicle types.

Definition at line 467 of file RONet.h.

Referenced by addVehicleType(), checkVType(), getVehicleTypeSecure(), RONet(), and ~RONet().

std::set<std::string> RONet::myVehIDs
private

Known vehicle ids.

Definition at line 452 of file RONet.h.

Referenced by addVehicle().

VTypeDistDictType RONet::myVTypeDistDict
private

A distribution of vehicle types (probability->vehicle type)

Definition at line 472 of file RONet.h.

Referenced by addVTypeDistribution(), checkVType(), and getVehicleTypeSecure().

unsigned int RONet::myWrittenRouteNo
private

The number of written routes.

Definition at line 516 of file RONet.h.

Referenced by saveAndRemoveRoutesUntil().


The documentation for this class was generated from the following files: