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

An edge the jtr-router may route through. More...

#include <ROJTREdge.h>

Inheritance diagram for ROJTREdge:
Inheritance graph
Collaboration diagram for ROJTREdge:
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 addFollowerProbability (ROJTREdge *follower, SUMOReal begTime, SUMOReal endTime, SUMOReal probability)
 adds the information about the percentage of using a certain follower More...
 
void addSuccessor (ROEdge *s, std::string dir="")
 Adds information about a connected edge. More...
 
void addTo (const StoringVisitor &cont) const
 Adds this object to the given container. More...
 
ROJTREdgechooseNext (const ROVehicle *const veh, SUMOReal time, const std::set< const ROEdge * > &avoid) const
 Returns the next edge to use. More...
 
SUMOReal 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
 
 ROJTREdge (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...
 
void setTurnDefaults (const std::vector< SUMOReal > &defs)
 Sets the turning definition defaults. More...
 
 ~ROJTREdge ()
 Destructor. More...
 
Set-up methods
virtual void addLane (ROLane *lane)
 Adds a lane to the edge while loading. More...
 
void setFunc (EdgeFunc func)
 Sets the function of the edge. More...
 
void setRestrictions (const std::map< SUMOVehicleClass, SUMOReal > *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...
 
SUMOReal getLength () const
 Returns the length of the edge. More...
 
int getNumericalID () const
 Returns the index (numeric id) of the edge. More...
 
SUMOReal getSpeed () const
 Returns the speed allowed on this edge. More...
 
SUMOReal 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 (SUMOReal time, SUMOReal &ret) const
 Retrieves the stored effort. More...
 

Protected Attributes

ROEdgeVector myApproachingEdges
 List of edges that approached this edge. More...
 
std::map< SUMOVehicleClass,
ROEdgeVector
myClassesSuccessorMap
 The successors available for a given vClass. More...
 
SVCPermissions myCombinedPermissions
 The list of allowed vehicle classes combined across lanes. More...
 
ValueTimeLine< SUMORealmyEfforts
 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...
 
SUMOReal myLength
 The length of the edge. More...
 
const int myPriority
 The edge priority (road class) More...
 
const std::map
< SUMOVehicleClass, SUMOReal > * 
myRestrictions
 The vClass speed restrictions for this edge. More...
 
SUMOReal mySpeed
 The maximum speed allowed on this edge. More...
 
RONodemyToJunction
 
ValueTimeLine< SUMORealmyTravelTimes
 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 Types

typedef std::map< ROJTREdge
*, ValueTimeLine< SUMOReal >
*, Named::ComparatorIdLess
FollowerUsageCont
 Definition of a map that stores the probabilities of using a certain follower over time. More...
 

Private Member Functions

ROJTREdgeoperator= (const ROJTREdge &src)
 invalidated assignment operator More...
 
 ROJTREdge (const ROJTREdge &src)
 invalidated copy constructor More...
 

Private Attributes

FollowerUsageCont myFollowingDefs
 Storage for the probabilities of using a certain follower over time. More...
 
std::vector< SUMORealmyParsedTurnings
 The defaults for turnings. More...
 

Methods for getting/setting travel time and cost information

void addEffort (SUMOReal value, SUMOReal timeBegin, SUMOReal timeEnd)
 Adds a weight value. More...
 
void addTravelTime (SUMOReal value, SUMOReal timeBegin, SUMOReal 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...
 
SUMOReal getEffort (const ROVehicle *const veh, SUMOReal time) const
 Returns the effort for this edge. More...
 
bool hasLoadedTravelTime (SUMOReal time) const
 Returns whether a travel time for this edge was loaded. More...
 
SUMOReal getTravelTime (const ROVehicle *const veh, SUMOReal time) const
 Returns the travel time for this edge. More...
 
SUMOReal getMinimumTravelTime (const ROVehicle *const veh) const
 Returns a lower bound for the travel time on this edge without using any stored timeLine. More...
 
static SUMOReal getEffortStatic (const ROEdge *const edge, const ROVehicle *const veh, SUMOReal time)
 Returns the effort for the given edge. More...
 
static SUMOReal getTravelTimeStatic (const ROEdge *const edge, const ROVehicle *const veh, SUMOReal time)
 Returns the travel time for the given edge. More...
 
template<PollutantsInterface::EmissionType ET>
static SUMOReal getEmissionEffort (const ROEdge *const edge, const ROVehicle *const veh, SUMOReal time)
 
static SUMOReal getNoiseEffort (const ROEdge *const edge, const ROVehicle *const veh, SUMOReal time)
 

Detailed Description

An edge the jtr-router may route through.

A router edge extended by the definition about the probability a vehicle chooses a certain following edge over time.

Definition at line 58 of file ROJTREdge.h.

Member Typedef Documentation

Definition of a map that stores the probabilities of using a certain follower over time.

Definition at line 115 of file ROJTREdge.h.

Member Enumeration Documentation

enum ROEdge::EdgeFunc
inherited

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

ROJTREdge::ROJTREdge ( 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 49 of file ROJTREdge.cpp.

ROJTREdge::~ROJTREdge ( )

Destructor.

Definition at line 53 of file ROJTREdge.cpp.

References myFollowingDefs.

ROJTREdge::ROJTREdge ( const ROJTREdge src)
private

invalidated copy constructor

Member Function Documentation

void ROEdge::addEffort ( SUMOReal  value,
SUMOReal  timeBegin,
SUMOReal  timeEnd 
)
inherited

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 118 of file ROEdge.cpp.

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

Referenced by ROLoader::EdgeFloatTimeLineRetriever_EdgeWeight::addEdgeWeight().

void ROJTREdge::addFollowerProbability ( ROJTREdge follower,
SUMOReal  begTime,
SUMOReal  endTime,
SUMOReal  probability 
)

adds the information about the percentage of using a certain follower

Parameters
[in]followerThe following edge
[in]begTimeTime begin (in seconds) for which this probability is valid
[in]endTimeTime end (in seconds) for which this probability is valid
[in]probabilityThe probability to use the given follower

Definition at line 71 of file ROJTREdge.cpp.

References Named::getID(), myFollowingDefs, and WRITE_ERROR.

Referenced by ROJTRTurnDefLoader::addToEdge().

void ROEdge::addLane ( ROLane lane)
virtualinherited

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 96 of file ROEdge.cpp.

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

Referenced by RONetHandler::parseLane().

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

Adds information about a connected edge.

Makes this edge know the given following edge. Calls ROEdge::addFollower.

Additionally it generates the entry for the given following edge in myFollowingDefs.

Parameters
[in]sThe following edge
See also
ROEdge::addFollower

Reimplemented from ROEdge.

Definition at line 61 of file ROJTREdge.cpp.

References ROEdge::addSuccessor(), and myFollowingDefs.

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

Adds this object to the given container.

Parameters
in,filled]cont The container to add this item to

Definition at line 129 of file Named.h.

References Named::StoringVisitor::add().

void ROEdge::addTravelTime ( SUMOReal  value,
SUMOReal  timeBegin,
SUMOReal  timeEnd 
)
inherited

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 125 of file ROEdge.cpp.

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

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

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

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 271 of file ROEdge.cpp.

References ROEdge::myFollowingEdges.

Referenced by chooseNext().

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

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 237 of file ROEdge.cpp.

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

ROJTREdge * ROJTREdge::chooseNext ( const ROVehicle *const  veh,
SUMOReal  time,
const std::set< const ROEdge * > &  avoid 
) const

Returns the next edge to use.

Parameters
[in]vehThe vehicle to choose the next edge for
[in]timeThe time at which the next edge shall be entered (in seconds)
[in]avoidThe set of edges to avoid
Returns
The chosen edge

Definition at line 83 of file ROJTREdge.cpp.

References RandomDistributor< T >::add(), ROEdge::allFollowersProhibit(), RandomDistributor< T >::get(), RandomDistributor< T >::getOverallProb(), myFollowingDefs, ROEdge::myFollowingEdges, myParsedTurnings, and ROEdge::prohibits().

Referenced by ROJTRRouter::compute().

static int ROEdge::dictSize ( )
inlinestaticinherited

Returns the number of edges.

Definition at line 423 of file ROEdge.h.

References ROEdge::myEdges.

const ROEdgeVector & ROEdge::getAllEdges ( )
staticinherited

Returns all ROEdges.

Definition at line 282 of file ROEdge.cpp.

References ROEdge::myEdges.

Referenced by computeAllPairs(), and computeRoutes().

SUMOReal ROEdge::getDistanceTo ( const ROEdge other) const
inherited

optimistic distance heuristic for use in routing

Definition at line 142 of file ROEdge.cpp.

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

SUMOReal ROEdge::getEffort ( const ROVehicle *const  veh,
SUMOReal  time 
) const
inherited

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 132 of file ROEdge.cpp.

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

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

static SUMOReal ROEdge::getEffortStatic ( const ROEdge *const  edge,
const ROVehicle *const  veh,
SUMOReal  time 
)
inlinestaticinherited

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 371 of file ROEdge.h.

References ROEdge::getEffort().

const RONode* ROEdge::getFromJunction ( ) const
inlineinherited
EdgeFunc ROEdge::getFunc ( ) const
inlineinherited

Returns the function of the edge.

Returns
This edge's basic function
See also
EdgeFunc

Definition at line 190 of file ROEdge.h.

References ROEdge::myFunc.

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

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(), addFollowerProbability(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), 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::addTraciBusOrContainerStop(), MSVehicle::addTraciStop(), AGActivityTripWriter::addTrip(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSTransportable::Stage_Waiting::beginEventOutput(), MSTransportable::Stage_Driving::beginEventOutput(), NLEdgeControlBuilder::build(), NIVisumTL::build(), RODFNet::buildApproachList(), MS_E2_ZS_CollectorOverLanes::buildCollector(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), NIImporter_VISUM::buildDistrictNode(), 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(), MSVehicleTransfer::checkInsertions(), 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(), NBNode::computeInternalLaneShape(), NBEdge::computeLaneShapes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNode::computeNodeShape(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), NGNet::connect(), NLDetectorBuilder::convUncontE2PosLength(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), GUINet::createTLWrapper(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), 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(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), NBEdgeCont::extract(), TraCIServerAPI_Vehicle::findCloserLane(), NBRampsComputer::fulfillsRampConstraints(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), GNEConnection::getAttribute(), MSVehicle::getBackPosition(), MSNet::getBusStopID(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSNet::getChargingStationID(), NBEdge::getConnection(), NBEdge::getConnectionRef(), MSNet::getContainerStopID(), NBEdge::getCrossingAngle(), RODFNet::getDetectorEdge(), MSMeanData::getEdgeID(), MSE2Collector::getEstimateQueueLength(), NBEdge::getFirstNonPedestrianLane(), MSLane::getFollower(), MSLane::getFollowerOnConsecutive(), MSLane::getFollowersOnConsecutive(), GNEEdge::getGNEJunctionDest(), GNEEdge::getGNEJunctionSource(), MS_E2_ZS_CollectorOverLanes::getLanePredeccessorLanes(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), GUIVehicle::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), NBNode::getPossiblySplittedIncoming(), NBNode::getPossiblySplittedOutgoing(), NIImporter_VISUM::getReversedContinuating(), MSVehicleControl::getWaitingVehicle(), MSLink::getZipperSpeed(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBEdgeCont::guessSidewalks(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), NBEdgeCont::ignoreFilterMatch(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSActuatedTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NBEdgeCont::insert(), MSEdge::insertVehicle(), 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(), NBNodeCont::mapToNumericalIDs(), NBEdgeCont::mapToNumericalIDs(), 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(), 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(), MSCalibrator::VehicleRemover::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Example::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSE2Collector::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()(), 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_SL2015::patchSpeed(), MSLCM_LC2013::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSVehicle::planMove(), MSLane::planMovements(), MSRightOfWayJunction::postloadInit(), NBEdge::prepareEdgePriorities(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), TraCIServerAPI_InductionLoop::processGet(), TraCIServerAPI_TLS::processGet(), TraCIServerAPI_Vehicle::processGet(), TraCIServerAPI_Person::processGet(), TraCIServerAPI_ArealDetector::processGet(), TraCIServerAPI_Lane::processGet(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), NIXMLNodesHandler::processTrafficLightDefinitions(), NWWriter_SUMO::prohibitionConnection(), MSPModel_Striping::PState::PState(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), 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(), MSBaseVehicle::replaceRouteEdges(), NBConnection::replaceTo(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), MSBaseVehicle::reroute(), MSLane::resetPartialOccupation(), NBEdge::restoreRestrictedLane(), GNEEdge::retrieveConnection(), NIXMLTrafficLightsHandler::retrieveLaneIndex(), RODFNet::revalidateFlows(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), MSBaseVehicle::saveState(), MSLane::saveState(), MSDevice_Battery::setAirDragCoefficient(), NBNodeCont::setAsTLControlled(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), MSDevice_Battery::setConstantPowerIntake(), NBEdge::setControllingTLInformation(), MSChargingStation::setEfficency(), MSDevice_Battery::setFrontSurfaceArea(), MSDevice_Battery::setInternalMomentOfInertia(), GNEJunction::setLogicValid(), MSDevice_Battery::setMass(), MSDevice_Battery::setMaximumBatteryCapacity(), NIXMLEdgesHandler::setNodes(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), MSDevice_Battery::setPropulsionEfficiency(), MSDevice_Battery::setRadialDragCoefficient(), MSDevice_Battery::setRecuperationEfficiency(), MSLink::setRequestInformation(), MSDevice_Battery::setRollDragCoefficient(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBEdge::shiftPositionAtNode(), NBEdgeCont::splitAt(), MSLane::succLinkSec(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSVehicle::updateBestLanes(), MSSOTLTrafficLightLogic::updateCTS(), GNETLSEditorFrame::updateDescription(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), TraCIServerAPI_Vehicle::vtdMap(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSEmissionExport::write(), MSBatteryExport::write(), MSFCDExport::write(), MSInstantInductLoop::write(), NBSign::writeAsPOI(), 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_SUMO::writeRoundabout(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSFullExport::writeVehicles(), PointOfInterest::writeXML(), SUMO::Polygon::writeXML(), MSRouteProbe::writeXMLOutput(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), and RONet::~RONet().

int ROEdge::getLaneNo ( ) const
inlineinherited

Returns the number of lanes this edge has.

Returns
This edge's number of lanes

Definition at line 235 of file ROEdge.h.

References ROEdge::myLanes.

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

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

Returns this edge's lanes.

Returns
This edge's lanes

Definition at line 449 of file ROEdge.h.

References ROEdge::myLanes.

Referenced by RONetHandler::parseConnection().

SUMOReal ROEdge::getMinimumTravelTime ( const ROVehicle *const  veh) const
inlineinherited

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 393 of file ROEdge.h.

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

Referenced by ROEdge::getTravelTime().

SUMOReal ROEdge::getNoiseEffort ( const ROEdge *const  edge,
const ROVehicle *const  veh,
SUMOReal  time 
)
staticinherited
int ROEdge::getNumericalID ( ) const
inlineinherited

Returns the index (numeric id) of the edge.

Returns
This edge's numerical id

Definition at line 205 of file ROEdge.h.

References ROEdge::myIndex.

Referenced by RONet::createBulkRouteRequests().

int ROEdge::getNumPredecessors ( ) const
inherited

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 228 of file ROEdge.cpp.

References ROEdge::ET_SOURCE, ROEdge::getFunc(), and ROEdge::myApproachingEdges.

Referenced by RORouteHandler::parseFromViaTo().

int ROEdge::getNumSuccessors ( ) const
inherited

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 219 of file ROEdge.cpp.

References ROEdge::ET_SINK, ROEdge::getFunc(), and ROEdge::myFollowingEdges.

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

SVCPermissions ROEdge::getPermissions ( ) const
inlineinherited

Definition at line 258 of file ROEdge.h.

References ROEdge::myCombinedPermissions.

Referenced by AGStreet::allows().

const ROEdgeVector& ROEdge::getPredecessors ( ) const
inlineinherited

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 331 of file ROEdge.h.

References ROEdge::myApproachingEdges.

Referenced by RODFDetector::computeSplitProbabilities().

int ROEdge::getPriority ( ) const
inlineinherited

get edge priority (road class)

Definition at line 432 of file ROEdge.h.

References ROEdge::myPriority.

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

SUMOReal ROEdge::getSpeed ( ) const
inlineinherited
bool ROEdge::getStoredEffort ( SUMOReal  time,
SUMOReal ret 
) const
protectedinherited

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 194 of file ROEdge.cpp.

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

Referenced by ROEdge::getEffort(), ROEdge::getEmissionEffort(), and ROEdge::getNoiseEffort().

const ROEdgeVector& ROEdge::getSuccessors ( ) const
inlineinherited

Returns the following edges.

Definition at line 305 of file ROEdge.h.

References ROEdge::myFollowingEdges.

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

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

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 288 of file ROEdge.cpp.

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

const RONode* ROEdge::getToJunction ( ) const
inlineinherited
SUMOReal ROEdge::getTravelTime ( const ROVehicle *const  veh,
SUMOReal  time 
) const
inherited

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 159 of file ROEdge.cpp.

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

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

static SUMOReal ROEdge::getTravelTimeStatic ( const ROEdge *const  edge,
const ROVehicle *const  veh,
SUMOReal  time 
)
inlinestaticinherited

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 383 of file ROEdge.h.

References ROEdge::getTravelTime().

Referenced by computeRoutes().

SUMOReal ROEdge::getVClassMaxSpeed ( SUMOVehicleClass  vclass) const
inlineinherited

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 221 of file ROEdge.h.

References ROEdge::myRestrictions, and ROEdge::mySpeed.

Referenced by RODFNet::buildEdgeFlowMap().

bool ROEdge::hasLoadedTravelTime ( SUMOReal  time) const
inherited

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 153 of file ROEdge.cpp.

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

Referenced by ROMAAssignments::incremental().

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

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 329 of file ROEdge.cpp.

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

bool ROEdge::isCrossing ( ) const
inlineinherited

return whether this edge is a pedestrian crossing

Definition at line 160 of file ROEdge.h.

References ROEdge::ET_CROSSING, and ROEdge::myFunc.

bool ROEdge::isInternal ( ) const
inlineinherited

return whether this edge is an internal edge

Definition at line 155 of file ROEdge.h.

References ROEdge::ET_INTERNAL, and ROEdge::myFunc.

bool ROEdge::isWalkingArea ( ) const
inlineinherited

return whether this edge is walking area

Definition at line 165 of file ROEdge.h.

References ROEdge::ET_WALKINGAREA, and ROEdge::myFunc.

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

invalidated assignment operator

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

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 253 of file ROEdge.h.

References RORoutable::getVClass(), and ROEdge::myCombinedPermissions.

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

void ROEdge::setFunc ( EdgeFunc  func)
inlineinherited

Sets the function of the edge.

Parameters
[in]funcThe new function for the edge

Definition at line 141 of file ROEdge.h.

References ROEdge::myFunc.

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

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

Definition at line 427 of file ROEdge.h.

References ROEdge::myInterpolate.

Referenced by initNet().

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 NBNodeCont::mapToNumericalIDs(), NBEdgeCont::mapToNumericalIDs(), NBNodeCont::rename(), and NBEdgeCont::rename().

void ROEdge::setRestrictions ( const std::map< SUMOVehicleClass, SUMOReal > *  restrictions)
inlineinherited

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 ROEdge::myRestrictions.

Referenced by RONetHandler::parseEdge().

void ROJTREdge::setTurnDefaults ( const std::vector< SUMOReal > &  defs)

Sets the turning definition defaults.

Parameters
[in]defThe turning percentage defaults

Definition at line 119 of file ROJTREdge.cpp.

References ROEdge::myFollowingEdges, myParsedTurnings, and SUMOReal.

Field Documentation

ROEdgeVector ROEdge::myApproachingEdges
protectedinherited

List of edges that approached this edge.

Definition at line 503 of file ROEdge.h.

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

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

The successors available for a given vClass.

Definition at line 521 of file ROEdge.h.

Referenced by ROEdge::getSuccessors().

SVCPermissions ROEdge::myCombinedPermissions
protectedinherited

The list of allowed vehicle classes combined across lanes.

Definition at line 515 of file ROEdge.h.

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

ROEdgeVector ROEdge::myEdges
staticprotectedinherited

Definition at line 517 of file ROEdge.h.

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

ValueTimeLine<SUMOReal> ROEdge::myEfforts
mutableprotectedinherited

Container storing passing time varying over time for the edge.

Definition at line 487 of file ROEdge.h.

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

FollowerUsageCont ROJTREdge::myFollowingDefs
private

Storage for the probabilities of using a certain follower over time.

Definition at line 118 of file ROJTREdge.h.

Referenced by addFollowerProbability(), addSuccessor(), chooseNext(), and ~ROJTREdge().

ROEdgeVector ROEdge::myFollowingEdges
protectedinherited

List of edges that may be approached from this edge.

Definition at line 500 of file ROEdge.h.

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

RONode* ROEdge::myFromJunction
protectedinherited

the junctions for this edge

Definition at line 465 of file ROEdge.h.

Referenced by ROEdge::getFromJunction().

EdgeFunc ROEdge::myFunc
protectedinherited
bool ROEdge::myHaveEWarned = false
staticprotectedinherited

Information whether the edge has reported missing weights.

Definition at line 495 of file ROEdge.h.

Referenced by ROEdge::getStoredEffort().

bool ROEdge::myHaveTTWarned = false
staticprotectedinherited

Information whether the edge has reported missing weights.

Definition at line 497 of file ROEdge.h.

Referenced by ROEdge::getTravelTime().

const int ROEdge::myIndex
protectedinherited

The index (numeric id) of the edge.

Definition at line 469 of file ROEdge.h.

Referenced by ROEdge::getNumericalID().

bool ROEdge::myInterpolate = false
staticprotectedinherited

Information whether to interpolate at interval boundaries.

Definition at line 492 of file ROEdge.h.

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

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

This edge's lanes.

Definition at line 512 of file ROEdge.h.

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

SUMOReal ROEdge::myLength
protectedinherited
std::vector<SUMOReal> ROJTREdge::myParsedTurnings
private

The defaults for turnings.

Definition at line 121 of file ROJTREdge.h.

Referenced by chooseNext(), and setTurnDefaults().

const int ROEdge::myPriority
protectedinherited

The edge priority (road class)

Definition at line 472 of file ROEdge.h.

Referenced by ROEdge::getPriority().

const std::map<SUMOVehicleClass, SUMOReal>* ROEdge::myRestrictions
protectedinherited

The vClass speed restrictions for this edge.

Definition at line 509 of file ROEdge.h.

Referenced by ROEdge::getVClassMaxSpeed(), and ROEdge::setRestrictions().

RONode* ROEdge::myToJunction
protectedinherited

Definition at line 466 of file ROEdge.h.

Referenced by ROEdge::getToJunction().

ValueTimeLine<SUMOReal> ROEdge::myTravelTimes
mutableprotectedinherited

Container storing passing time varying over time for the edge.

Definition at line 482 of file ROEdge.h.

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

bool ROEdge::myUsingETimeLine
protectedinherited

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

Definition at line 489 of file ROEdge.h.

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

bool ROEdge::myUsingTTTimeLine
protectedinherited

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

Definition at line 484 of file ROEdge.h.

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


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