![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A structure which describes a connection between edges or lanes. More...
#include <NBEdge.h>
Public Member Functions | |
void | clearParameter () |
Clears the parameter map. More... | |
Connection (int fromLane_, NBEdge *toEdge_, int toLane_) | |
Constructor. More... | |
Connection (int fromLane_, NBEdge *toEdge_, int toLane_, bool mayDefinitelyPass_, bool keepClear_=true, double contPos_=UNSPECIFIED_CONTPOS, double visibility_=UNSPECIFIED_VISIBILITY_DISTANCE, double speed_=UNSPECIFIED_SPEED, bool haveVia_=false, bool uncontrolled_=false, const PositionVector &customShape_=PositionVector::EMPTY, SVCPermissions permissions=SVC_UNSPECIFIED) | |
constructor with more parameters More... | |
std::string | getDescription (const NBEdge *parent) const |
get string describing this connection More... | |
double | getDouble (const std::string &key, const double defaultValue) const |
Returns the value for a given key converted to a double. More... | |
std::string | getInternalLaneID () const |
get ID of internal lane More... | |
const std::string | getParameter (const std::string &key, const std::string &defaultValue="") const |
Returns the value for a given key. More... | |
const std::map< std::string, std::string > & | getParametersMap () const |
Returns the inner key/value map. More... | |
std::string | getParametersStr () const |
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN". More... | |
bool | knowsParameter (const std::string &key) const |
Returns whether the parameter is known. More... | |
bool | prohibits (const NBVehicle *const) const |
bool | restricts (const NBVehicle *const) const |
void | setParameter (const std::string &key, const std::string &value) |
Sets a parameter. More... | |
void | setParameters (const Parameterised ¶ms) |
set the inner key/value map in map<string, string> format More... | |
void | setParametersMap (const std::map< std::string, std::string > ¶msMap) |
set the inner key/value map in map<string, string> format More... | |
void | setParametersStr (const std::string ¶msString) |
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN" More... | |
void | unsetParameter (const std::string &key) |
Removes a parameter. More... | |
void | updateParameters (const std::map< std::string, std::string > &mapArg) |
Adds or updates all given parameters from the map. More... | |
void | writeParams (OutputDevice &device) const |
write Params in the given outputdevice More... | |
Static Public Member Functions | |
static bool | areParametersValid (const std::string &value, bool report=false) |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN" More... | |
static double | getTravelTimeStatic (const NBRouterEdge *const edge, const NBVehicle *const, double) |
Data Fields | |
double | contPos |
custom position for internal junction on this connection More... | |
PositionVector | customShape |
custom shape for connection More... | |
std::vector< std::string > | foeIncomingLanes |
FOE Incomings lanes. More... | |
std::vector< int > | foeInternalLinks |
FOE Internal links. More... | |
int | fromLane |
The lane the connections starts at. More... | |
bool | haveVia |
check if Connection have a Via More... | |
std::string | id |
id of Connection More... | |
int | internalLaneIndex |
The lane index of this internal lane within the internal edge. More... | |
bool | keepClear |
whether the junction must be kept clear when using this connection More... | |
double | length |
computed length (average of all internal lane shape lengths that share an internal edge) More... | |
bool | mayDefinitelyPass |
Information about being definitely free to drive (on-ramps) More... | |
SVCPermissions | permissions |
List of vehicle types that are allowed on this connection. More... | |
PositionVector | shape |
shape of Connection More... | |
double | speed |
custom speed for connection More... | |
std::string | tlID |
The id of the traffic light that controls this connection. More... | |
int | tlLinkIndex |
The index of this connection within the controlling traffic light. More... | |
int | tlLinkIndex2 |
The index of the internal junction within the controlling traffic light (optional) More... | |
NBEdge * | toEdge |
The edge the connections yields in. More... | |
int | toLane |
The lane the connections yields in. More... | |
bool | uncontrolled |
check if Connection is uncontrolled More... | |
std::string | viaID |
if Connection have a via, ID of it More... | |
PositionVector | viaShape |
shape of via More... | |
double | visibility |
custom foe visiblity for connection More... | |
double | vmax |
maximum velocity More... | |
Static Private Member Functions | |
static bool | isParameterValid (const std::string &value, bool report) |
check if given string can be parsed to a parameter of type "key=value" More... | |
Private Attributes | |
std::map< std::string, std::string > | myMap |
The key->value map. More... | |
NBRouterEdge interface | |
static ConstRouterEdgePairVector | myViaSuccessors = ConstRouterEdgePairVector({ std::pair<NBRouterEdge*, NBRouterEdge*>(nullptr, nullptr) }) |
const std::string & | getID () const |
double | getSpeed () const |
double | getLength () const |
int | getNumericalID () const |
bool | isInternal () const |
const ConstRouterEdgePairVector & | getViaSuccessors (SUMOVehicleClass vClass=SVC_IGNORING) const |
A structure which describes a connection between edges or lanes.
NBEdge::Connection::Connection | ( | int | fromLane_, |
NBEdge * | toEdge_, | ||
int | toLane_ | ||
) |
Constructor.
[in] | fromLane_ | The lane the connections starts at |
[in] | toEdge_ | The edge the connections yields in |
[in] | toLane_ | The lane the connections yields in |
Definition at line 92 of file NBEdge.cpp.
NBEdge::Connection::Connection | ( | int | fromLane_, |
NBEdge * | toEdge_, | ||
int | toLane_, | ||
bool | mayDefinitelyPass_, | ||
bool | keepClear_ = true , |
||
double | contPos_ = UNSPECIFIED_CONTPOS , |
||
double | visibility_ = UNSPECIFIED_VISIBILITY_DISTANCE , |
||
double | speed_ = UNSPECIFIED_SPEED , |
||
bool | haveVia_ = false , |
||
bool | uncontrolled_ = false , |
||
const PositionVector & | customShape_ = PositionVector::EMPTY , |
||
SVCPermissions | permissions = SVC_UNSPECIFIED |
||
) |
constructor with more parameters
Definition at line 111 of file NBEdge.cpp.
|
staticinherited |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 166 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), and WRITE_WARNING.
Referenced by GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEClosingLaneReroute::isValid(), GNEClosingReroute::isValid(), GNEContainerStop::isValid(), GNEDestProbReroute::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE2::isValid(), GNEDetectorE3::isValid(), GNEDetectorEntryExit::isValid(), GNEParkingArea::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEPOI::isValid(), GNEPoly::isValid(), GNERerouter::isValid(), GNERerouterInterval::isValid(), GNERouteProbe::isValid(), GNERouteProbReroute::isValid(), GNETAZ::isValid(), GNETAZSourceSink::isValid(), GNEVaporizer::isValid(), GNEVariableSpeedSign::isValid(), GNEVariableSpeedSignStep::isValid(), GNEPerson::isValid(), GNEPersonTrip::isValid(), GNERide::isValid(), GNERoute::isValid(), GNEVehicle::isValid(), GNEVehicleType::isValid(), GNEWalk::isValid(), GNEConnection::isValid(), GNECrossing::isValid(), GNEEdge::isValid(), GNEJunction::isValid(), GNELane::isValid(), and GNEFrameAttributesModuls::ParametersEditor::onCmdSetParameters().
|
inherited |
Clears the parameter map.
Definition at line 100 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing(), and GNERouteHandler::closeRoute().
std::string NBEdge::Connection::getDescription | ( | const NBEdge * | parent | ) | const |
get string describing this connection
Definition at line 87 of file NBEdge.cpp.
References Named::getIDSecure(), and toString().
Referenced by NBEdge::buildInnerEdges(), NBEdgeCont::checkGrade(), NBNode::computeInternalLaneShape(), NWWriter_SUMO::getOppositeInternalID(), and NBRequest::getResponseString().
|
inherited |
Returns the value for a given key converted to a double.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 82 of file Parameterised.cpp.
References Parameterised::myMap, StringUtils::toDouble(), and WRITE_WARNING.
Referenced by MSDevice_Battery::buildVehicleDevices(), MSSOTLPolicy5DStimulus::getStimCox(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionIn(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionOut(), MSSOTLPolicy5DStimulus::getStimCoxExpIn(), MSSOTLPolicy5DStimulus::getStimCoxExpOut(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionIn(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionOut(), MSSOTLPolicy5DStimulus::getStimDivisorIn(), MSSOTLPolicy5DStimulus::getStimDivisorOut(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionIn(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionOut(), MSSOTLPolicy5DStimulus::getStimOffsetIn(), MSSOTLPolicy5DStimulus::getStimOffsetOut(), and MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus().
|
inlinevirtual |
Implements NBRouterEdge.
Definition at line 289 of file NBEdge.h.
References id.
Referenced by NBNode::computeLanes2Lanes().
std::string NBEdge::Connection::getInternalLaneID | ( | ) | const |
get ID of internal lane
Definition at line 81 of file NBEdge.cpp.
References internalLaneIndex, and toString().
Referenced by NWWriter_SUMO::getOppositeInternalID(), and NWWriter_SUMO::writeConnection().
|
inlinevirtual |
Implements NBRouterEdge.
Definition at line 295 of file NBEdge.h.
References PositionVector::length(), shape, and viaShape.
|
inlinevirtual |
Implements NBRouterEdge.
|
inherited |
Returns the value for a given key.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 72 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), GNEEdge::drawEdgeName(), GUIEdge::drawGL(), GNEConnection::drawGL(), GUIBaseVehicle::drawOnPos(), libsumo::Simulation::findIntermodalRoute(), MSSwarmTrafficLightLogic::getBetaNo(), MSSwarmTrafficLightLogic::getBetaSp(), MSDevice::getBoolParam(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSSwarmTrafficLightLogic::getChangePlanProbability(), GUILane::getColorValue(), GUIVehicle::getColorValue(), GNELane::getColorValue(), MSSOTLTrafficLightLogic::getDecayConstant(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSSwarmTrafficLightLogic::getForgettingCox(), MSSwarmTrafficLightLogic::getGammaNo(), MSSwarmTrafficLightLogic::getGammaSp(), MSTLLogicControl::WAUTSwitchProcedure::getGSPValue(), MSSOTLTrafficLightLogic::getInputSensorsLength(), MSSwarmTrafficLightLogic::getLearningCox(), MSSwarmTrafficLightLogic::getMaxCongestionDuration(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSSOTLTrafficLightLogic::getMode(), GUIBaseVehicle::getOptionalName(), GUIJunctionWrapper::getOptionalName(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSOTLTrafficLightLogic::getOutputSensorsLength(), libsumo::Edge::getParameter(), libsumo::Lane::getParameter(), libsumo::Simulation::getParameter(), libsumo::POI::getParameter(), libsumo::Polygon::getParameter(), libsumo::Person::getParameter(), libsumo::Route::getParameter(), libsumo::TrafficLight::getParameter(), libsumo::VehicleType::getParameter(), libsumo::Vehicle::getParameter(), MSSwarmTrafficLightLogic::getPheroMaxVal(), MSSwarmTrafficLightLogic::getPoliciesParam(), MSSwarmTrafficLightLogic::getReinforcementMode(), MSSOTLTrafficLightLogic::getSpeedThreshold(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchAreaNo(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchBereichDef(), MSDevice::getStringParam(), MSSwarmTrafficLightLogic::getThetaInit(), MSSwarmTrafficLightLogic::getThetaMax(), MSSwarmTrafficLightLogic::getThetaMin(), MSSOTLTrafficLightLogic::getThreshold(), MSTriggeredRerouter::getWeight(), MSSOTLPhasePolicy::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), PushButtonLogic::init(), SigmoidLogic::init(), MSVehicleType::initRailVisualizationParameters(), GNEVehicleType::initRailVisualizationParameters(), MSSOTLTrafficLightLogic::isDecayThresholdActivated(), MSSOTLTrafficLightLogic::isPushButtonPressed(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDelayBasedTrafficLightLogic::MSDelayBasedTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSSwarmTrafficLightLogic::MSSwarmTrafficLightLogic(), GNEVehicleType::overwriteVType(), MSDevice_SSM::requestsTrajectories(), NBEdgeCont::splitAt(), MSDevice_SSM::useGeoCoords(), NWWriter_DlrNavteq::writeLinksUnsplitted(), and NWWriter_OpenDrive::writeRoadObjects().
|
inherited |
Returns the inner key/value map.
Definition at line 106 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBEdge::addLane(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GUIJunctionWrapper::getParameterWindow(), GUILane::getParameterWindow(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIPointOfInterest::getParameterWindow(), GUIPolygon::getParameterWindow(), GUIContainer::getTypeParameterWindow(), GUIPerson::getTypeParameterWindow(), GUIVehicle::getTypeParameterWindow(), GUIMEVehicle::getTypeParameterWindow(), NIImporter_OpenStreetMap::insertEdge(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), GUIParameterTableWindow::numParams(), GNEVehicleType::overwriteVType(), TraCIServerAPI_TrafficLight::processGet(), and Parameterised::setParameters().
|
inherited |
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".
Definition at line 112 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEContainerStop::getAttribute(), GNEDestProbReroute::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE2::getAttribute(), GNEDetectorE3::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), GNERerouter::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEPerson::getAttribute(), GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNERoute::getAttribute(), GNEVehicle::getAttribute(), GNEVehicleType::getAttribute(), GNEWalk::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEJunction::getAttribute(), and GNELane::getAttribute().
|
inlinevirtual |
|
inlinestaticinherited |
Definition at line 81 of file NBEdge.h.
References NBRouterEdge::getLength(), and NBRouterEdge::getSpeed().
Referenced by NBPTLineCont::fixBidiStops(), GNEDemandElement::RouteCalculator::RouteCalculator(), and GNEDemandElement::RouteCalculator::updateDijkstraRouter().
|
inlinevirtual |
Implements NBRouterEdge.
Definition at line 304 of file NBEdge.h.
References myViaSuccessors, and UNUSED_PARAMETER.
|
inlinevirtual |
Reimplemented from NBRouterEdge.
|
staticprivateinherited |
check if given string can be parsed to a parameter of type "key=value"
Definition at line 189 of file Parameterised.cpp.
References StringTokenizer::getVector(), SUMOXMLDefinitions::isValidParameterKey(), and SUMOXMLDefinitions::isValidParameterValue().
Referenced by Parameterised::areParametersValid().
|
inherited |
Returns whether the parameter is known.
[in] | key | The key to ask for |
Definition at line 66 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::append(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice::getBoolParam(), NWWriter_DlrNavteq::getBrunnelType(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), libsumo::Simulation::getParameter(), MSDevice::getStringParam(), MSTriggeredRerouter::getWeight(), MSVehicleType::initRailVisualizationParameters(), GNEVehicleType::initRailVisualizationParameters(), GNEVehicleType::overwriteVType(), MSDevice_SSM::requestsTrajectories(), MSDevice_SSM::useGeoCoords(), and NWWriter_OpenDrive::writeRoadObjects().
|
inlineinherited |
|
inlineinherited |
|
inherited |
Sets a parameter.
[in] | key | The parameter's name |
[in] | value | The parameter's value |
Definition at line 46 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::addDistrict(), RONetHandler::addParam(), SUMORouteHandler::addParam(), ShapeHandler::addPOI(), NBEdge::append(), NIImporter_OpenStreetMap::insertNodeChecking(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NIImporter_OpenDrive::loadNetwork(), MSStateHandler::myStartElement(), NIImporter_MATSim::EdgesHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), GNEAdditionalHandler::parseParameter(), GNEVehicleType::setAttribute(), NIImporter_OpenDrive::setLaneAttributes(), libsumo::Edge::setParameter(), libsumo::POI::setParameter(), libsumo::Polygon::setParameter(), libsumo::Lane::setParameter(), libsumo::Route::setParameter(), and libsumo::TrafficLight::setParameter().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 127 of file Parameterised.cpp.
References Parameterised::getParametersMap(), and Parameterised::myMap.
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 133 of file Parameterised.cpp.
References Parameterised::myMap.
|
inherited |
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 139 of file Parameterised.cpp.
References StringTokenizer::getVector(), and Parameterised::myMap.
Referenced by GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEContainerStop::setAttribute(), GNEDestProbReroute::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE2::setAttribute(), GNEDetectorE3::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNERerouter::setAttribute(), GNERerouterInterval::setAttribute(), GNERouteProbe::setAttribute(), GNERouteProbReroute::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNEPerson::setAttribute(), GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNERoute::setAttribute(), GNEVehicle::setAttribute(), GNEVehicleType::setAttribute(), GNEWalk::setAttribute(), GNEConnection::setAttribute(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), and GNELane::setAttribute().
|
inherited |
Removes a parameter.
[in] | key | The parameter's name |
Definition at line 52 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_OpenStreetMap::insertEdge(), and GNEVehicleType::setAttribute().
|
inherited |
Adds or updates all given parameters from the map.
[in] | mapArg | The keys/values to insert |
Definition at line 58 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NBTrafficLightDefinition::compute(), NIImporter_OpenStreetMap::insertEdge(), NBEdge::NBEdge(), and NBLoadedSUMOTLDef::NBLoadedSUMOTLDef().
|
inherited |
write Params in the given outputdevice
Definition at line 154 of file Parameterised.cpp.
References OutputDevice::closeTag(), StringUtils::escapeXML(), Parameterised::myMap, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, and OutputDevice::writeAttr().
Referenced by ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MEVehicle::saveState(), MSVehicle::saveState(), SUMOVTypeParameter::write(), GNEAdditional::writeAdditional(), NWWriter_SUMO::writeConnection(), GNEPerson::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), GNEWalk::writeDemandElement(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeJunction(), NWWriter_SUMO::writeLane(), NWWriter_XML::writeNodes(), MSDevice_Vehroutes::writeOutput(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().
double NBEdge::Connection::contPos |
custom position for internal junction on this connection
Definition at line 233 of file NBEdge.h.
Referenced by GNEEdge::addConnection(), NBEdge::buildInnerEdges(), GNEConnection::getAttribute(), NIXMLConnectionsHandler::parseLaneBound(), GNEConnection::setAttribute(), and NWWriter_SUMO::writeConnection().
PositionVector NBEdge::Connection::customShape |
custom shape for connection
Definition at line 242 of file NBEdge.h.
Referenced by GNEEdge::addConnection(), NBNode::computeInternalLaneShape(), GNEConnection::getAttribute(), GNEConnection::getConnectionShape(), NIXMLConnectionsHandler::parseLaneBound(), GNEConnection::setAttribute(), GNEConnection::updateGeometry(), and NWWriter_SUMO::writeConnection().
std::vector<std::string> NBEdge::Connection::foeIncomingLanes |
FOE Incomings lanes.
Definition at line 269 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges().
std::vector<int> NBEdge::Connection::foeInternalLinks |
FOE Internal links.
Definition at line 266 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges().
int NBEdge::Connection::fromLane |
The lane the connections starts at.
Definition at line 209 of file NBEdge.h.
Referenced by GNEEdge::addConnection(), NBEdge::addRestrictedLane(), NIXMLTrafficLightsHandler::addTlConnection(), NBEdge::buildInnerEdges(), NBRequest::checkLaneFoesByClass(), NBTrafficLightDefinition::collectAllLinks(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBEdge::connections_sorter(), NBEdge::debugPrintConnections(), NBNode::displaceShapeAtWidthChange(), GNEConnection::getAttribute(), NBNode::getConnectionIndex(), NWWriter_SUMO::getOppositeInternalID(), NBRequest::getResponseString(), NBRequest::mergeConflict(), NBNode::needsCont(), NBEdge::connections_toedge_finder::operator()(), NBEdge::connections_toedgelane_finder::operator()(), NBEdge::connections_finder::operator()(), NBEdge::connections_conflict_finder::operator()(), NBEdge::connections_fromlane_finder::operator()(), NBEdge::recheckLanes(), GNEChange_Connection::redo(), GNEEdge::removeConnection(), NBEdge::removeFromConnections(), GNEChange_Connection::undo(), GNEConnection::updateGeometry(), GNEConnection::updateLinkState(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeConnection(), and NWWriter_OpenDrive::writeInternalEdge().
bool NBEdge::Connection::haveVia |
check if Connection have a Via
Definition at line 257 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), NBNode::tlsContConflict(), GNEConnection::updateGeometry(), and NWWriter_SUMO::writeInternalConnections().
std::string NBEdge::Connection::id |
id of Connection
Definition at line 248 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), getID(), NWWriter_SUMO::writeInternalConnections(), NWWriter_OpenDrive::writeInternalEdge(), and NWWriter_SUMO::writeInternalEdges().
int NBEdge::Connection::internalLaneIndex |
The lane index of this internal lane within the internal edge.
Definition at line 272 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), getInternalLaneID(), and NWWriter_SUMO::writeInternalConnections().
bool NBEdge::Connection::keepClear |
whether the junction must be kept clear when using this connection
Definition at line 230 of file NBEdge.h.
Referenced by GNEEdge::addConnection(), GNEConnection::getAttribute(), NIXMLConnectionsHandler::parseLaneBound(), GNEConnection::setAttribute(), and NWWriter_SUMO::writeConnection().
double NBEdge::Connection::length |
computed length (average of all internal lane shape lengths that share an internal edge)
Definition at line 284 of file NBEdge.h.
Referenced by NWWriter_SUMO::getOppositeInternalID().
bool NBEdge::Connection::mayDefinitelyPass |
Information about being definitely free to drive (on-ramps)
Definition at line 227 of file NBEdge.h.
Referenced by GNEEdge::addConnection(), GNEConnectorFrame::buildConnection(), GNEConnection::getAttribute(), NBRequest::getResponseString(), NBRequest::mergeConflict(), NIXMLConnectionsHandler::parseLaneBound(), GNEConnection::setAttribute(), GNEConnection::updateLinkState(), and NWWriter_SUMO::writeConnection().
|
privateinherited |
The key->value map.
Definition at line 120 of file Parameterised.h.
Referenced by Parameterised::clearParameter(), Parameterised::getDouble(), Parameterised::getParameter(), Parameterised::getParametersMap(), Parameterised::getParametersStr(), Parameterised::knowsParameter(), Parameterised::setParameter(), Parameterised::setParameters(), Parameterised::setParametersMap(), Parameterised::setParametersStr(), Parameterised::unsetParameter(), Parameterised::updateParameters(), and Parameterised::writeParams().
|
static |
Definition at line 288 of file NBEdge.h.
Referenced by getViaSuccessors().
SVCPermissions NBEdge::Connection::permissions |
List of vehicle types that are allowed on this connection.
Definition at line 245 of file NBEdge.h.
Referenced by GNEConnection::getAttribute(), GNEConnection::setAttribute(), and NWWriter_SUMO::writeConnection().
PositionVector NBEdge::Connection::shape |
shape of Connection
Definition at line 251 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), NBEdgeCont::checkGrade(), GNEViewNet::drawLaneCandidates(), getLength(), NBRequest::oppositeLeftTurnConflict(), and GNEConnection::updateGeometry().
double NBEdge::Connection::speed |
custom speed for connection
Definition at line 239 of file NBEdge.h.
Referenced by GNEEdge::addConnection(), NBEdge::buildInnerEdges(), GNEConnection::getAttribute(), NIXMLConnectionsHandler::parseLaneBound(), GNEConnection::setAttribute(), and NWWriter_SUMO::writeConnection().
std::string NBEdge::Connection::tlID |
The id of the traffic light that controls this connection.
Definition at line 218 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), GNEConnection::getAttribute(), NBEdge::moveOutgoingConnectionsFrom(), NBNode::needsCont(), NBEdge::setControllingTLInformation(), GNEConnection::updateLinkState(), NWWriter_SUMO::writeConnection(), and NWWriter_SUMO::writeInternalConnections().
int NBEdge::Connection::tlLinkIndex |
The index of this connection within the controlling traffic light.
Definition at line 221 of file NBEdge.h.
Referenced by NIXMLTrafficLightsHandler::addTlConnection(), GNEConnectorFrame::buildConnection(), GNEConnection::getAttribute(), GNEConnection::getNBConnection(), NBRequest::getResponseString(), GNEConnection::setAttribute(), NBEdge::setControllingTLInformation(), NBNode::tlsContConflict(), and NWWriter_SUMO::writeConnection().
int NBEdge::Connection::tlLinkIndex2 |
The index of the internal junction within the controlling traffic light (optional)
Definition at line 224 of file NBEdge.h.
Referenced by NIXMLTrafficLightsHandler::addTlConnection(), GNEConnection::getAttribute(), GNEConnection::getNBConnection(), GNEConnection::setAttribute(), NBEdge::setControllingTLInformation(), NWWriter_SUMO::writeConnection(), and NWWriter_SUMO::writeInternalConnections().
NBEdge* NBEdge::Connection::toEdge |
The edge the connections yields in.
Definition at line 212 of file NBEdge.h.
Referenced by GNEEdge::addConnection(), NBEdge::addLane(), NIXMLTrafficLightsHandler::addTlConnection(), NIVissimTL::NIVissimTLSignal::addTo(), NBEdge::bothLeftIntersect(), NBEdge::buildInnerEdges(), NBEdge::canMoveConnection(), NBRequest::checkLaneFoesByClass(), NBRequest::checkLaneFoesByCooperation(), NBTrafficLightDefinition::collectAllLinks(), NBLoadedTLDef::collectLinks(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBEdge::connections_sorter(), NBEdge::debugPrintConnections(), NBNode::displaceShapeAtWidthChange(), GNEConnection::getAttribute(), NBNode::getConnectionIndex(), NWWriter_SUMO::getOppositeInternalID(), NBRequest::getResponseString(), NBRequest::mergeConflict(), NBEdge::moveConnectionToLeft(), NBEdge::moveConnectionToRight(), NBEdge::moveOutgoingConnectionsFrom(), NBNode::needsCont(), NBEdge::connections_toedge_finder::operator()(), NBEdge::connections_toedgelane_finder::operator()(), NBEdge::connections_finder::operator()(), NBEdge::connections_conflict_finder::operator()(), NBEdge::connections_relative_edgelane_sorter::operator()(), NBRequest::oppositeLeftTurnConflict(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), GNEChange_Connection::redo(), GNEEdge::removeConnection(), NBEdge::removeFromConnections(), GNEConnection::setAttribute(), NBNode::tlsContConflict(), GNEChange_Connection::undo(), GNEConnection::updateGeometry(), GNEConnection::updateLinkState(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeConnection(), NWWriter_SUMO::writeInternalConnections(), NWWriter_OpenDrive::writeInternalEdge(), NWWriter_SUMO::writeInternalEdges(), and NWWriter_OpenDrive::writeNetwork().
int NBEdge::Connection::toLane |
The lane the connections yields in.
Definition at line 215 of file NBEdge.h.
Referenced by GNEEdge::addConnection(), NBEdge::addLane(), NIXMLTrafficLightsHandler::addTlConnection(), NIVissimTL::NIVissimTLSignal::addTo(), NBEdge::buildInnerEdges(), NBEdge::canMoveConnection(), NBRequest::checkLaneFoesByClass(), NBTrafficLightDefinition::collectAllLinks(), NBLoadedTLDef::collectLinks(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBEdge::connections_sorter(), NBEdge::debugPrintConnections(), NBNode::displaceShapeAtWidthChange(), GNEConnection::getAttribute(), NBNode::getConnectionIndex(), NWWriter_SUMO::getOppositeInternalID(), NBRequest::getResponseString(), NBRequest::mergeConflict(), NBEdge::moveConnectionToLeft(), NBEdge::moveConnectionToRight(), NBEdge::moveOutgoingConnectionsFrom(), NBNode::needsCont(), NBEdge::connections_toedgelane_finder::operator()(), NBEdge::connections_finder::operator()(), NBEdge::connections_relative_edgelane_sorter::operator()(), NBRequest::oppositeLeftTurnConflict(), NBEdge::recheckLanes(), GNEChange_Connection::redo(), GNEEdge::removeConnection(), NBEdge::removeFromConnections(), GNEConnection::setAttribute(), GNEChange_Connection::undo(), GNEConnection::updateGeometry(), GNEConnection::updateLinkState(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeConnection(), NWWriter_SUMO::writeInternalConnections(), and NWWriter_OpenDrive::writeInternalEdge().
bool NBEdge::Connection::uncontrolled |
check if Connection is uncontrolled
Definition at line 275 of file NBEdge.h.
Referenced by GNEEdge::addConnection(), GNEConnection::getAttribute(), GNEConnection::isValid(), NIXMLConnectionsHandler::parseLaneBound(), GNEConnection::setAttribute(), and NWWriter_SUMO::writeConnection().
std::string NBEdge::Connection::viaID |
if Connection have a via, ID of it
Definition at line 260 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), and NWWriter_SUMO::writeInternalConnections().
PositionVector NBEdge::Connection::viaShape |
shape of via
Definition at line 263 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), NBEdgeCont::checkGrade(), getLength(), NBRequest::oppositeLeftTurnConflict(), and GNEConnection::updateGeometry().
double NBEdge::Connection::visibility |
custom foe visiblity for connection
Definition at line 236 of file NBEdge.h.
Referenced by GNEEdge::addConnection(), GNEConnection::getAttribute(), NIXMLConnectionsHandler::parseLaneBound(), GNEConnection::setAttribute(), and NWWriter_SUMO::writeConnection().
double NBEdge::Connection::vmax |
maximum velocity
Definition at line 254 of file NBEdge.h.
Referenced by NBEdge::buildInnerEdges(), getSpeed(), and NWWriter_OpenDrive::writeInternalEdge().