SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RODFNet Class Reference

A DFROUTER-network. More...

#include <RODFNet.h>

Inheritance diagram for RODFNet:
RONet

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 Member Functions

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 allEndFollower, bool keepUnfoundEnds, bool includeInBetween, bool keepShortestOnly, int maxFollowingLength) const
 
void closeOutput ()
 closes the file output for computed routes More...
 
void computeTypes (RODFDetectorCon &dets, bool sourcesStrict) const
 
SUMOReal getAbsPos (const RODFDetector &det) const
 
const std::vector< std::string > & getDetectorList (ROEdge *edge) const
 
const std::map< std::string,
ROEdge * > & 
getEdgeMap () const
 
unsigned int getEdgeNo () const
 Returns the number of edges thenetwork contains. More...
 
OutputDevicegetRouteOutput (const bool alternative=false)
 
bool hasDetector (ROEdge *edge) const
 
bool hasRestrictions () const
 
void mesoJoin (RODFDetectorCon &detectors, RODFDetectorFlows &flows)
 
void openOutput (const std::string &filename, const std::string altFilename, const std::string typeFilename)
 Opens the output for computed routes. More...
 
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. More...
 
void setRestrictionFound ()
 
 ~RODFNet ()
 Destructor. More...
 
Insertion and retrieval of graph parts
virtual bool addEdge (ROEdge *edge)
 
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...
 
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)
 
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 are stored. More...
 

Protected Types

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...
 

Protected Member Functions

void buildDetectorEdgeDependencies (RODFDetectorCon &dets) const
 
void checkFlows (SUMOTime time)
 
bool computeRoute (OptionsCont &options, SUMOAbstractRouter< ROEdge, ROVehicle > &router, const ROVehicle *const veh)
 
void computeRoutesFor (ROEdge *edge, RODFRouteDesc &base, int no, bool keepUnfoundEnds, bool keepShortestOnly, std::vector< ROEdge * > &visited, const RODFDetector &det, RODFRouteCont &into, const RODFDetectorCon &detectors, int maxFollowingLength, std::vector< ROEdge * > &seen) const
 
ROEdgegetDetectorEdge (const RODFDetector &det) const
 
ROVehicleContgetVehicles ()
 return vehicles for use by RouteAggregator More...
 
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 isDestination (const RODFDetector &det, const RODFDetectorCon &detectors) const
 
bool isDestination (const RODFDetector &det, ROEdge *edge, std::vector< ROEdge * > &seen, const RODFDetectorCon &detectors) const
 
bool isFalseSource (const RODFDetector &det, const RODFDetectorCon &detectors) const
 
bool isFalseSource (const RODFDetector &det, ROEdge *edge, std::vector< ROEdge * > &seen, const RODFDetectorCon &detectors) const
 
bool isSource (const RODFDetector &det, const RODFDetectorCon &detectors, bool strict) const
 
bool isSource (const RODFDetector &det, ROEdge *edge, std::vector< ROEdge * > &seen, const RODFDetectorCon &detectors, bool strict) const
 
void revalidateFlows (const RODFDetector *detector, RODFDetectorFlows &flows, SUMOTime startTime, SUMOTime endTime, SUMOTime stepOffset)
 

Protected Attributes

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...
 
NamedObjectCont< ROEdge * > myEdges
 Known edges. More...
 
NamedObjectCont
< SUMOVehicleParameter * > 
myFlows
 Known flows. More...
 
bool myHaveRestrictions
 Whether the network contains edges which not all vehicles may pass. More...
 
NamedObjectCont< RONode * > myNodes
 Known nodes. More...
 
PersonMap myPersons
 
unsigned int myReadRouteNo
 The number of read routes. 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...
 

Private Attributes

bool myAmInHighwayMode
 
std::map< ROEdge
*, std::vector< ROEdge * > > 
myApproachedEdges
 Map of edge name->list of names of edges approached by this edge. More...
 
std::map< ROEdge
*, std::vector< ROEdge * > > 
myApproachingEdges
 Map of edge name->list of names of this edge approaching edges. More...
 
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. More...
 
size_t myInBetweenNumber
 
size_t myInvalidNumber
 
bool myKeepTurnarounds
 
size_t mySinkNumber
 
size_t mySourceNumber
 

Detailed Description

A DFROUTER-network.

Definition at line 51 of file RODFNet.h.

Member Typedef Documentation

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

Known persons.

Definition at line 349 of file RONet.h.

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

Vehicle type distribution dictionary type.

Definition at line 332 of file RONet.h.

Constructor & Destructor Documentation

RODFNet::RODFNet ( bool  amInHighwayMode)

Constructor.

Parameters
[in]amInHighwayModeWhether search for following edges shall stop at slow edges

Definition at line 56 of file RODFNet.cpp.

References OptionsCont::getBool(), OptionsCont::getOptions(), OptionsCont::getStringVector(), myDisallowedEdges, and myKeepTurnarounds.

RODFNet::~RODFNet ( )

Destructor.

Definition at line 64 of file RODFNet.cpp.

Member Function Documentation

bool RONet::addEdge ( ROEdge edge)
virtualinherited
void RONet::addNode ( RONode node)
inherited
void RONet::addPerson ( const SUMOTime  depart,
const std::string  desc 
)
inherited

Definition at line 240 of file RONet.cpp.

References RONet::myPersons.

Referenced by RORouteHandler::closePerson().

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

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

Definition at line 191 of file RONet.cpp.

References NamedObjectCont< T >::add(), RONet::checkVType(), SUMOVTypeParameter::id, RONet::myVehicleTypes, and WRITE_ERROR.

Referenced by RONet::getVehicleTypeSecure(), and RORouteHandler::myEndElement().

bool RONet::addVTypeDistribution ( const std::string &  id,
RandomDistributor< SUMOVTypeParameter * > *  vehTypeDistribution 
)
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.

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 204 of file RONet.cpp.

References RONet::checkVType(), and RONet::myVTypeDistDict.

Referenced by RORouteHandler::closeVehicleTypeDistribution().

void RODFNet::buildDetectorDependencies ( RODFDetectorCon detectors)
void RODFNet::buildDetectorEdgeDependencies ( RODFDetectorCon dets) const
protected
bool RONet::checkVType ( const std::string &  id)
inherited

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 173 of file RONet.cpp.

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

Referenced by RONet::addVehicleType(), and RONet::addVTypeDistribution().

void RONet::closeOutput ( )
inherited

closes the file output for computed routes

Definition at line 125 of file RONet.cpp.

References OutputDevice::close(), RONet::myRouteAlternativesOutput, RONet::myRoutesOutput, and RONet::myTypesOutput.

Referenced by computeRoutes().

bool RONet::furtherStored ( )
virtualinherited

Returns the information whether further vehicles are stored.

Definition at line 376 of file RONet.cpp.

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

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

SUMOReal RODFNet::getAbsPos ( const RODFDetector det) const

Definition at line 679 of file RODFNet.cpp.

References getDetectorEdge(), ROEdge::getLength(), and RODFDetector::getPos().

Referenced by isDestination(), and isSource().

ROEdge * RODFNet::getDetectorEdge ( const RODFDetector det) const
protected
const std::vector< std::string > & RODFNet::getDetectorList ( ROEdge edge) const

Definition at line 673 of file RODFNet.cpp.

References myDetectorsOnEdges.

ROEdge* RONet::getEdge ( const std::string &  name) const
inlineinherited
const std::map< std::string, ROEdge * > & RONet::getEdgeMap ( ) const
inherited
unsigned int RONet::getEdgeNo ( ) const
inherited

Returns the number of edges thenetwork contains.

Definition at line 382 of file RONet.cpp.

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

Referenced by computeRoutes(), and main().

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

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 123 of file RONet.h.

References NamedObjectCont< T >::get(), and RONet::myNodes.

Referenced by RONetHandler::parseEdge(), and RONetHandler::parseJunction().

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

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 205 of file RONet.h.

References NamedObjectCont< T >::get(), and RONet::myRoutes.

Referenced by RONet::checkFlows(), RORouteHandler::closeFlow(), RORouteHandler::closeRoute(), RORouteHandler::closeVehicle(), RORouteHandler::openRoute(), and RORouteHandler::openRouteDistribution().

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

Definition at line 298 of file RONet.h.

References RONet::myRouteAlternativesOutput, and RONet::myRoutesOutput.

ROVehicleCont& RONet::getVehicles ( )
inlineprotectedinherited

return vehicles for use by RouteAggregator

Definition at line 310 of file RONet.h.

References RONet::myVehicles.

SUMOVTypeParameter * RONet::getVehicleTypeSecure ( const std::string &  id)
inherited

Retrieves the named vehicle type.

If the named vehicle type was not added to the net before, a default vehicle type which consists of the id only is generated, added to the net and returned.

Only if the name is "", 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 143 of file RONet.cpp.

References RONet::addVehicleType(), DEFAULT_VTYPE_ID, NamedObjectCont< T >::get(), SUMOVTypeParameter::id, RONet::myDefaultVTypeMayBeDeleted, RONet::myVehicleTypes, RONet::myVTypeDistDict, and SUMOVTypeParameter::onlyReferenced.

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

bool RODFNet::hasApproached ( ROEdge edge) const
protected

Definition at line 655 of file RODFNet.cpp.

References myApproachedEdges.

Referenced by computeRoutesFor(), and isDestination().

bool RODFNet::hasApproaching ( ROEdge edge) const
protected

Definition at line 646 of file RODFNet.cpp.

References myApproachingEdges.

Referenced by isSource().

bool RODFNet::hasInBetweenDetectorsOnly ( ROEdge edge,
const RODFDetectorCon detectors 
) const
protected
bool RONet::hasRestrictions ( ) const
inherited

Definition at line 394 of file RONet.cpp.

References RONet::myHaveRestrictions.

Referenced by computeRoutes().

bool RODFNet::hasSourceDetector ( ROEdge edge,
const RODFDetectorCon detectors 
) const
protected
bool RODFNet::isDestination ( const RODFDetector det,
const RODFDetectorCon detectors 
) const
protected

Definition at line 702 of file RODFNet.cpp.

References getDetectorEdge().

Referenced by computeTypes(), and isDestination().

bool RODFNet::isDestination ( const RODFDetector det,
ROEdge edge,
std::vector< ROEdge * > &  seen,
const RODFDetectorCon detectors 
) const
protected
bool RODFNet::isFalseSource ( const RODFDetector det,
const RODFDetectorCon detectors 
) const
protected

Definition at line 695 of file RODFNet.cpp.

References getDetectorEdge().

Referenced by computeTypes(), and isFalseSource().

bool RODFNet::isSource ( const RODFDetector det,
const RODFDetectorCon detectors,
bool  strict 
) const
protected

Definition at line 687 of file RODFNet.cpp.

References getDetectorEdge().

Referenced by computeTypes(), and isSource().

bool RODFNet::isSource ( const RODFDetector det,
ROEdge edge,
std::vector< ROEdge * > &  seen,
const RODFDetectorCon detectors,
bool  strict 
) const
protected
void RONet::openOutput ( const std::string &  filename,
const std::string  altFilename,
const std::string  typeFilename 
)
inherited

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 106 of file RONet.cpp.

References OutputDevice::getDevice(), RONet::myRouteAlternativesOutput, RONet::myRoutesOutput, RONet::myTypesOutput, SUMO_TAG_ROUTES, OutputDevice::writeAttr(), OutputDevice::writeHeader(), and OutputDevice::writeXMLHeader().

Referenced by computeRoutes().

void RODFNet::removeEmptyDetectors ( RODFDetectorCon detectors,
RODFDetectorFlows flows 
)
void RODFNet::reportEmptyDetectors ( RODFDetectorCon detectors,
RODFDetectorFlows flows 
)

Definition at line 616 of file RODFNet.cpp.

References RODFDetectorCon::getDetectors(), RODFDetectorFlows::knows(), and WRITE_MESSAGE.

Referenced by startComputation().

void RODFNet::revalidateFlows ( const RODFDetectorCon detectors,
RODFDetectorFlows flows,
SUMOTime  startTime,
SUMOTime  endTime,
SUMOTime  stepOffset 
)

Definition at line 579 of file RODFNet.cpp.

References RODFDetectorCon::getDetectors().

Referenced by startComputation().

SUMOTime RONet::saveAndRemoveRoutesUntil ( OptionsCont options,
SUMOAbstractRouter< ROEdge, ROVehicle > &  router,
SUMOTime  time 
)
inherited

Computes routes described by their definitions and saves them.

As long a vehicle with a departure time not larger 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]optionsThe time until which route definitions shall be processed
Returns
The last seen departure time>=time

Definition at line 322 of file RONet.cpp.

References RONet::checkFlows(), RONet::computeRoute(), ROVehicleCont::erase(), NamedObjectCont< T >::erase(), OptionsCont::getBool(), ROVehicle::getDepartureTime(), Named::getID(), ROVehicle::getID(), OptionsCont::getInt(), ROVehicle::getRouteDefinition(), ROVehicleCont::getTopVehicle(), MIN2(), RONet::myDiscardedRouteNo, RONet::myPersons, RONet::myReadRouteNo, RONet::myRouteAlternativesOutput, RONet::myRoutes, RONet::myRoutesOutput, RONet::myTypesOutput, RONet::myVehicles, RONet::myWrittenRouteNo, ROVehicle::saveAllAsXML(), NamedObjectCont< T >::size(), SUMOTime_MAX, toString(), and WRITE_MESSAGE.

Referenced by ROLoader::processRoutes().

void RONet::setRestrictionFound ( )
inherited

Definition at line 400 of file RONet.cpp.

References RONet::myHaveRestrictions.

Referenced by RONetHandler::parseLane().

Field Documentation

bool RODFNet::myAmInHighwayMode
private

Definition at line 170 of file RODFNet.h.

Referenced by computeRoutesFor(), isDestination(), isFalseSource(), and isSource().

std::map<ROEdge*, std::vector<ROEdge*> > RODFNet::myApproachedEdges
private

Map of edge name->list of names of edges approached by this edge.

Definition at line 165 of file RODFNet.h.

Referenced by buildApproachList(), computeRoutesFor(), hasApproached(), isDestination(), isFalseSource(), and revalidateFlows().

std::map<ROEdge*, std::vector<ROEdge*> > RODFNet::myApproachingEdges
private

Map of edge name->list of names of this edge approaching edges.

Definition at line 162 of file RODFNet.h.

Referenced by buildApproachList(), hasApproaching(), isSource(), and revalidateFlows().

bool RONet::myDefaultVTypeMayBeDeleted
protectedinherited

Whether no vehicle type was loaded.

Definition at line 337 of file RONet.h.

Referenced by RONet::checkVType(), and RONet::getVehicleTypeSecure().

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

Departure times for randomized flows.

Definition at line 353 of file RONet.h.

Referenced by RONet::addFlow(), and RONet::checkFlows().

std::map<std::string, ROEdge*> RODFNet::myDetectorEdges
mutableprivate
std::vector<std::string> RODFNet::myDisallowedEdges
private

List of ids of edges that shall not be used.

Definition at line 174 of file RODFNet.h.

Referenced by buildApproachList(), and RODFNet().

unsigned int RONet::myDiscardedRouteNo
protectedinherited

The number of discarded routes.

Definition at line 368 of file RONet.h.

Referenced by RONet::saveAndRemoveRoutesUntil().

NamedObjectCont<ROEdge*> RONet::myEdges
protectedinherited

Known edges.

Definition at line 326 of file RONet.h.

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

NamedObjectCont<SUMOVehicleParameter*> RONet::myFlows
protectedinherited

Known flows.

Definition at line 346 of file RONet.h.

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

bool RONet::myHaveRestrictions
protectedinherited

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

Definition at line 374 of file RONet.h.

Referenced by RONet::hasRestrictions(), and RONet::setRestrictionFound().

size_t RODFNet::myInBetweenNumber
mutableprivate

Definition at line 171 of file RODFNet.h.

Referenced by computeTypes().

size_t RODFNet::myInvalidNumber
mutableprivate

Definition at line 171 of file RODFNet.h.

Referenced by computeTypes().

bool RODFNet::myKeepTurnarounds
private

Definition at line 177 of file RODFNet.h.

Referenced by buildApproachList(), and RODFNet().

NamedObjectCont<RONode*> RONet::myNodes
protectedinherited

Known nodes.

Definition at line 323 of file RONet.h.

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

PersonMap RONet::myPersons
protectedinherited

Definition at line 350 of file RONet.h.

Referenced by RONet::addPerson(), and RONet::saveAndRemoveRoutesUntil().

unsigned int RONet::myReadRouteNo
protectedinherited

The number of read routes.

Definition at line 365 of file RONet.h.

Referenced by RONet::addVehicle(), and RONet::saveAndRemoveRoutesUntil().

OutputDevice* RONet::myRouteAlternativesOutput
protectedinherited

The file to write the computed route alternatives into.

Definition at line 359 of file RONet.h.

Referenced by RONet::closeOutput(), RONet::getRouteOutput(), RONet::openOutput(), and RONet::saveAndRemoveRoutesUntil().

NamedObjectCont<RORouteDef*> RONet::myRoutes
protectedinherited

Known routes.

Definition at line 340 of file RONet.h.

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

OutputDevice* RONet::myRoutesOutput
protectedinherited

The file to write the computed routes into.

Definition at line 356 of file RONet.h.

Referenced by RONet::closeOutput(), RONet::getRouteOutput(), RONet::openOutput(), and RONet::saveAndRemoveRoutesUntil().

size_t RODFNet::mySinkNumber
mutableprivate

Definition at line 171 of file RODFNet.h.

Referenced by computeTypes().

size_t RODFNet::mySourceNumber
mutableprivate

Definition at line 171 of file RODFNet.h.

Referenced by computeTypes().

OutputDevice* RONet::myTypesOutput
protectedinherited

The file to write the vehicle types into.

Definition at line 362 of file RONet.h.

Referenced by RONet::closeOutput(), RONet::openOutput(), and RONet::saveAndRemoveRoutesUntil().

ROVehicleCont RONet::myVehicles
protectedinherited
NamedObjectCont<SUMOVTypeParameter*> RONet::myVehicleTypes
protectedinherited

Known vehicle types.

Definition at line 329 of file RONet.h.

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

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

Known vehicle ids.

Definition at line 320 of file RONet.h.

Referenced by RONet::addVehicle().

VTypeDistDictType RONet::myVTypeDistDict
protectedinherited

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

Definition at line 334 of file RONet.h.

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

unsigned int RONet::myWrittenRouteNo
protectedinherited

The number of written routes.

Definition at line 371 of file RONet.h.

Referenced by RONet::saveAndRemoveRoutesUntil().


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