![]() |
SUMO - Simulation of Urban MObility
|
A model of the street in the city. More...
#include <AGStreet.h>
Data Structures | |
class | Builder |
Public Member Functions | |
void | addTo (const StoringVisitor &cont) const |
Adds this object to the given container. More... | |
AGStreet (const std::string &id, RONode *from, RONode *to, int index, const int priority) | |
bool | allows (const SUMOVehicleClass vclass) const |
Returns whether the given vehicle class is allowed on this street. More... | |
double | getDistanceTo (const ROEdge *other, const bool doBoundaryEstimate=false) const |
optimistic distance heuristic for use in routing More... | |
const RONode * | getFromJunction () const |
const std::string & | getID () const |
Returns the id. More... | |
const std::vector< ROLane * > & | getLanes () const |
Returns this edge's lanes. More... | |
double | getPopulation () const |
Provides the number of persons living in this street. More... | |
int | getPriority () const |
get edge priority (road class) More... | |
const RONode * | getToJunction () const |
double | getWorkplaceNumber () const |
Provides the number of work places in this street. More... | |
void | print () const |
Prints a summary of the properties of this street to standard output. More... | |
void | setID (const std::string &newID) |
resets the id More... | |
void | setPopulation (const double pop) |
Modifies the number of persons living in this street. More... | |
void | setWorkplaceNumber (const double work) |
Modifies the number of work places in this street. More... | |
Set-up methods | |
virtual void | addLane (ROLane *lane) |
Adds a lane to the edge while loading. More... | |
virtual void | addSuccessor (ROEdge *s, ROEdge *via=nullptr, std::string dir="") |
Adds information about a connected edge. More... | |
void | setFunction (SumoXMLEdgeFunc func) |
Sets the function of the edge. More... | |
void | setSource (const bool isSource=true) |
Sets whether the edge is a source. More... | |
void | setSink (const bool isSink=true) |
Sets whether the edge is a sink. 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... | |
bool | isTazConnector () const |
void | buildTimeLines (const std::string &measure, const bool boundariesOverride) |
Builds the internal representation of the travel time/effort. More... | |
Getter methods | |
SumoXMLEdgeFunc | getFunction () const |
Returns the function of the edge. More... | |
bool | isSink () const |
Returns whether the edge acts as a sink. 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 | getNumLanes () 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 ROEdgeVector & | getAllEdges () |
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 const Position | getStopPosition (const SUMOVehicleParameter::Stop &stop) |
return the coordinates of the center of the given stop More... | |
static void | setGlobalOptions (const bool interpolate) |
Protected Member Functions | |
bool | getStoredEffort (double time, double &ret) const |
Retrieves the stored effort. More... | |
Protected Attributes | |
bool | myAmSink |
whether the edge is a source or a sink More... | |
bool | myAmSource |
ROEdgeVector | myApproachingEdges |
List of edges that approached this edge. More... | |
Boundary | myBoundary |
The bounding rectangle of end nodes incoming or outgoing edges for taz connectors or of my own start and end node for normal edges. More... | |
std::map< SUMOVehicleClass, ROEdgeVector > | myClassesSuccessorMap |
The successors available for a given vClass. More... | |
std::map< SUMOVehicleClass, ROConstEdgePairVector > | myClassesViaSuccessorMap |
The successors with vias 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... | |
ROConstEdgePairVector | myFollowingViaEdges |
RONode * | myFromJunction |
the junctions for this edge More... | |
SumoXMLEdgeFunc | myFunction |
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... | |
RONode * | myToJunction |
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 Attributes | |
double | myNumWorkplaces |
double | myPopulation |
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 ROEdgeVector & | getSuccessors (SUMOVehicleClass vClass=SVC_IGNORING) const |
Returns the following edges, restricted by vClass. More... | |
const ROConstEdgePairVector & | getViaSuccessors (SUMOVehicleClass vClass=SVC_IGNORING) const |
Returns the following edges including vias, restricted by vClass. More... | |
int | getNumPredecessors () const |
Returns the number of edges connected to this edge. More... | |
const ROEdgeVector & | getPredecessors () const |
Returns the edge at the given position from the list of incoming edges. More... | |
const ROEdge * | getNormalBefore () const |
if this edge is an internal edge, return its first normal predecessor, otherwise the edge itself More... | |
const ROEdge * | getNormalAfter () const |
if this edge is an internal edge, return its first normal successor, otherwise the edge itself 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) |
A model of the street in the city.
AGStreet represents a street in the city. It contains all model relevant properties and is associated with a ROEdge of the routing network.
Definition at line 53 of file AGStreet.h.
AGStreet::AGStreet | ( | const std::string & | id, |
RONode * | from, | ||
RONode * | to, | ||
int | index, | ||
const int | priority | ||
) |
Definition at line 37 of file AGStreet.cpp.
Referenced by AGStreet::Builder::buildEdge().
|
inherited |
Adds a weight value.
[in] | value | The value to add |
[in] | timeBegin | The begin time of the interval the given value is valid for [s] |
[in] | timeEnd | The end time of the interval the given value is valid for [s] |
Definition at line 126 of file ROEdge.cpp.
References ValueTimeLine< T >::add(), ROEdge::myEfforts, and ROEdge::myUsingETimeLine.
Referenced by ROLoader::EdgeFloatTimeLineRetriever_EdgeWeight::addEdgeWeight(), and ROEdge::getPermissions().
|
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.
[in] | lane | The lane to add |
Definition at line 90 of file ROEdge.cpp.
References ROLane::getLength(), ROLane::getPermissions(), ROLane::getSpeed(), ROEdge::myCombinedPermissions, ROEdge::myLanes, ROEdge::myLength, and ROEdge::mySpeed.
Referenced by RONetHandler::parseLane().
|
virtualinherited |
Adds information about a connected edge.
The edge s is added to "myFollowingEdges" and this edge is added as predecessor to s.
[in] | s | The edge to add |
Reimplemented in ROMAEdge, and ROJTREdge.
Definition at line 103 of file ROEdge.cpp.
References Boundary::add(), ROEdge::getFromJunction(), RONode::getPosition(), ROEdge::getToJunction(), ROEdge::isInternal(), ROEdge::isTazConnector(), ROEdge::myApproachingEdges, ROEdge::myBoundary, ROEdge::myFollowingEdges, and ROEdge::myFollowingViaEdges.
Referenced by RONet::addDistrictEdge(), ROJTREdge::addSuccessor(), ROMAEdge::addSuccessor(), and RONetHandler::parseConnection().
|
inlineinherited |
Adds this object to the given container.
Definition at line 123 of file Named.h.
References Named::StoringVisitor::add().
|
inherited |
Adds a travel time value.
[in] | value | The value to add |
[in] | timeBegin | The begin time of the interval the given value is valid for [s] |
[in] | timeEnd | The end time of the interval the given value is valid for [s] |
Definition at line 133 of file ROEdge.cpp.
References ValueTimeLine< T >::add(), ROEdge::myTravelTimes, and ROEdge::myUsingTTTimeLine.
Referenced by ROLoader::EdgeFloatTimeLineRetriever_EdgeTravelTime::addEdgeWeight(), ROEdge::getPermissions(), ROMAAssignments::incremental(), and ROMAAssignments::sue().
|
inherited |
Returns whether this edge succeeding edges prohibit the given vehicle to pass them.
[in] | vehicle | The vehicle for which the information has to be returned |
Definition at line 309 of file ROEdge.cpp.
References ROEdge::myFollowingEdges.
Referenced by ROJTREdge::chooseNext(), and ROEdge::getPermissions().
bool AGStreet::allows | ( | const SUMOVehicleClass | vclass | ) | const |
Returns whether the given vehicle class is allowed on this street.
[in] | vclass | the class (passenger or bus) in question |
Definition at line 73 of file AGStreet.cpp.
References ROEdge::getPermissions().
Referenced by AGStreet::Builder::buildEdge(), and AGWorkAndSchool::carsToTrips().
|
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.
[in] | measure | The name of the measure to use. |
Definition at line 275 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, and PollutantsInterface::PM_X.
Referenced by ROEdge::isTazConnector().
|
inlinestaticinherited |
|
staticinherited |
Returns all ROEdges.
Definition at line 320 of file ROEdge.cpp.
References ROEdge::myEdges.
Referenced by computeAllPairs(), computeRoutes(), and ROEdge::getEmissionEffort().
|
inherited |
optimistic distance heuristic for use in routing
Definition at line 150 of file ROEdge.cpp.
References Boundary::distanceTo2D(), Position::distanceTo2D(), ROEdge::getFromJunction(), RONode::getPosition(), ROEdge::getToJunction(), ROEdge::isTazConnector(), and ROEdge::myBoundary.
Referenced by ROEdge::getEmissionEffort().
|
inherited |
Returns the effort for this edge.
[in] | veh | The vehicle for which the effort on this edge shall be retrieved |
[in] | time | The tim for which the effort shall be returned [s] |
Definition at line 140 of file ROEdge.cpp.
References ROEdge::getStoredEffort(), RORoutable::getType(), SUMOVTypeParameter::maxSpeed, MIN2(), ROEdge::myLength, and ROEdge::mySpeed.
Referenced by ROEdge::getEffortStatic(), ROMAAssignments::getPenalizedEffort(), and ROEdge::getPredecessors().
|
inlinestaticinherited |
Returns the effort for the given edge.
[in] | edge | The edge for which the effort shall be retrieved |
[in] | veh | The vehicle for which the effort on this edge shall be retrieved |
[in] | time | The time for which the effort shall be returned [s] |
Definition at line 386 of file ROEdge.h.
References ROEdge::getEffort().
|
inlinestaticinherited |
Definition at line 420 of file ROEdge.h.
References PollutantsInterface::computeDefault(), SUMOVTypeParameter::emissionClass, ROEdge::getAllEdges(), SUMOVTypeParameter::getCFParam(), SUMOVTypeParameter::getDefaultAccel(), SUMOVTypeParameter::getDefaultImperfection(), ROEdge::getDistanceTo(), ROEdge::getNoiseEffort(), ROEdge::getStoredEffort(), ROEdge::getTravelTime(), RORoutable::getType(), SUMOVTypeParameter::maxSpeed, MIN2(), ROEdge::mySpeed, SUMO_ATTR_ACCEL, SUMO_ATTR_SIGMA, and SUMOVTypeParameter::vehicleClass.
|
inlineinherited |
Definition at line 460 of file ROEdge.h.
References ROEdge::myFromJunction.
Referenced by ROEdge::addSuccessor(), RODFNet::buildApproachList(), AGPosition::compute2dPosition(), ROEdge::getDistanceTo(), and ROEdge::getStopPosition().
|
inlineinherited |
Returns the function of the edge.
Definition at line 183 of file ROEdge.h.
References ROEdge::myFunction.
Referenced by writeInterval().
|
inlineinherited |
Returns the id.
Definition at line 78 of file Named.h.
Referenced by NIImporter_SUMO::_loadNetwork(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), MSPModel_Remote::add(), LaneStoringVisitor::add(), MSPModel_Striping::add(), MSVehicleTransfer::add(), PCPolyContainer::add(), MSDetectorControl::add(), Named::StoringVisitor::add(), ShapeContainer::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBRailwayTopologyAnalyzer::addBidiEdgesForStops(), NBLoadedSUMOTLDef::addConnection(), NLHandler::addConnection(), NIXMLConnectionsHandler::addCrossing(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), NBParkingCont::addEdges2Keep(), ROJTREdge::addFollowerProbability(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSLane::addNeigh(), RONet::addNode(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), NBEdge::addRestrictedLane(), RONet::addRouteDef(), NBDistrict::addSink(), NBDistrict::addSource(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), ROVehicle::addStop(), MSRouteHandler::addStop(), MSVehicle::addStop(), MSNet::addStoppingPlace(), NBEdge::addStraightConnections(), NIXMLTrafficLightsHandler::addTlConnection(), NIVissimDisturbance::addToNode(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), AGActivityTripWriter::addTrip(), NIXMLConnectionsHandler::addWalkingArea(), NBRailwayTopologyAnalyzer::allBroken(), NBEdge::append(), NBEdgeCont::appendRailwayTurnarounds(), libsumo::Helper::applySubscriptionFilters(), NBPTStopCont::assignAndCreatNewPTStopAsNeeded(), NBPTStopCont::assignPTStopToEdgeOfClosestPlatform(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSTransportable::Stage_Waiting::beginEventOutput(), MSTransportable::Stage_Driving::beginEventOutput(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), 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(), MSEdge::checkAndRegisterBiDirEdge(), MSLane::checkForPedestrians(), NBEdge::checkGeometry(), NBEdgeCont::checkGrade(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), NBEdgeCont::checkOverlap(), MSDevice_Battery::checkParam(), MSE2Collector::checkPositioning(), MSVehicle::checkRewindLinkLanes(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), NBTrafficLightLogic::closeBuilding(), 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(), NBEdge::debugPrintConnections(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistricts(), NBEdge::divideOnEdges(), NBEdge::divideSelectedLanesOnEdges(), MSTransportable::Stage_Waiting::endEventOutput(), MSTransportable::Stage_Driving::endEventOutput(), MSE3Collector::enter(), MSVehicle::enterLaneAtMove(), 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(), NBRailwayTopologyAnalyzer::extendBidiEdges(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), NBEdgeCont::extract(), NBNodeCont::feasibleCluster(), libsumo::Helper::findCloserLane(), MSDevice_SSM::findFoeConflictLane(), libsumo::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), NBTrafficLightDefinition::forbids(), NBRampsComputer::fulfillsRampConstraints(), NBPTStopCont::generateBidiStops(), NBNodeCont::generateNodeClusters(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), GNEConnection::getAttribute(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), libsumo::Vehicle::getBestLanes(), NBOwnTLDef::getBestPair(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), GUILane::getColorValue(), NBEdge::getConnection(), NBEdge::getConnectionRef(), libsumo::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), NBEdge::getCrossingAngle(), NBNodeShapeComputer::getDefaultRadius(), NBTrafficLightDefinition::getDescription(), RODFNet::getDetectorEdge(), libsumo::Lane::getEdgeID(), MSMeanData::getEdgeID(), NBEdge::getFirstNonPedestrianLane(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), libsumo::LaneArea::getLaneID(), libsumo::InductionLoop::getLaneID(), libsumo::Vehicle::getLaneID(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSLane::getLinkTo(), MSTLLogicControl::TLSLogicVariants::getLogicInstantiatingOff(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIInstantInductLoop::MyWrapper::getParameterWindow(), GUIMEInductLoop::MyWrapper::getParameterWindow(), GUIVehicle::getParameterWindow(), GUIE2Collector::MyWrapper::getParameterWindow(), GUIInductLoop::MyWrapper::getParameterWindow(), GUILane::getParameterWindow(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), NBNode::getPossiblySplittedIncoming(), NBNode::getPossiblySplittedOutgoing(), NIImporter_VISUM::getReversedContinuating(), NBPTStopCont::getReverseStop(), libsumo::Person::getRoadID(), libsumo::Vehicle::getRoadID(), libsumo::Vehicle::getRouteID(), MSContainer::MSContainerStage_Driving::getStageSummary(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSContainer::MSContainerStage_Tranship::getStageSummary(), MSTransportable::Stage_Trip::getStageSummary(), MSPerson::MSPersonStage_Driving::getStageSummary(), MSPerson::MSPersonStage_Access::getStageSummary(), MSTransportable::Stage_Waiting::getStageSummary(), MSNet::getStoppingPlaceID(), MSLane::getSurroundingVehicles(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSTransportable::Stage_Driving::getWaitingDescription(), MSVehicleControl::getWaitingVehicle(), MSLink::getZipperSpeed(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBEdgeCont::guessSidewalks(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), NBEdgeCont::ignoreFilterMatch(), MSVehicle::ignoreRed(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), NBEdge::init(), MSE2Collector::initAuxiliaries(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBTrafficLightLogicCont::insert(), NBNodeCont::insert(), NBEdgeCont::insert(), MSEdge::insertVehicle(), MSLane::integrateNewVehicle(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MESegment::isOpen(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), MESegment::jamThresholdForSpeed(), NBNodeShapeComputer::joinSameDirectionEdges(), NBEdgeCont::joinSameNodeConnectingEdges(), MSAbstractLaneChangeModel::laneChangeOutput(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), NIImporter_ArcView::load(), 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(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), MSCalibrator::MSCalibrator(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSE2Collector::MSE2Collector(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), NIXMLConnectionsHandler::myStartElement(), NIXMLEdgesHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), NBConnection::NBConnection(), NBRequest::NBRequest(), MSPModel_Striping::nextBlocking(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_Example::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_Example::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSE2Collector::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Bluelight::notifyMove(), MSDevice_Example::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSDevice_BTsender::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE2Collector::notifyMove(), MSDevice_SSM::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNETLSEditorFrame::TLSFile::onCmdSaveTLSProgram(), GUIViewTraffic::onGamingClick(), GNEViewNet::onLeftBtnPress(), MSLink::opened(), RORouteHandler::openRoute(), 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()(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), NBRequest::oppositeLeftTurnConflict(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_LanesConnections(), NIImporter_VISUM::parse_Turns(), NIImporter_VISUM::parse_TurnsToSignalGroups(), NLTriggerBuilder::parseAndBuildCalibrator(), NIXMLConnectionsHandler::parseDeprecatedLaneDefinition(), NIXMLConnectionsHandler::parseLaneBound(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), NBEdge::prepareEdgePriorities(), print(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkAproaches(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), NBEdgeCont::processSplits(), MEVehicle::processStop(), NIXMLNodesHandler::processTrafficLightDefinitions(), NWWriter_SUMO::prohibitionConnection(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdgeCont::recheckLanes(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::remapIDs(), NBLoadedTLDef::SignalGroup::remapIncoming(), NBLoadedTLDef::SignalGroup::remapOutgoing(), MSLink::removeApproaching(), GNEJunction::removeConnectionsFrom(), NBNodeCont::removeIsolatedRoads(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), NBNode::removeSelfLoops(), GNEJunction::removeTLSConnections(), NBEdgeCont::removeUnwishedEdges(), NBNodeCont::rename(), NBEdgeCont::rename(), GNENet::renameEdge(), GNENet::renameJunction(), RORouteDef::repairCurrentRoute(), NBConnection::replaceFrom(), GNEJunction::replaceIncomingConnections(), MSVehicle::replaceParkingArea(), MSBaseVehicle::replaceRouteEdges(), NBConnection::replaceTo(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NIImporter_DlrNavteq::ConnectedLanesHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSBaseVehicle::reroute(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), NBEdge::restoreRestrictedLane(), GNEEdge::retrieveGNEConnection(), NIXMLTrafficLightsHandler::retrieveLaneIndex(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), NBPTLineCont::reviseStops(), MSPerson::MSPersonStage_Walking::routeOutput(), MSPerson::MSPersonStage_Driving::routeOutput(), RONet::saveAndRemoveRoutesUntil(), MSPersonDevice_Routing::saveState(), MSDevice_Routing::saveState(), MSDevice_Vehroutes::saveState(), MSDevice::saveState(), MSDevice_Tripinfo::saveState(), MSBaseVehicle::saveState(), MSLane::saveState(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSLink::setApproaching(), MSTransportable::Stage_Trip::setArrived(), NBNodeCont::setAsTLControlled(), GNEEdge::setAttribute(), NBRequest::setBlocking(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), NBEdge::setControllingTLInformation(), NLEdgeControlBuilder::setDefaultStopOffsets(), MSChargingStation::setEfficency(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), NIXMLEdgesHandler::setNodes(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), MSLink::setRequestInformation(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), NBEdge::setStopOffsets(), MSDevice_Battery::setStoppingTreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBEdge::shiftPositionAtNode(), NBNode::sortEdges(), MSLane::sortManeuverReservations(), NBEdgeCont::splitAt(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSLane::succLinkSec(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), NGNet::toNB(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSDevice_SSM::update(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateCFRelated(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffsets(), MSVehicle::updateDriveItems(), GNETLSEditorFrame::TLSJunction::updateJunctionDescription(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), NBNodeTypeComputer::validateRailCrossings(), MSPModel_Striping::PState::walk(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), NBParking::write(), MSEmissionExport::write(), MSBatteryExport::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(), NWWriter_OpenDrive::writeInternalEdge(), writeInterval(), NWWriter_SUMO::writeJunction(), MSQueueExport::writeLane(), MSFullExport::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NWWriter_OpenDrive::writeNormalEdge(), NWWriter_DlrNavteq::writeProhibitedManoeuvres(), NWWriter_SUMO::writeRoundabout(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSFullExport::writeVehicles(), PointOfInterest::writeXML(), SUMOPolygon::writeXML(), MSRouteProbe::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSE2Collector::writeXMLOutput(), and RONet::~RONet().
|
inlinestaticinherited |
get an identifier for Named-like object which may be Null
Definition at line 71 of file Named.h.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::changeOpposite(), MSVehicle::checkRewindLinkLanes(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), GUIVehicle::getParameterWindow(), MSLaneChanger::getRealLeader(), NBEdge::init(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), operator<<(), NBEdge::recheckLanes(), MSTriggeredRerouter::rerouteParkingArea(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), toString(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), MSVehicle::updateBestLanes(), and MSAbstractLaneChangeModel::updateShadowLane().
|
inlineinherited |
Returns this edge's lanes.
Definition at line 473 of file ROEdge.h.
References ROEdge::getStoredEffort(), and ROEdge::myLanes.
Referenced by RONetHandler::parseConnection().
|
inlineinherited |
Returns the length of the edge.
Definition at line 199 of file ROEdge.h.
References ROEdge::myLength.
Referenced by RORouteHandler::addPersonTrip(), RORouteHandler::addStop(), RODFNet::buildRoutes(), ROMAAssignments::capacityConstraintFunction(), AGPosition::compute2dPosition(), RODFNet::getAbsPos(), ROEdge::getStopPosition(), getTravelTime(), RONetHandler::parseStoppingPlace(), AGActivityGenHandler::parseStreets(), print(), AGPosition::print(), AGPosition::randomPositionInStreet(), and writeInterval().
|
inlineinherited |
return a lower bound on shape.length() / myLength that is
Definition at line 220 of file ROEdge.h.
References Position::distanceTo(), RONode::getPosition(), MAX2(), ROEdge::myFromJunction, ROEdge::myLength, and ROEdge::myToJunction.
|
inlineinherited |
Returns a lower bound for the travel time on this edge without using any stored timeLine.
[in] | veh | The vehicle for which the effort on this edge shall be retrieved |
[in] | time | The time for which the effort shall be returned [s] |
Definition at line 408 of file ROEdge.h.
References ROVehicle::getChosenSpeedFactor(), RORoutable::getType(), ROEdge::isTazConnector(), SUMOVTypeParameter::maxSpeed, MIN2(), ROEdge::myLength, and ROEdge::mySpeed.
Referenced by ROEdge::getTravelTime().
|
staticinherited |
Definition at line 199 of file ROEdge.cpp.
References HelpersHarmonoise::computeNoise(), SUMOVTypeParameter::emissionClass, ROEdge::getStoredEffort(), RORoutable::getType(), SUMOVTypeParameter::maxSpeed, MIN2(), and ROEdge::mySpeed.
Referenced by computeRoutes(), and ROEdge::getEmissionEffort().
|
inherited |
if this edge is an internal edge, return its first normal successor, otherwise the edge itself
Definition at line 264 of file ROEdge.cpp.
References ROEdge::isInternal(), and ROEdge::myFollowingEdges.
Referenced by ROVehicle::getMandatoryEdges(), and ROEdge::getPredecessors().
|
inherited |
if this edge is an internal edge, return its first normal predecessor, otherwise the edge itself
Definition at line 253 of file ROEdge.cpp.
References ROEdge::isInternal(), and ROEdge::myApproachingEdges.
Referenced by RORouteHandler::addStop(), ROVehicle::getMandatoryEdges(), and ROEdge::getPredecessors().
|
inlineinherited |
Returns the index (numeric id) of the edge.
Definition at line 206 of file ROEdge.h.
References ROEdge::myIndex.
Referenced by RONet::createBulkRouteRequests().
|
inlineinherited |
Returns the number of lanes this edge has.
Definition at line 246 of file ROEdge.h.
References ROEdge::isConnectedTo(), and ROEdge::myLanes.
Referenced by ROMAAssignments::capacityConstraintFunction(), ROMAAssignments::getCapacity(), and RODFDetectorHandler::myStartElement().
|
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".
Definition at line 244 of file ROEdge.cpp.
References ROEdge::myAmSource, and ROEdge::myApproachingEdges.
Referenced by ROEdge::getPermissions(), and RORouteHandler::parseFromViaTo().
|
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".
Definition at line 235 of file ROEdge.cpp.
References ROEdge::myAmSink, and ROEdge::myFollowingEdges.
Referenced by RODFDetector::computeSplitProbabilities(), ROEdge::getPermissions(), and RORouteHandler::parseFromViaTo().
|
inlineinherited |
Definition at line 269 of file ROEdge.h.
References ROEdge::addEffort(), ROEdge::addTravelTime(), ROEdge::allFollowersProhibit(), ROEdge::getNumPredecessors(), ROEdge::getNumSuccessors(), ROEdge::getSuccessors(), ROEdge::getViaSuccessors(), ROEdge::myCombinedPermissions, and SVC_IGNORING.
Referenced by allows().
double AGStreet::getPopulation | ( | ) | const |
Provides the number of persons living in this street.
Definition at line 49 of file AGStreet.cpp.
References myPopulation.
Referenced by AGStreet::Builder::buildEdge().
|
inlineinherited |
Returns the edge at the given position from the list of incoming edges.
[in] | pos | The position of the list within the list of incoming |
Definition at line 341 of file ROEdge.h.
References ROEdge::getEffort(), ROEdge::getNormalAfter(), ROEdge::getNormalBefore(), ROEdge::getTravelTime(), ROEdge::hasLoadedTravelTime(), and ROEdge::myApproachingEdges.
Referenced by RODFDetector::computeSplitProbabilities().
|
inlineinherited |
get edge priority (road class)
Definition at line 456 of file ROEdge.h.
References ROEdge::myPriority.
Referenced by ROMAAssignments::capacityConstraintFunction(), and ROMAAssignments::getCapacity().
|
inlineinherited |
Returns the speed allowed on this edge.
Definition at line 214 of file ROEdge.h.
References ROEdge::mySpeed.
Referenced by RODFNet::buildEdgeFlowMap(), RODFNet::buildRoutes(), ROMAAssignments::capacityConstraintFunction(), RODFNet::computeRoutesFor(), ROMAAssignments::getCapacity(), getTravelTime(), RODFNet::isDestination(), RODFNet::isFalseSource(), and RODFNet::isSource().
|
staticinherited |
return the coordinates of the center of the given stop
Definition at line 326 of file ROEdge.cpp.
References SUMOVehicleParameter::Stop::endPos, RONet::getEdge(), SUMOXMLDefinitions::getEdgeIDFromLane(), ROEdge::getFromJunction(), RONet::getInstance(), ROEdge::getLength(), RONode::getPosition(), ROEdge::getToJunction(), SUMOVehicleParameter::Stop::lane, and SUMOVehicleParameter::Stop::startPos.
Referenced by ROEdge::setGlobalOptions().
|
protectedinherited |
Retrieves the stored effort.
[in] | veh | The vehicle for which the effort on this edge shall be retrieved |
[in] | time | The tim for which the effort shall be returned |
Definition at line 210 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, toString(), and WRITE_WARNING.
Referenced by ROEdge::getEffort(), ROEdge::getEmissionEffort(), ROEdge::getLanes(), and ROEdge::getNoiseEffort().
|
inherited |
Returns the following edges, restricted by vClass.
[in] | vClass | The vClass for which to restrict the successors |
Definition at line 334 of file ROEdge.cpp.
References RONet::getInstance(), ROEdge::isTazConnector(), ROEdge::myClassesSuccessorMap, ROEdge::myFollowingEdges, ROEdge::myLanes, and SVC_IGNORING.
Referenced by RODFNet::buildApproachList(), RORouteHandler::closeRoute(), ROEdge::getPermissions(), and ROEdge::isConnectedTo().
|
inlineinherited |
Definition at line 464 of file ROEdge.h.
References ROEdge::myToJunction.
Referenced by ROEdge::addSuccessor(), RODFNet::buildApproachList(), AGPosition::compute2dPosition(), ROEdge::getDistanceTo(), and ROEdge::getStopPosition().
|
inherited |
Returns the travel time for this edge.
[in] | veh | The vehicle for which the travel time on this edge shall be retrieved |
[in] | time | The time for which the travel time shall be returned [s] |
Definition at line 174 of file ROEdge.cpp.
References ValueTimeLine< T >::describesTime(), ROEdge::getMinimumTravelTime(), Distribution_Parameterized::getParameter(), 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(), toString(), and WRITE_WARNING.
Referenced by ROJTRRouter::compute(), ROEdge::getEmissionEffort(), ROMAAssignments::getPenalizedTT(), ROEdge::getPredecessors(), ROMAAssignments::getTravelTime(), ROEdge::getTravelTimeStatic(), ROMAAssignments::incremental(), and writeInterval().
|
inlinestaticinherited |
Returns the travel time for the given edge.
[in] | edge | The edge for which the travel time shall be retrieved |
[in] | veh | The vehicle for which the travel time on this edge shall be retrieved |
[in] | time | The time for which the travel time shall be returned [s] |
Definition at line 398 of file ROEdge.h.
References ROEdge::getTravelTime().
Referenced by computeRoutes().
|
inlineinherited |
Returns the lane's maximum speed, given a vehicle's speed limit adaptation.
[in] | The | vehicle to return the adapted speed limit for |
Definition at line 232 of file ROEdge.h.
References ROEdge::myRestrictions, and ROEdge::mySpeed.
Referenced by RODFNet::buildEdgeFlowMap().
|
inherited |
Returns the following edges including vias, restricted by vClass.
[in] | vClass | The vClass for which to restrict the successors |
Definition at line 370 of file ROEdge.cpp.
References RONet::getInstance(), ROEdge::isTazConnector(), ROEdge::myClassesViaSuccessorMap, ROEdge::myFollowingEdges, ROEdge::myFollowingViaEdges, ROEdge::myLanes, and SVC_IGNORING.
Referenced by ROEdge::getPermissions().
double AGStreet::getWorkplaceNumber | ( | ) | const |
Provides the number of work places in this street.
Definition at line 61 of file AGStreet.cpp.
References myNumWorkplaces.
Referenced by AGStreet::Builder::buildEdge().
|
inherited |
Returns whether a travel time for this edge was loaded.
[in] | time | The time for which the travel time shall be returned [s] |
Definition at line 168 of file ROEdge.cpp.
References ValueTimeLine< T >::describesTime(), ROEdge::myTravelTimes, and ROEdge::myUsingTTTimeLine.
Referenced by ROEdge::getPredecessors(), and ROMAAssignments::incremental().
|
inherited |
returns the information whether this edge is directly connected to the given
[in] | e | The edge which may be connected |
[in] | vehicle | The vehicle for which the connectivity is checked |
Definition at line 406 of file ROEdge.cpp.
References ROEdge::getSuccessors(), RORoutable::getVClass(), and SVC_IGNORING.
Referenced by ROEdge::getNumLanes().
|
inlineinherited |
return whether this edge is a pedestrian crossing
Definition at line 149 of file ROEdge.h.
References EDGEFUNC_CROSSING, and ROEdge::myFunction.
|
inlineinherited |
return whether this edge is an internal edge
Definition at line 144 of file ROEdge.h.
References EDGEFUNC_INTERNAL, and ROEdge::myFunction.
Referenced by RONet::addEdge(), RORouteHandler::addStop(), ROEdge::addSuccessor(), RODFNet::buildApproachList(), ROEdge::getNormalAfter(), and ROEdge::getNormalBefore().
|
inlineinherited |
Returns whether the edge acts as a sink.
Definition at line 191 of file ROEdge.h.
References ROEdge::myAmSink.
Referenced by ROJTRRouter::compute(), and ROEdge::setSink().
|
inlineinherited |
Definition at line 158 of file ROEdge.h.
References ROEdge::buildTimeLines(), EDGEFUNC_CONNECTOR, and ROEdge::myFunction.
Referenced by ROEdge::addSuccessor(), ROMAAssignments::capacityConstraintFunction(), ROMAAssignments::getCapacity(), ROEdge::getDistanceTo(), ROEdge::getMinimumTravelTime(), ROEdge::getSuccessors(), and ROEdge::getViaSuccessors().
|
inlineinherited |
return whether this edge is walking area
Definition at line 154 of file ROEdge.h.
References EDGEFUNC_WALKINGAREA, and ROEdge::myFunction.
void AGStreet::print | ( | ) | const |
Prints a summary of the properties of this street to standard output.
Definition at line 43 of file AGStreet.cpp.
References Named::getID(), ROEdge::getLength(), myNumWorkplaces, and myPopulation.
Referenced by AGStreet::Builder::buildEdge().
|
inlineinherited |
Returns whether this edge prohibits the given vehicle to pass it.
[in] | vehicle | The vehicle for which the information has to be returned |
Definition at line 264 of file ROEdge.h.
References RORoutable::getVClass(), and ROEdge::myCombinedPermissions.
Referenced by ROVehicle::addStop(), ROJTREdge::chooseNext(), and ROJTRRouter::compute().
|
inlineinherited |
Sets the function of the edge.
[in] | func | The new function for the edge |
Definition at line 114 of file ROEdge.h.
References ROEdge::myFunction.
Referenced by RONet::addDistrict(), and RONetHandler::parseEdge().
|
inlinestaticinherited |
Definition at line 448 of file ROEdge.h.
References ROEdge::getStopPosition(), and ROEdge::myInterpolate.
Referenced by initNet().
|
inlineinherited |
resets the id
[in] | newID | The new id of this object |
Definition at line 86 of file Named.h.
Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::remapIDs(), NBNodeCont::rename(), NBEdgeCont::rename(), GNEJunction::setAttribute(), and IntermodalNetwork< E, L, N, V >::splitEdge().
void AGStreet::setPopulation | ( | const double | pop | ) |
Modifies the number of persons living in this street.
[in] | pop | the new number of inhabitants |
Definition at line 55 of file AGStreet.cpp.
References myPopulation.
Referenced by AGStreet::Builder::buildEdge(), and AGActivityGenHandler::parseStreets().
|
inlineinherited |
Sets the vehicle class specific speed limits of the edge.
[in] | restrictions | The restrictions for the edge |
Definition at line 138 of file ROEdge.h.
References ROEdge::myRestrictions.
Referenced by RONetHandler::parseEdge().
|
inlineinherited |
Sets whether the edge is a sink.
[in] | func | The new sink functionality for the edge |
Definition at line 130 of file ROEdge.h.
References ROEdge::isSink(), and ROEdge::myAmSink.
Referenced by loadJTRDefinitions(), and ROJTRTurnDefLoader::myStartElement().
|
inlineinherited |
Sets whether the edge is a source.
[in] | func | The new source functionality for the edge |
Definition at line 122 of file ROEdge.h.
References ROEdge::myAmSource.
Referenced by ROJTRTurnDefLoader::myStartElement().
void AGStreet::setWorkplaceNumber | ( | const double | work | ) |
Modifies the number of work places in this street.
[in] | work | the new number of work places |
Definition at line 67 of file AGStreet.cpp.
References myNumWorkplaces.
Referenced by AGStreet::Builder::buildEdge(), and AGActivityGenHandler::parseStreets().
|
protectedinherited |
whether the edge is a source or a sink
Definition at line 505 of file ROEdge.h.
Referenced by ROEdge::getNumSuccessors(), ROEdge::isSink(), and ROEdge::setSink().
|
protectedinherited |
Definition at line 505 of file ROEdge.h.
Referenced by ROEdge::getNumPredecessors(), and ROEdge::setSource().
|
protectedinherited |
List of edges that approached this edge.
Definition at line 530 of file ROEdge.h.
Referenced by ROEdge::addSuccessor(), ROEdge::getNormalBefore(), ROEdge::getNumPredecessors(), and ROEdge::getPredecessors().
|
protectedinherited |
The bounding rectangle of end nodes incoming or outgoing edges for taz connectors or of my own start and end node for normal edges.
Definition at line 545 of file ROEdge.h.
Referenced by ROEdge::addSuccessor(), ROEdge::getDistanceTo(), and ROEdge::ROEdge().
|
mutableprotectedinherited |
The successors available for a given vClass.
Definition at line 551 of file ROEdge.h.
Referenced by ROEdge::getSuccessors().
|
mutableprotectedinherited |
The successors with vias available for a given vClass.
Definition at line 554 of file ROEdge.h.
Referenced by ROEdge::getViaSuccessors().
|
protectedinherited |
The list of allowed vehicle classes combined across lanes.
Definition at line 542 of file ROEdge.h.
Referenced by ROEdge::addLane(), ROEdge::getPermissions(), ROEdge::prohibits(), and ROEdge::ROEdge().
|
staticprotectedinherited |
Definition at line 547 of file ROEdge.h.
Referenced by ROEdge::dictSize(), ROEdge::getAllEdges(), and ROEdge::ROEdge().
|
mutableprotectedinherited |
Container storing passing time varying over time for the edge.
Definition at line 512 of file ROEdge.h.
Referenced by ROEdge::addEffort(), ROEdge::buildTimeLines(), and ROEdge::getStoredEffort().
|
protectedinherited |
List of edges that may be approached from this edge.
Definition at line 525 of file ROEdge.h.
Referenced by ROEdge::addSuccessor(), ROEdge::allFollowersProhibit(), ROJTREdge::chooseNext(), ROEdge::getNormalAfter(), ROEdge::getNumSuccessors(), ROEdge::getSuccessors(), ROEdge::getViaSuccessors(), and ROJTREdge::setTurnDefaults().
|
protectedinherited |
Definition at line 527 of file ROEdge.h.
Referenced by ROEdge::addSuccessor(), and ROEdge::getViaSuccessors().
|
protectedinherited |
the junctions for this edge
Definition at line 489 of file ROEdge.h.
Referenced by ROEdge::getFromJunction(), and ROEdge::getLengthGeometryFactor().
|
protectedinherited |
The function of the edge.
Definition at line 533 of file ROEdge.h.
Referenced by ROEdge::getFunction(), ROEdge::isCrossing(), ROEdge::isInternal(), ROEdge::isTazConnector(), ROEdge::isWalkingArea(), and ROEdge::setFunction().
|
staticprotectedinherited |
Information whether the edge has reported missing weights.
Definition at line 520 of file ROEdge.h.
Referenced by ROEdge::getStoredEffort().
|
staticprotectedinherited |
Information whether the edge has reported missing weights.
Definition at line 522 of file ROEdge.h.
Referenced by ROEdge::getTravelTime().
|
protectedinherited |
The name of the object.
Definition at line 130 of file Named.h.
Referenced by MSE2Collector::addDetectorToLanes(), RODFDetector::buildDestinationDistribution(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), MSE2Collector::detectorUpdate(), METriggeredCalibrator::execute(), MSCalibrator::execute(), GNEPoly::getAttribute(), GNEPOI::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), NBEdge::getLaneID(), NBEdge::getLaneIDInsecure(), ROEdge::getStoredEffort(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSCalibrator::init(), NBEdge::init(), MSLane::isInsertionSuccess(), MSCalibrator::myStartElement(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), MSRoute::release(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), MSSOTLTrafficLightLogic::setToATargetPhase(), NBEdge::splitGeometry(), Distribution_Parameterized::toStr(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSXMLRawOut::writeLane(), RODFDetector::writeSingleSpeedTrigger(), MEInductLoop::writeXMLOutput(), MSCalibrator::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
|
protectedinherited |
The index (numeric id) of the edge.
Definition at line 493 of file ROEdge.h.
Referenced by ROEdge::getNumericalID().
|
staticprotectedinherited |
Information whether to interpolate at interval boundaries.
Definition at line 517 of file ROEdge.h.
Referenced by ROEdge::getStoredEffort(), ROEdge::getTravelTime(), and ROEdge::setGlobalOptions().
|
protectedinherited |
This edge's lanes.
Definition at line 539 of file ROEdge.h.
Referenced by ROEdge::addLane(), ROEdge::getLanes(), ROEdge::getNumLanes(), ROEdge::getSuccessors(), ROEdge::getViaSuccessors(), and ROEdge::~ROEdge().
|
protectedinherited |
The length of the edge.
Definition at line 502 of file ROEdge.h.
Referenced by ROEdge::addLane(), ROEdge::buildTimeLines(), ROEdge::getEffort(), ROEdge::getLength(), ROEdge::getLengthGeometryFactor(), ROEdge::getMinimumTravelTime(), and ROEdge::getTravelTime().
|
private |
Definition at line 110 of file AGStreet.h.
Referenced by getWorkplaceNumber(), print(), and setWorkplaceNumber().
|
private |
Definition at line 109 of file AGStreet.h.
Referenced by getPopulation(), print(), and setPopulation().
|
protectedinherited |
The edge priority (road class)
Definition at line 496 of file ROEdge.h.
Referenced by ROEdge::getPriority().
|
protectedinherited |
The vClass speed restrictions for this edge.
Definition at line 536 of file ROEdge.h.
Referenced by ROEdge::getVClassMaxSpeed(), and ROEdge::setRestrictions().
|
protectedinherited |
The maximum speed allowed on this edge.
Definition at line 499 of file ROEdge.h.
Referenced by ROEdge::addLane(), ROEdge::buildTimeLines(), ROEdge::getEffort(), ROEdge::getEmissionEffort(), ROEdge::getMinimumTravelTime(), ROEdge::getNoiseEffort(), ROEdge::getSpeedLimit(), ROEdge::getTravelTime(), and ROEdge::getVClassMaxSpeed().
|
protectedinherited |
Definition at line 490 of file ROEdge.h.
Referenced by ROEdge::getLengthGeometryFactor(), and ROEdge::getToJunction().
|
mutableprotectedinherited |
Container storing passing time varying over time for the edge.
Definition at line 507 of file ROEdge.h.
Referenced by ROEdge::addTravelTime(), ROEdge::buildTimeLines(), ROEdge::getStoredEffort(), ROEdge::getTravelTime(), and ROEdge::hasLoadedTravelTime().
|
protectedinherited |
Information whether the time line shall be used instead of the length value.
Definition at line 514 of file ROEdge.h.
Referenced by ROEdge::addEffort(), ROEdge::buildTimeLines(), and ROEdge::getStoredEffort().
|
protectedinherited |
Information whether the time line shall be used instead of the length value.
Definition at line 509 of file ROEdge.h.
Referenced by ROEdge::addTravelTime(), ROEdge::buildTimeLines(), ROEdge::getTravelTime(), and ROEdge::hasLoadedTravelTime().