SUMO - Simulation of Urban MObility
ROEdge Class Reference

A basic edge for routing applications. More...

#include <ROEdge.h>

Inheritance diagram for ROEdge:
Inheritance graph
Collaboration diagram for ROEdge:
Collaboration graph

Public Types

enum  EdgeFunc {
  ET_NORMAL, ET_DISTRICT, ET_SOURCE, ET_SINK,
  ET_WALKINGAREA, ET_CROSSING, ET_INTERNAL
}
 Possible functions of edges. More...
 

Public Member Functions

void addTo (const StoringVisitor &cont) const
 Adds this object to the given container. More...
 
double getDistanceTo (const ROEdge *other) const
 optimistic distance heuristic for use in routing More...
 
const RONodegetFromJunction () const
 
const std::string & getID () const
 Returns the id. More...
 
const std::vector< ROLane * > & getLanes () const
 Returns this edge's lanes. More...
 
int getPriority () const
 get edge priority (road class) More...
 
const RONodegetToJunction () const
 
 ROEdge (const std::string &id, RONode *from, RONode *to, int index, const int priority)
 Constructor. More...
 
void setID (const std::string &newID)
 resets the id More...
 
virtual ~ROEdge ()
 Destructor. More...
 
Set-up methods
virtual void addLane (ROLane *lane)
 Adds a lane to the edge while loading. More...
 
virtual void addSuccessor (ROEdge *s, std::string dir="")
 Adds information about a connected edge. More...
 
void setFunc (EdgeFunc func)
 Sets the function of the edge. More...
 
void setRestrictions (const std::map< SUMOVehicleClass, double > *restrictions)
 Sets the vehicle class specific speed limits of the edge. More...
 
bool isInternal () const
 return whether this edge is an internal edge More...
 
bool isCrossing () const
 return whether this edge is a pedestrian crossing More...
 
bool isWalkingArea () const
 return whether this edge is walking area More...
 
void buildTimeLines (const std::string &measure, const bool boundariesOverride)
 Builds the internal representation of the travel time/effort. More...
 
Getter methods
EdgeFunc getFunc () const
 Returns the function of the edge. More...
 
double getLength () const
 Returns the length of the edge. More...
 
int getNumericalID () const
 Returns the index (numeric id) of the edge. More...
 
double getSpeedLimit () const
 Returns the speed allowed on this edge. More...
 
double getLengthGeometryFactor () const
 return a lower bound on shape.length() / myLength that is More...
 
double getVClassMaxSpeed (SUMOVehicleClass vclass) const
 Returns the lane's maximum speed, given a vehicle's speed limit adaptation. More...
 
int getLaneNo () const
 Returns the number of lanes this edge has. More...
 
bool isConnectedTo (const ROEdge *const e, const ROVehicle *const vehicle) const
 returns the information whether this edge is directly connected to the given More...
 
bool prohibits (const ROVehicle *const vehicle) const
 Returns whether this edge prohibits the given vehicle to pass it. More...
 
SVCPermissions getPermissions () const
 
bool allFollowersProhibit (const ROVehicle *const vehicle) const
 Returns whether this edge succeeding edges prohibit the given vehicle to pass them. More...
 

Static Public Member Functions

static int dictSize ()
 Returns the number of edges. More...
 
static const ROEdgeVectorgetAllEdges ()
 Returns all ROEdges. More...
 
template<class T >
static std::string getIDSecure (const T *obj, const std::string &fallBack="NULL")
 get an identifier for Named-like object which may be Null More...
 
static void setGlobalOptions (const bool interpolate)
 

Protected Member Functions

bool getStoredEffort (double time, double &ret) const
 Retrieves the stored effort. More...
 

Protected Attributes

ROEdgeVector myApproachingEdges
 List of edges that approached this edge. More...
 
std::map< SUMOVehicleClass, ROEdgeVectormyClassesSuccessorMap
 The successors available for a given vClass. More...
 
SVCPermissions myCombinedPermissions
 The list of allowed vehicle classes combined across lanes. More...
 
ValueTimeLine< double > myEfforts
 Container storing passing time varying over time for the edge. More...
 
ROEdgeVector myFollowingEdges
 List of edges that may be approached from this edge. More...
 
RONodemyFromJunction
 the junctions for this edge More...
 
EdgeFunc myFunc
 The function of the edge. More...
 
std::string myID
 The name of the object. More...
 
const int myIndex
 The index (numeric id) of the edge. More...
 
std::vector< ROLane * > myLanes
 This edge's lanes. More...
 
double myLength
 The length of the edge. More...
 
const int myPriority
 The edge priority (road class) More...
 
const std::map< SUMOVehicleClass, double > * myRestrictions
 The vClass speed restrictions for this edge. More...
 
double mySpeed
 The maximum speed allowed on this edge. More...
 
RONodemyToJunction
 
ValueTimeLine< double > myTravelTimes
 Container storing passing time varying over time for the edge. More...
 
bool myUsingETimeLine
 Information whether the time line shall be used instead of the length value. More...
 
bool myUsingTTTimeLine
 Information whether the time line shall be used instead of the length value. More...
 

Static Protected Attributes

static ROEdgeVector myEdges
 
static bool myHaveEWarned = false
 Information whether the edge has reported missing weights. More...
 
static bool myHaveTTWarned = false
 Information whether the edge has reported missing weights. More...
 
static bool myInterpolate = false
 Information whether to interpolate at interval boundaries. More...
 

Private Member Functions

ROEdgeoperator= (const ROEdge &src)
 Invalidated assignment operator. More...
 
 ROEdge (const ROEdge &src)
 Invalidated copy constructor. More...
 

Methods for getting/setting travel time and cost information

void addEffort (double value, double timeBegin, double timeEnd)
 Adds a weight value. More...
 
void addTravelTime (double value, double timeBegin, double timeEnd)
 Adds a travel time value. More...
 
int getNumSuccessors () const
 Returns the number of edges this edge is connected to. More...
 
const ROEdgeVectorgetSuccessors () const
 Returns the following edges. More...
 
const ROEdgeVectorgetSuccessors (SUMOVehicleClass vClass) const
 Returns the following edges, restricted by vClass. More...
 
int getNumPredecessors () const
 Returns the number of edges connected to this edge. More...
 
const ROEdgeVectorgetPredecessors () const
 Returns the edge at the given position from the list of incoming edges. More...
 
double getEffort (const ROVehicle *const veh, double time) const
 Returns the effort for this edge. More...
 
bool hasLoadedTravelTime (double time) const
 Returns whether a travel time for this edge was loaded. More...
 
double getTravelTime (const ROVehicle *const veh, double time) const
 Returns the travel time for this edge. More...
 
double getMinimumTravelTime (const ROVehicle *const veh) const
 Returns a lower bound for the travel time on this edge without using any stored timeLine. More...
 
static double getEffortStatic (const ROEdge *const edge, const ROVehicle *const veh, double time)
 Returns the effort for the given edge. More...
 
static double getTravelTimeStatic (const ROEdge *const edge, const ROVehicle *const veh, double time)
 Returns the travel time for the given edge. More...
 
template<PollutantsInterface::EmissionType ET>
static double getEmissionEffort (const ROEdge *const edge, const ROVehicle *const veh, double time)
 
static double getNoiseEffort (const ROEdge *const edge, const ROVehicle *const veh, double time)
 

Detailed Description

A basic edge for routing applications.

The edge contains two time lines, one for the travel time and one for a second measure which may be used for computing the costs of a route. After loading the weights, it is needed to call "buildTimeLines" in order to initialise these time lines.

Definition at line 77 of file ROEdge.h.

Member Enumeration Documentation

◆ EdgeFunc

Possible functions of edges.

Enumerator
ET_NORMAL 

A normal edge.

ET_DISTRICT 

An edge representing a whole district.

ET_SOURCE 

An edge where vehicles are inserted at (no vehicle may come from back)

ET_SINK 

An edge where vehicles disappear (no vehicle may leave this edge)

ET_WALKINGAREA 

An internal edge which models walking areas for pedestrians.

ET_CROSSING 

An internal edge which models pedestrian crossings.

ET_INTERNAL 

An internal edge which models vehicles driving across a junction. This is currently not used for routing.

Definition at line 83 of file ROEdge.h.

Constructor & Destructor Documentation

◆ ROEdge() [1/2]

ROEdge::ROEdge ( const std::string &  id,
RONode from,
RONode to,
int  index,
const int  priority 
)

Constructor.

Parameters
[in]idThe id of the edge
[in]fromThe node the edge begins at
[in]toThe node the edge ends at
[in]indexThe numeric id of the edge

Definition at line 62 of file ROEdge.cpp.

References myCombinedPermissions, myEdges, and SVCAll.

◆ ~ROEdge()

ROEdge::~ROEdge ( )
virtual

Destructor.

Definition at line 84 of file ROEdge.cpp.

References myLanes.

◆ ROEdge() [2/2]

ROEdge::ROEdge ( const ROEdge src)
private

Invalidated copy constructor.

Member Function Documentation

◆ addEffort()

void ROEdge::addEffort ( double  value,
double  timeBegin,
double  timeEnd 
)

Adds a weight value.

Parameters
[in]valueThe value to add
[in]timeBeginThe begin time of the interval the given value is valid for [s]
[in]timeEndThe end time of the interval the given value is valid for [s]

Definition at line 114 of file ROEdge.cpp.

References ValueTimeLine< T >::add(), myEfforts, and myUsingETimeLine.

Referenced by ROLoader::EdgeFloatTimeLineRetriever_EdgeWeight::addEdgeWeight(), and getPermissions().

◆ addLane()

void ROEdge::addLane ( ROLane lane)
virtual

Adds a lane to the edge while loading.

The lane's length is adapted. Additionally, the information about allowed/disallowed vehicle classes is patched using the information stored in the lane.

Parameters
[in]laneThe lane to add
Todo:
What about vehicle-type aware connections?

Definition at line 92 of file ROEdge.cpp.

References ROLane::getLength(), ROLane::getPermissions(), ROLane::getSpeed(), myCombinedPermissions, myLanes, myLength, and mySpeed.

Referenced by RONetHandler::parseLane().

◆ addSuccessor()

void ROEdge::addSuccessor ( ROEdge s,
std::string  dir = "" 
)
virtual

Adds information about a connected edge.

The edge s is added to "myFollowingEdges" and this edge is added as predecessor to s.

Parameters
[in]sThe edge to add
Todo:
What about vehicle-type aware connections?

Reimplemented in ROMAEdge, and ROJTREdge.

Definition at line 105 of file ROEdge.cpp.

References myApproachingEdges, and myFollowingEdges.

Referenced by RONet::addDistrictEdge(), ROJTREdge::addSuccessor(), and ROMAEdge::addSuccessor().

◆ addTo()

void Named::addTo ( const StoringVisitor cont) const
inlineinherited

Adds this object to the given container.

Parameters

Definition at line 129 of file Named.h.

References Named::StoringVisitor::add().

◆ addTravelTime()

void ROEdge::addTravelTime ( double  value,
double  timeBegin,
double  timeEnd 
)

Adds a travel time value.

Parameters
[in]valueThe value to add
[in]timeBeginThe begin time of the interval the given value is valid for [s]
[in]timeEndThe end time of the interval the given value is valid for [s]

Definition at line 121 of file ROEdge.cpp.

References ValueTimeLine< T >::add(), myTravelTimes, and myUsingTTTimeLine.

Referenced by ROLoader::EdgeFloatTimeLineRetriever_EdgeTravelTime::addEdgeWeight(), getPermissions(), ROMAAssignments::incremental(), and ROMAAssignments::sue().

◆ allFollowersProhibit()

bool ROEdge::allFollowersProhibit ( const ROVehicle *const  vehicle) const

Returns whether this edge succeeding edges prohibit the given vehicle to pass them.

Parameters
[in]vehicleThe vehicle for which the information has to be returned
Returns
Whether the vehicle may continue its route on any of the following edges

Definition at line 267 of file ROEdge.cpp.

References myFollowingEdges.

Referenced by ROJTREdge::chooseNext(), and getPermissions().

◆ buildTimeLines()

void ROEdge::buildTimeLines ( const std::string &  measure,
const bool  boundariesOverride 
)

Builds the internal representation of the travel time/effort.

Should be called after weights / travel times have been loaded.

In the case "weight-attribute" is one of "CO", "CO2", "HC", "NOx", "PMx", "fuel", or "electricity" the proper value (departs/s) is computed and multiplied with the travel time.

Parameters
[in]measureThe name of the measure to use.

Definition at line 233 of file ROEdge.cpp.

References PollutantsInterface::CO, PollutantsInterface::CO2, PollutantsInterface::compute(), PollutantsInterface::ELEC, ValueTimeLine< T >::fillGaps(), PollutantsInterface::FUEL, PollutantsInterface::getClassByName(), PollutantsInterface::HC, myEfforts, myLength, mySpeed, myTravelTimes, myUsingETimeLine, myUsingTTTimeLine, PollutantsInterface::NO_X, and PollutantsInterface::PM_X.

Referenced by isWalkingArea().

◆ dictSize()

static int ROEdge::dictSize ( )
inlinestatic

Returns the number of edges.

Definition at line 433 of file ROEdge.h.

References myEdges.

◆ getAllEdges()

const ROEdgeVector & ROEdge::getAllEdges ( )
static

Returns all ROEdges.

Definition at line 278 of file ROEdge.cpp.

References myEdges.

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

◆ getDistanceTo()

double ROEdge::getDistanceTo ( const ROEdge other) const

optimistic distance heuristic for use in routing

Definition at line 138 of file ROEdge.cpp.

References Position::distanceTo2D(), getFromJunction(), RONode::getPosition(), and getToJunction().

Referenced by getEmissionEffort().

◆ getEffort()

double ROEdge::getEffort ( const ROVehicle *const  veh,
double  time 
) const

Returns the effort for this edge.

Parameters
[in]vehThe vehicle for which the effort on this edge shall be retrieved
[in]timeThe tim for which the effort shall be returned [s]
Returns
The effort needed by the given vehicle to pass the edge at the given time
Todo:
Recheck whether the vehicle's maximum speed is considered

Definition at line 128 of file ROEdge.cpp.

References getStoredEffort(), RORoutable::getType(), SUMOVTypeParameter::maxSpeed, MIN2(), myLength, and mySpeed.

Referenced by getEffortStatic(), ROMAAssignments::getPenalizedEffort(), and getPredecessors().

◆ getEffortStatic()

static double ROEdge::getEffortStatic ( const ROEdge *const  edge,
const ROVehicle *const  veh,
double  time 
)
inlinestatic

Returns the effort for the given edge.

Parameters
[in]edgeThe edge for which the effort shall be retrieved
[in]vehThe vehicle for which the effort on this edge shall be retrieved
[in]timeThe time for which the effort shall be returned [s]
Returns
The effort needed by the given vehicle to pass the edge at the given time
Todo:
Recheck whether the vehicle's maximum speed is considered

Definition at line 381 of file ROEdge.h.

References getEffort().

◆ getEmissionEffort()

◆ getFromJunction()

const RONode* ROEdge::getFromJunction ( ) const
inline

Definition at line 446 of file ROEdge.h.

References myFromJunction.

Referenced by RODFNet::buildApproachList(), AGPosition::compute2dPosition(), and getDistanceTo().

◆ getFunc()

EdgeFunc ROEdge::getFunc ( ) const
inline

Returns the function of the edge.

Returns
This edge's basic function
See also
EdgeFunc

Definition at line 190 of file ROEdge.h.

References myFunc.

Referenced by RONet::addEdge(), ROMAAssignments::capacityConstraintFunction(), ROJTRRouter::compute(), ROMAAssignments::getCapacity(), getNumPredecessors(), getNumSuccessors(), and writeInterval().

◆ getID()

const std::string& Named::getID ( ) const
inlineinherited

Returns the id.

Returns
The stored id

Definition at line 66 of file Named.h.

References Named::myID.

Referenced by NIImporter_SUMO::_loadNetwork(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), PCPolyContainer::add(), MSVehicleTransfer::add(), TraCIServerAPI_Lane::StoringVisitor::add(), MSDetectorControl::add(), Named::StoringVisitor::add(), ShapeContainer::add(), IntermodalRouter< E, L, N, V >::addAccess(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSNet::addBusStop(), MSNet::addChargingStation(), NBLoadedSUMOTLDef::addConnection(), NLHandler::addConnection(), MSNet::addContainerStop(), NIXMLConnectionsHandler::addCrossing(), RODFDetectorCon::addDetector(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), MSNet::addParkingArea(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), NBEdge::addRestrictedLane(), RONet::addRouteDef(), NBDistrict::addSink(), NBDistrict::addSource(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), ROVehicle::addStop(), MSVehicle::addStop(), NBEdge::addStraightConnections(), NIXMLTrafficLightsHandler::addTlConnection(), NIVissimDisturbance::addToNode(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), AGActivityTripWriter::addTrip(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSTransportable::Stage_Waiting::beginEventOutput(), MSTransportable::Stage_Driving::beginEventOutput(), NLEdgeControlBuilder::build(), NIVisumTL::build(), RODFNet::buildApproachList(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), NIImporter_VISUM::buildDistrictNode(), NLDetectorBuilder::buildE2Detector(), NIVissimConnection::buildEdgeConnections(), RODFNet::buildEdgeFlowMap(), GNETLSEditorFrame::buildIinternalLanes(), NBEdge::buildInnerEdges(), NGEdge::buildNBEdge(), NIVissimEdge::buildNBEdge(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSSimpleTrafficLightLogic::changeStepAndDuration(), NBEdge::checkGeometry(), NBEdgeCont::checkGrade(), MSVehicleTransfer::checkInsertions(), NBEdgeCont::checkOverlap(), MSDevice_Battery::checkParam(), MSE2Collector::checkPositioning(), MSVehicle::checkRewindLinkLanes(), MSSwarmTrafficLightLogic::choosePolicy(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), RORouteHandler::closeRouteDistribution(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBLoadedSUMOTLDef::collectEdges(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), ROJTRRouter::compute(), NBTrafficLightDefinition::compute(), NBEdge::computeAngle(), NBEdge::computeLaneShapes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNode::computeNodeShape(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), NGNet::connect(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GUINet::createTLWrapper(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), NIVissimDistrictConnection::dict_BuildDistricts(), NBEdge::divideOnEdges(), NBEdge::divideSelectedLanesOnEdges(), MSTransportable::Stage_Waiting::endEventOutput(), MSTransportable::Stage_Driving::endEventOutput(), MSE3Collector::enter(), METriggeredCalibrator::execute(), MSCalibrator::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitchStates::execute(), Command_SaveTLSSwitches::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSTrafficLightLogic::SwitchCommand::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), NBEdgeCont::extract(), TraCIServerAPI_Vehicle::findCloserLane(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), NBRampsComputer::fulfillsRampConstraints(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), GNEConnection::getAttribute(), MSVehicle::getBackPosition(), TraCI_Vehicle::getBestLanes(), MSNet::getBusStopID(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSNet::getChargingStationID(), NBEdge::getConnection(), NBEdge::getConnectionRef(), MSNet::getContainerStopID(), NBEdge::getCrossingAngle(), RODFNet::getDetectorEdge(), TraCI_Lane::getEdgeID(), MSMeanData::getEdgeID(), NBEdge::getFirstNonPedestrianLane(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), TraCI_InductionLoop::getLaneID(), TraCI_LaneArea::getLaneID(), TraCI_Vehicle::getLaneID(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), TraCI_Lane::getLinks(), MSLane::getLinkTo(), MSTLLogicControl::TLSLogicVariants::getLogicInstantiatingOff(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), GUIInstantInductLoop::MyWrapper::getParameterWindow(), GUIMEInductLoop::MyWrapper::getParameterWindow(), GUIVehicle::getParameterWindow(), GUIE2Collector::MyWrapper::getParameterWindow(), GUIInductLoop::MyWrapper::getParameterWindow(), MSNet::getParkingAreaID(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), NBNode::getPossiblySplittedIncoming(), NBNode::getPossiblySplittedOutgoing(), NIImporter_VISUM::getReversedContinuating(), TraCI_Vehicle::getRoadID(), TraCI_Vehicle::getRouteID(), MSDevice_SSM::getUpstreamVehicles(), MSDevice_SSM::getVehiclesOnJunction(), MSVehicleControl::getWaitingVehicle(), MSLink::getZipperSpeed(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBEdgeCont::guessSidewalks(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), NBEdgeCont::ignoreFilterMatch(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSE2Collector::initAuxiliaries(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NBEdgeCont::insert(), MSEdge::insertVehicle(), MSLane::integrateNewVehicle(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), RODFNet::isSource(), MSSOTLTrafficLightLogic::isThresholdPassed(), NBNodeCont::joinJunctions(), NBEdgeCont::joinSameNodeConnectingEdges(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), NBEdge::MainDirections::MainDirections(), ODDistrictCont::makeDistricts(), MSE2Collector::makeVehicleInfo(), GNEJunction::markAsModified(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), NBRampsComputer::moveRampRight(), MSPModel_Striping::PState::moveToNextLane(), MSCalibrator::MSCalibrator(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSE2Collector::MSE2Collector(), NBLoadedTLDef::myCompute(), NIXMLEdgesHandler::myEndElement(), NIImporter_SUMO::myEndElement(), NIXMLConnectionsHandler::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), NBConnection::NBConnection(), NBRequest::NBRequest(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_SSM::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_SSM::notifyLeave(), MSE2Collector::notifyLeave(), MSDevice_Example::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_SSM::notifyMove(), GUIViewTraffic::onGamingClick(), GNEViewNet::onLeftBtnPress(), RORouteHandler::openRoute(), Named::ComparatorIdLess::operator()(), NBTurningDirectionsComputer::combination_by_angle_sorter::operator()(), RODFNet::idComp::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBOwnTLDef::edge_by_incoming_priority_sorter::operator()(), NBContHelper::same_connection_edge_sorter::operator()(), NBContHelper::edge_by_angle_to_nodeShapeCentroid_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), MSEdge::by_id_sorter::operator()(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_LanesConnections(), NIImporter_VISUM::parse_Turns(), NIImporter_VISUM::parse_TurnsToSignalGroups(), NIXMLConnectionsHandler::parseDeprecatedLaneDefinition(), NIXMLConnectionsHandler::parseLaneBound(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSVehicle::planMove(), MSLane::planMovements(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), NBEdge::prepareEdgePriorities(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSDevice_SSM::processEncounters(), TraCIServerAPI_TLS::processGet(), TraCIServerAPI_Person::processGet(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), NIXMLNodesHandler::processTrafficLightDefinitions(), NWWriter_SUMO::prohibitionConnection(), MSDelayBasedTrafficLightLogic::proposeProlongation(), MSPModel_Striping::PState::PState(), NBEdgeCont::recheckLanes(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBNodeCont::remapIDs(), NBEdgeCont::remapIDs(), NBLoadedTLDef::SignalGroup::remapIncoming(), NBLoadedTLDef::SignalGroup::remapOutgoing(), NBLoadedSUMOTLDef::removeConnection(), NBNodeCont::removeIsolatedRoads(), MSCalibrator::removePending(), NBNode::removeSelfLoops(), NBEdgeCont::removeUnwishedEdges(), NBNodeCont::rename(), NBEdgeCont::rename(), GNENet::renameEdge(), GNENet::renameJunction(), RORouteDef::repairCurrentRoute(), NBConnection::replaceFrom(), MSVehicle::replaceParkingArea(), MSBaseVehicle::replaceRouteEdges(), NBConnection::replaceTo(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NIImporter_DlrNavteq::ConnectedLanesHandler::report(), MSBaseVehicle::reroute(), MSTriggeredRerouter::rerouteParkingZone(), MSLane::resetPartialOccupation(), NBEdge::restoreRestrictedLane(), GNEEdge::retrieveConnection(), NIXMLTrafficLightsHandler::retrieveLaneIndex(), RODFNet::revalidateFlows(), RONet::saveAndRemoveRoutesUntil(), MSDevice_Vehroutes::saveState(), MSDevice::saveState(), MSDevice_Tripinfo::saveState(), MSBaseVehicle::saveState(), MSLane::saveState(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), NBNodeCont::setAsTLControlled(), GNEEdge::setAttribute(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), NBEdge::setControllingTLInformation(), MSChargingStation::setEfficency(), GNEJunction::setLogicValid(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), NIXMLEdgesHandler::setNodes(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), MSLink::setRequestInformation(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), MSDevice_Battery::setStoppingTreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBEdge::shiftPositionAtNode(), NBEdgeCont::splitAt(), MSStopOut::stopEnded(), MSLane::succLinkSec(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), toString(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSDevice_SSM::update(), MSVehicle::updateBestLanes(), MSSOTLTrafficLightLogic::updateCTS(), GNETLSEditorFrame::updateDescription(), MSDevice_SSM::updateEncounter(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), TraCIServerAPI_Vehicle::vtdMap(), MSPModel_Striping::PState::walk(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSBatteryExport::write(), MSEmissionExport::write(), MSFCDExport::write(), MSInstantInductLoop::write(), MSLink::writeApproaching(), NBSign::writeAsPOI(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeConnection(), NWWriter_SUMO::writeDistrict(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_SUMO::writeEdge(), MSMeanData::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_SUMO::writeInternalConnections(), writeInterval(), NWWriter_SUMO::writeJunction(), MSQueueExport::writeLane(), MSFullExport::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NWWriter_DlrNavteq::writeProhibitedManoeuvres(), NWWriter_SUMO::writeRoundabout(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSFullExport::writeVehicles(), PointOfInterest::writeXML(), SUMO::Polygon::writeXML(), MSRouteProbe::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSE2Collector::writeXMLOutput(), and RONet::~RONet().

◆ getIDSecure()

◆ getLaneNo()

int ROEdge::getLaneNo ( ) const
inline

Returns the number of lanes this edge has.

Returns
This edge's number of lanes

Definition at line 245 of file ROEdge.h.

References isConnectedTo(), and myLanes.

Referenced by ROMAAssignments::capacityConstraintFunction(), ROMAAssignments::getCapacity(), and RODFDetectorHandler::myStartElement().

◆ getLanes()

const std::vector<ROLane*>& ROEdge::getLanes ( ) const
inline

Returns this edge's lanes.

Returns
This edge's lanes

Definition at line 459 of file ROEdge.h.

References getStoredEffort(), and myLanes.

Referenced by RONetHandler::parseConnection().

◆ getLength()

◆ getLengthGeometryFactor()

double ROEdge::getLengthGeometryFactor ( ) const
inline

return a lower bound on shape.length() / myLength that is

Definition at line 219 of file ROEdge.h.

References Position::distanceTo(), RONode::getPosition(), MAX2(), myFromJunction, myLength, and myToJunction.

◆ getMinimumTravelTime()

double ROEdge::getMinimumTravelTime ( const ROVehicle *const  veh) const
inline

Returns a lower bound for the travel time on this edge without using any stored timeLine.

Parameters
[in]vehThe vehicle for which the effort on this edge shall be retrieved
[in]timeThe time for which the effort shall be returned [s]

Definition at line 403 of file ROEdge.h.

References ROVehicle::getChosenSpeedFactor(), RORoutable::getType(), SUMOVTypeParameter::maxSpeed, MIN2(), myLength, and mySpeed.

Referenced by getTravelTime().

◆ getNoiseEffort()

double ROEdge::getNoiseEffort ( const ROEdge *const  edge,
const ROVehicle *const  veh,
double  time 
)
static

◆ getNumericalID()

int ROEdge::getNumericalID ( ) const
inline

Returns the index (numeric id) of the edge.

Returns
This edge's numerical id

Definition at line 205 of file ROEdge.h.

References myIndex.

Referenced by RONet::createBulkRouteRequests().

◆ getNumPredecessors()

int ROEdge::getNumPredecessors ( ) const

Returns the number of edges connected to this edge.

If this edge's type is set to "source", 0 is returned, otherwise the number of edges stored in "myApproachingEdges".

Returns
The number of edges reaching into this edge

Definition at line 224 of file ROEdge.cpp.

References ET_SOURCE, getFunc(), and myApproachingEdges.

Referenced by getSuccessors(), and RORouteHandler::parseFromViaTo().

◆ getNumSuccessors()

int ROEdge::getNumSuccessors ( ) const

Returns the number of edges this edge is connected to.

If this edge's type is set to "sink", 0 is returned, otherwise the number of edges stored in "myFollowingEdges".

Returns
The number of edges following this edge

Definition at line 215 of file ROEdge.cpp.

References ET_SINK, getFunc(), and myFollowingEdges.

Referenced by RODFDetector::computeSplitProbabilities(), getPermissions(), and RORouteHandler::parseFromViaTo().

◆ getPermissions()

SVCPermissions ROEdge::getPermissions ( ) const
inline

◆ getPredecessors()

const ROEdgeVector& ROEdge::getPredecessors ( ) const
inline

Returns the edge at the given position from the list of incoming edges.

Parameters
[in]posThe position of the list within the list of incoming
Returns
The incoming edge, stored at position pos

Definition at line 341 of file ROEdge.h.

References getEffort(), getTravelTime(), hasLoadedTravelTime(), and myApproachingEdges.

Referenced by RODFDetector::computeSplitProbabilities().

◆ getPriority()

int ROEdge::getPriority ( ) const
inline

get edge priority (road class)

Definition at line 442 of file ROEdge.h.

References myPriority.

Referenced by ROMAAssignments::capacityConstraintFunction(), and ROMAAssignments::getCapacity().

◆ getSpeedLimit()

double ROEdge::getSpeedLimit ( ) const
inline

◆ getStoredEffort()

bool ROEdge::getStoredEffort ( double  time,
double &  ret 
) const
protected

Retrieves the stored effort.

Parameters
[in]vehThe vehicle for which the effort on this edge shall be retrieved
[in]timeThe tim for which the effort shall be returned
Returns
Whether the effort is given

Definition at line 190 of file ROEdge.cpp.

References ValueTimeLine< T >::describesTime(), ValueTimeLine< T >::getSplitTime(), ValueTimeLine< T >::getValue(), myEfforts, myHaveEWarned, Named::myID, myInterpolate, myTravelTimes, myUsingETimeLine, toString(), and WRITE_WARNING.

Referenced by getEffort(), getEmissionEffort(), getLanes(), and getNoiseEffort().

◆ getSuccessors() [1/2]

const ROEdgeVector& ROEdge::getSuccessors ( ) const
inline

Returns the following edges.

Definition at line 315 of file ROEdge.h.

References getNumPredecessors(), and myFollowingEdges.

Referenced by RODFNet::buildApproachList(), and isConnectedTo().

◆ getSuccessors() [2/2]

const ROEdgeVector & ROEdge::getSuccessors ( SUMOVehicleClass  vClass) const

Returns the following edges, restricted by vClass.

Parameters
[in]vClassThe vClass for which to restrict the successors
Returns
The eligible following edges

Definition at line 284 of file ROEdge.cpp.

References ET_DISTRICT, ROLane::getEdge(), RONet::getInstance(), ROLane::getOutgoingLanes(), ROLane::getPermissions(), myClassesSuccessorMap, myFollowingEdges, myFunc, myLanes, and SVC_IGNORING.

◆ getToJunction()

const RONode* ROEdge::getToJunction ( ) const
inline

Definition at line 450 of file ROEdge.h.

References myToJunction.

Referenced by RODFNet::buildApproachList(), AGPosition::compute2dPosition(), and getDistanceTo().

◆ getTravelTime()

double ROEdge::getTravelTime ( const ROVehicle *const  veh,
double  time 
) const

Returns the travel time for this edge.

Parameters
[in]vehThe vehicle for which the travel time on this edge shall be retrieved
[in]timeThe time for which the travel time shall be returned [s]
Returns
The travel time needed by the given vehicle to pass the edge at the given time

Definition at line 155 of file ROEdge.cpp.

References ValueTimeLine< T >::describesTime(), getMinimumTravelTime(), Distribution_Parameterized::getParameter(), ValueTimeLine< T >::getSplitTime(), RORoutable::getType(), ValueTimeLine< T >::getValue(), MAX2(), SUMOVTypeParameter::maxSpeed, MIN2(), myHaveTTWarned, Named::myID, myInterpolate, myLength, mySpeed, myTravelTimes, myUsingTTTimeLine, SUMOVTypeParameter::speedFactor, split(), toString(), and WRITE_WARNING.

Referenced by ROJTRRouter::compute(), getEmissionEffort(), ROMAAssignments::getPenalizedTT(), getPredecessors(), ROMAAssignments::getTravelTime(), getTravelTimeStatic(), ROMAAssignments::incremental(), and writeInterval().

◆ getTravelTimeStatic()

static double ROEdge::getTravelTimeStatic ( const ROEdge *const  edge,
const ROVehicle *const  veh,
double  time 
)
inlinestatic

Returns the travel time for the given edge.

Parameters
[in]edgeThe edge for which the travel time shall be retrieved
[in]vehThe vehicle for which the travel time on this edge shall be retrieved
[in]timeThe time for which the travel time shall be returned [s]
Returns
The traveltime needed by the given vehicle to pass the edge at the given time

Definition at line 393 of file ROEdge.h.

References getTravelTime().

Referenced by computeRoutes().

◆ getVClassMaxSpeed()

double ROEdge::getVClassMaxSpeed ( SUMOVehicleClass  vclass) const
inline

Returns the lane's maximum speed, given a vehicle's speed limit adaptation.

Parameters
[in]Thevehicle to return the adapted speed limit for
Returns
This lane's resulting max. speed

Definition at line 231 of file ROEdge.h.

References myRestrictions, and mySpeed.

Referenced by RODFNet::buildEdgeFlowMap().

◆ hasLoadedTravelTime()

bool ROEdge::hasLoadedTravelTime ( double  time) const

Returns whether a travel time for this edge was loaded.

Parameters
[in]timeThe time for which the travel time shall be returned [s]
Returns
whether a value was loaded

Definition at line 149 of file ROEdge.cpp.

References ValueTimeLine< T >::describesTime(), myTravelTimes, and myUsingTTTimeLine.

Referenced by getPredecessors(), and ROMAAssignments::incremental().

◆ isConnectedTo()

bool ROEdge::isConnectedTo ( const ROEdge *const  e,
const ROVehicle *const  vehicle 
) const

returns the information whether this edge is directly connected to the given

Parameters
[in]eThe edge which may be connected
[in]vehicleThe vehicle for which the connectivity is checked
Returns
Whether the given edge is a direct successor to this one

Definition at line 325 of file ROEdge.cpp.

References getSuccessors(), RORoutable::getVClass(), and SVC_IGNORING.

Referenced by getLaneNo().

◆ isCrossing()

bool ROEdge::isCrossing ( ) const
inline

return whether this edge is a pedestrian crossing

Definition at line 160 of file ROEdge.h.

References ET_CROSSING, and myFunc.

◆ isInternal()

bool ROEdge::isInternal ( ) const
inline

return whether this edge is an internal edge

Definition at line 155 of file ROEdge.h.

References ET_INTERNAL, and myFunc.

◆ isWalkingArea()

bool ROEdge::isWalkingArea ( ) const
inline

return whether this edge is walking area

Definition at line 165 of file ROEdge.h.

References buildTimeLines(), ET_WALKINGAREA, and myFunc.

◆ operator=()

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

Invalidated assignment operator.

◆ prohibits()

bool ROEdge::prohibits ( const ROVehicle *const  vehicle) const
inline

Returns whether this edge prohibits the given vehicle to pass it.

Parameters
[in]vehicleThe vehicle for which the information has to be returned
Returns
Whether the vehicle must not enter this edge

Definition at line 263 of file ROEdge.h.

References RORoutable::getVClass(), and myCombinedPermissions.

Referenced by ROVehicle::addStop(), ROJTREdge::chooseNext(), and ROJTRRouter::compute().

◆ setFunc()

void ROEdge::setFunc ( EdgeFunc  func)
inline

Sets the function of the edge.

Parameters
[in]funcThe new function for the edge

Definition at line 141 of file ROEdge.h.

References myFunc.

Referenced by RONet::addDistrict(), loadJTRDefinitions(), ROJTRTurnDefLoader::myStartElement(), and RONetHandler::parseEdge().

◆ setGlobalOptions()

static void ROEdge::setGlobalOptions ( const bool  interpolate)
inlinestatic

Definition at line 437 of file ROEdge.h.

References myInterpolate.

Referenced by initNet().

◆ setID()

void Named::setID ( const std::string &  newID)
inlineinherited

resets the id

Parameters
[in]newIDThe new id of this object

Definition at line 74 of file Named.h.

References Named::myID.

Referenced by Distribution_Parameterized::Distribution_Parameterized(), NBNodeCont::remapIDs(), NBEdgeCont::remapIDs(), NBNodeCont::rename(), and NBEdgeCont::rename().

◆ setRestrictions()

void ROEdge::setRestrictions ( const std::map< SUMOVehicleClass, double > *  restrictions)
inline

Sets the vehicle class specific speed limits of the edge.

Parameters
[in]restrictionsThe restrictions for the edge

Definition at line 149 of file ROEdge.h.

References myRestrictions.

Referenced by RONetHandler::parseEdge().

Field Documentation

◆ myApproachingEdges

ROEdgeVector ROEdge::myApproachingEdges
protected

List of edges that approached this edge.

Definition at line 513 of file ROEdge.h.

Referenced by addSuccessor(), getNumPredecessors(), and getPredecessors().

◆ myClassesSuccessorMap

std::map<SUMOVehicleClass, ROEdgeVector> ROEdge::myClassesSuccessorMap
mutableprotected

The successors available for a given vClass.

Definition at line 531 of file ROEdge.h.

Referenced by getSuccessors().

◆ myCombinedPermissions

SVCPermissions ROEdge::myCombinedPermissions
protected

The list of allowed vehicle classes combined across lanes.

Definition at line 525 of file ROEdge.h.

Referenced by addLane(), getPermissions(), prohibits(), and ROEdge().

◆ myEdges

ROEdgeVector ROEdge::myEdges
staticprotected

Definition at line 527 of file ROEdge.h.

Referenced by dictSize(), getAllEdges(), and ROEdge().

◆ myEfforts

ValueTimeLine<double> ROEdge::myEfforts
mutableprotected

Container storing passing time varying over time for the edge.

Definition at line 497 of file ROEdge.h.

Referenced by addEffort(), buildTimeLines(), and getStoredEffort().

◆ myFollowingEdges

ROEdgeVector ROEdge::myFollowingEdges
protected

List of edges that may be approached from this edge.

Definition at line 510 of file ROEdge.h.

Referenced by addSuccessor(), allFollowersProhibit(), ROJTREdge::chooseNext(), getNumSuccessors(), getSuccessors(), and ROJTREdge::setTurnDefaults().

◆ myFromJunction

RONode* ROEdge::myFromJunction
protected

the junctions for this edge

Definition at line 475 of file ROEdge.h.

Referenced by getFromJunction(), and getLengthGeometryFactor().

◆ myFunc

EdgeFunc ROEdge::myFunc
protected

The function of the edge.

Definition at line 516 of file ROEdge.h.

Referenced by getFunc(), getSuccessors(), isCrossing(), isInternal(), isWalkingArea(), and setFunc().

◆ myHaveEWarned

bool ROEdge::myHaveEWarned = false
staticprotected

Information whether the edge has reported missing weights.

Definition at line 505 of file ROEdge.h.

Referenced by getStoredEffort().

◆ myHaveTTWarned

bool ROEdge::myHaveTTWarned = false
staticprotected

Information whether the edge has reported missing weights.

Definition at line 507 of file ROEdge.h.

Referenced by getTravelTime().

◆ myID

◆ myIndex

const int ROEdge::myIndex
protected

The index (numeric id) of the edge.

Definition at line 479 of file ROEdge.h.

Referenced by getNumericalID().

◆ myInterpolate

bool ROEdge::myInterpolate = false
staticprotected

Information whether to interpolate at interval boundaries.

Definition at line 502 of file ROEdge.h.

Referenced by getStoredEffort(), getTravelTime(), and setGlobalOptions().

◆ myLanes

std::vector<ROLane*> ROEdge::myLanes
protected

This edge's lanes.

Definition at line 522 of file ROEdge.h.

Referenced by addLane(), getLaneNo(), getLanes(), getSuccessors(), and ~ROEdge().

◆ myLength

double ROEdge::myLength
protected

The length of the edge.

Definition at line 488 of file ROEdge.h.

Referenced by addLane(), buildTimeLines(), getEffort(), getLength(), getLengthGeometryFactor(), getMinimumTravelTime(), and getTravelTime().

◆ myPriority

const int ROEdge::myPriority
protected

The edge priority (road class)

Definition at line 482 of file ROEdge.h.

Referenced by getPriority().

◆ myRestrictions

const std::map<SUMOVehicleClass, double>* ROEdge::myRestrictions
protected

The vClass speed restrictions for this edge.

Definition at line 519 of file ROEdge.h.

Referenced by getVClassMaxSpeed(), and setRestrictions().

◆ mySpeed

double ROEdge::mySpeed
protected

The maximum speed allowed on this edge.

Definition at line 485 of file ROEdge.h.

Referenced by addLane(), buildTimeLines(), getEffort(), getEmissionEffort(), getMinimumTravelTime(), getNoiseEffort(), getSpeedLimit(), getTravelTime(), and getVClassMaxSpeed().

◆ myToJunction

RONode* ROEdge::myToJunction
protected

Definition at line 476 of file ROEdge.h.

Referenced by getLengthGeometryFactor(), and getToJunction().

◆ myTravelTimes

ValueTimeLine<double> ROEdge::myTravelTimes
mutableprotected

Container storing passing time varying over time for the edge.

Definition at line 492 of file ROEdge.h.

Referenced by addTravelTime(), buildTimeLines(), getStoredEffort(), getTravelTime(), and hasLoadedTravelTime().

◆ myUsingETimeLine

bool ROEdge::myUsingETimeLine
protected

Information whether the time line shall be used instead of the length value.

Definition at line 499 of file ROEdge.h.

Referenced by addEffort(), buildTimeLines(), and getStoredEffort().

◆ myUsingTTTimeLine

bool ROEdge::myUsingTTTimeLine
protected

Information whether the time line shall be used instead of the length value.

Definition at line 494 of file ROEdge.h.

Referenced by addTravelTime(), buildTimeLines(), getTravelTime(), and hasLoadedTravelTime().


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