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

A DFROUTER-network. More...

#include <RODFNet.h>

Inheritance diagram for RODFNet:
Inheritance graph
Collaboration diagram for RODFNet:
Collaboration graph

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::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 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 cleanup ()
 closes the file output for computed routes and deletes associated threads if necessary More...
 
void computeTypes (RODFDetectorCon &dets, bool sourcesStrict) const
 
SUMOReal getAbsPos (const RODFDetector &det) const
 
SUMOReal getAvgSpeedFactorLKW () const
 
SUMOReal getAvgSpeedFactorPKW () const
 
const std::vector< std::string > & getDetectorList (ROEdge *edge) const
 
const std::map< std::string,
ROEdge * > & 
getEdgeMap () const
 
int 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...
 
SUMOReal getMaxSpeedFactorLKW () const
 
SUMOReal getMaxSpeedFactorPKW () const
 
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 hasDetector (ROEdge *edge) const
 
bool hasPermissions () const
 
void mesoJoin (RODFDetectorCon &detectors, RODFDetectorFlows &flows)
 
void openOutput (const OptionsCont &options, const std::string altFilename="")
 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 setPermissionsFound ()
 
 ~RODFNet ()
 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...
 
ROEdgegetEdgeForLaneID (const std::string &laneID) const
 Retrieves an edge from the network when the lane id is given. 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)
 
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 RONetgetInstance ()
 Returns the pointer to the unique instance of RONet (singleton). More...
 

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
 
ROEdgegetDetectorEdge (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 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

bool myAmInHighwayMode
 
std::map< ROEdge *, ROEdgeVectormyApproachedEdges
 Map of edge name->list of names of edges approached by this edge. More...
 
std::map< ROEdge *, ROEdgeVectormyApproachingEdges
 Map of edge name->list of names of this edge approaching edges. More...
 
SUMOReal myAvgSpeedFactorLKW
 
SUMOReal 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. More...
 
int myInBetweenNumber
 
int myInvalidNumber
 
bool myKeepTurnarounds
 
SUMOReal myMaxSpeedFactorLKW
 
SUMOReal myMaxSpeedFactorPKW
 maximum speed factor in measurements More...
 
int mySinkNumber
 
int mySourceNumber
 

Detailed Description

A DFROUTER-network.

Definition at line 52 of file RODFNet.h.

Member Typedef Documentation

typedef std::map<const SUMOTime, std::deque<RORoutable*> > RONet::RoutablesMap
inherited

Definition at line 79 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 57 of file RODFNet.cpp.

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

RODFNet::~RODFNet ( )

Destructor.

Definition at line 69 of file RODFNet.cpp.

Member Function Documentation

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

Definition at line 202 of file RONet.cpp.

References RONet::myBusStops, and WRITE_ERROR.

Referenced by RONetHandler::parseStoppingPlace().

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

Definition at line 386 of file RONet.cpp.

References RONet::myContainers.

Referenced by RORouteHandler::closeContainer().

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

Definition at line 213 of file RONet.cpp.

References RONet::myContainerStops, and WRITE_ERROR.

Referenced by RONetHandler::parseStoppingPlace().

bool RONet::addDistrict ( const std::string  id,
ROEdge source,
ROEdge sink 
)
inherited
bool RONet::addDistrictEdge ( const std::string  tazID,
const std::string  edgeID,
const bool  isSource 
)
inherited
bool RONet::addEdge ( ROEdge edge)
virtualinherited
void RONet::addNode ( RONode node)
inherited
bool RONet::addPerson ( ROPerson person)
inherited
void RONet::addRestriction ( const std::string &  id,
const SUMOVehicleClass  svc,
const SUMOReal  speed 
)
inherited

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

References RONet::myRestrictions.

Referenced by RONetHandler::myStartElement().

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

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

Referenced by 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 337 of file RONet.cpp.

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

Referenced by RORouteHandler::closeVehicleTypeDistribution().

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

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

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

void RONet::cleanup ( )
inherited

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

Definition at line 248 of file RONet.cpp.

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

Referenced by computeRoutes().

bool RONet::furtherStored ( )
virtualinherited

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

Definition at line 625 of file RONet.cpp.

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

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

SUMOReal RODFNet::getAbsPos ( const RODFDetector det) const

Definition at line 680 of file RODFNet.cpp.

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

Referenced by isDestination(), and isSource().

SUMOReal RODFNet::getAvgSpeedFactorLKW ( ) const
inline

Definition at line 106 of file RODFNet.h.

References myAvgSpeedFactorLKW.

Referenced by RODFDetectorCon::writeEmitters().

SUMOReal RODFNet::getAvgSpeedFactorPKW ( ) const
inline

Definition at line 102 of file RODFNet.h.

References myAvgSpeedFactorPKW.

Referenced by RODFDetectorCon::writeEmitters().

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

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

References RONet::myBusStops.

Referenced by RORouteHandler::addStop().

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

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

References RONet::myContainerStops.

Referenced by RORouteHandler::addStop().

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

Definition at line 674 of file RODFNet.cpp.

References myDetectorsOnEdges.

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

Retrieves all TAZ (districts) from the network.

Returns
The map of all districts

Definition at line 153 of file RONet.h.

References RONet::myDistricts.

Referenced by main().

ROEdge* RONet::getEdgeForLaneID ( const std::string &  laneID) const
inlineinherited

Retrieves an edge from the network when the lane id is given.

Parameters
[in]laneIDThe name of the lane to retrieve the edge for
Returns
The edge of the named lane if known, otherwise 0

Definition at line 175 of file RONet.h.

References RONet::getEdge().

Referenced by RONet::adaptIntermodalRouter(), ROVehicle::addStop(), RONetHandler::parseAccess(), and RONetHandler::parseStoppingPlace().

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

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

Definition at line 631 of file RONet.cpp.

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

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

RONet * RONet::getInstance ( void  )
staticinherited

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

Returns
Pointer to the unique RONet-instance

Definition at line 66 of file RONet.cpp.

References RONet::myInstance.

Referenced by ROPerson::addTrip(), and ROEdge::getSuccessors().

int RONet::getInternalEdgeNumber ( ) const
inherited

Returns the number of internal edges the network contains.

Definition at line 637 of file RONet.cpp.

References RONet::myNumInternalEdges.

Referenced by computeAllPairs().

SUMOReal RODFNet::getMaxSpeedFactorLKW ( ) const
inline

Definition at line 98 of file RODFNet.h.

References myMaxSpeedFactorLKW.

Referenced by RODFDetectorCon::writeEmitters().

SUMOReal RODFNet::getMaxSpeedFactorPKW ( ) const
inline

Definition at line 94 of file RODFNet.h.

References myMaxSpeedFactorPKW.

Referenced by RODFDetectorCon::writeEmitters().

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

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

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

const std::map< SUMOVehicleClass, SUMOReal > * RONet::getRestrictions ( const std::string &  id) const
inherited

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

References RONet::myRestrictions.

Referenced by RONetHandler::parseEdge().

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

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

Referenced by computeRoutes().

SUMOVTypeParameter * RONet::getVehicleTypeSecure ( const std::string &  id)
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 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 272 of file RONet.cpp.

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

Referenced by ROPerson::addTrip(), RONet::checkFlows(), RORouteHandler::closeFlow(), RORouteHandler::closeVehicle(), computeRoutes(), RORouteHandler::myStartElement(), RORouteHandler::openVehicleTypeDistribution(), and ROMAAssignments::ROMAAssignments().

bool RODFNet::hasApproached ( ROEdge edge) const
protected

Definition at line 656 of file RODFNet.cpp.

References myApproachedEdges.

Referenced by computeRoutesFor(), and isDestination().

bool RODFNet::hasApproaching ( ROEdge edge) const
protected

Definition at line 647 of file RODFNet.cpp.

References myApproachingEdges.

Referenced by isSource().

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

Definition at line 676 of file RONet.cpp.

References RONet::myHavePermissions.

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 703 of file RODFNet.cpp.

References getDetectorEdge().

Referenced by computeTypes(), and isDestination().

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

Definition at line 696 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 688 of file RODFNet.cpp.

References getDetectorEdge().

Referenced by computeTypes(), and isSource().

bool RODFNet::isSource ( const RODFDetector det,
ROEdge edge,
ROEdgeVector seen,
const RODFDetectorCon detectors,
bool  strict 
) const
protected
void RONet::openOutput ( const OptionsCont options,
const std::string  altFilename = "" 
)
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]optionsThe options to be asked for "output-file" and "vtype-output"
[in]altFilenameThe name of the file for writing alternatives, "" means no alternatives

Definition at line 230 of file RONet.cpp.

References OutputDevice::createDeviceByOption(), OutputDevice::getDevice(), OutputDevice::getDeviceByOption(), OptionsCont::getString(), OptionsCont::isSet(), RONet::myRouteAlternativesOutput, RONet::myRoutesOutput, RONet::myTypesOutput, SUMO_TAG_ROUTES, OutputDevice::writeAttr(), and OutputDevice::writeHeader().

Referenced by computeRoutes().

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

Definition at line 617 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 580 of file RODFNet.cpp.

References RODFDetectorCon::getDetectors().

Referenced by startComputation().

SUMOTime RONet::saveAndRemoveRoutesUntil ( OptionsCont options,
const RORouterProvider provider,
SUMOTime  time 
)
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.

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

Definition at line 524 of file RONet.cpp.

References RONet::checkFlows(), RORoutable::computeRoute(), RONet::createBulkRouteRequests(), NamedObjectCont< T >::erase(), OptionsCont::getBool(), MsgHandler::getErrorInstance(), Named::getID(), OptionsCont::getInt(), ROVehicle::getRouteDefinition(), RORoutable::getRoutingSuccess(), MsgHandler::getWarningInstance(), MIN2(), RONet::myContainers, RONet::myDiscardedRouteNo, RONet::myErrorHandler, RONet::myReadRouteNo, RONet::myRoutables, RONet::myRouteAlternativesOutput, RONet::myRoutes, RONet::myRoutesOutput, RONet::myTypesOutput, RONet::myWrittenRouteNo, SUMOTime_MAX, toString(), RORoutable::write(), WRITE_MESSAGE, and OutputDevice::writePreformattedTag().

Referenced by ROLoader::processRoutes().

void RONet::setPermissionsFound ( )
inherited

Definition at line 682 of file RONet.cpp.

References RONet::myHavePermissions.

Referenced by RONetHandler::parseLane().

Field Documentation

bool RODFNet::myAmInHighwayMode
private

Definition at line 185 of file RODFNet.h.

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

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

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

Definition at line 180 of file RODFNet.h.

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

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

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

Definition at line 177 of file RODFNet.h.

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

SUMOReal RODFNet::myAvgSpeedFactorLKW
private

Definition at line 198 of file RODFNet.h.

Referenced by buildEdgeFlowMap(), and getAvgSpeedFactorLKW().

SUMOReal RODFNet::myAvgSpeedFactorPKW
private

Definition at line 197 of file RODFNet.h.

Referenced by buildEdgeFlowMap(), and getAvgSpeedFactorPKW().

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 189 of file RODFNet.h.

Referenced by buildApproachList(), and RODFNet().

int RODFNet::myInBetweenNumber
mutableprivate

Definition at line 186 of file RODFNet.h.

Referenced by computeTypes().

int RODFNet::myInvalidNumber
mutableprivate

Definition at line 186 of file RODFNet.h.

Referenced by computeTypes().

bool RODFNet::myKeepTurnarounds
private

Definition at line 192 of file RODFNet.h.

Referenced by buildApproachList(), and RODFNet().

SUMOReal RODFNet::myMaxSpeedFactorLKW
private

Definition at line 196 of file RODFNet.h.

Referenced by buildEdgeFlowMap(), and getMaxSpeedFactorLKW().

SUMOReal RODFNet::myMaxSpeedFactorPKW
private

maximum speed factor in measurements

Definition at line 195 of file RODFNet.h.

Referenced by buildEdgeFlowMap(), and getMaxSpeedFactorPKW().

int RODFNet::mySinkNumber
mutableprivate

Definition at line 186 of file RODFNet.h.

Referenced by computeTypes().

int RODFNet::mySourceNumber
mutableprivate

Definition at line 186 of file RODFNet.h.

Referenced by computeTypes().


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