Home
last modified time | relevance | path

Searched refs:getNumericalID (Results 1 – 25 of 36) sorted by relevance

12

/dports/cad/sumo/sumo-1.2.0/src/microsim/
H A DMSEdgeControl.cpp54 int pos = (*lanes.begin())->getNumericalID(); in MSEdgeControl()
60 int pos = (*j)->getNumericalID(); in MSEdgeControl()
65 myLastLaneChange[(*i)->getNumericalID()] = -1; in MSEdgeControl()
78 LaneUsage& lu = myLanes[(*i)->getNumericalID()]; in patchActiveLanes()
112 myLanes[(*i)->getNumericalID()].amActive = false; in planMovements()
185 myLanes[(*i)->getNumericalID()].amActive = false; in executeMovements()
202 LaneUsage& lu = myLanes[lane->getNumericalID()]; in executeMovements()
224 LaneUsage& lu = myLanes[(*i)->getNumericalID()]; in changeLanes()
227 if (myLastLaneChange[edge.getNumericalID()] != t) { in changeLanes()
228 myLastLaneChange[edge.getNumericalID()] = t; in changeLanes()
[all …]
H A DMSEdge.h256 inline int getNumericalID() const { in getNumericalID() function
728 return e1->getNumericalID() < e2->getNumericalID(); in operator()
H A DMSVehicleTransfer.cpp52 return myVeh->getNumericalID() < v2.myVeh->getNumericalID(); in operator <()
H A DMSVehicleType.h102 int getNumericalID() const { in getNumericalID() function
H A DMSBaseVehicle.h470 inline NumericalID getNumericalID() const { in getNumericalID() function
/dports/cad/sumo/sumo-1.2.0/src/utils/router/
H A DDijkstraRouter.h74 return nod1->edge->getNumericalID() > nod2->edge->getNumericalID(); in operator()
136 const auto& toInfo = myEdgeInfos[to->getNumericalID()];
145 auto* const fromInfo = &(myEdgeInfos[from->getNumericalID()]);
150 myExternalEffort->setInitialState(fromInfo->edge->getNumericalID());
172 …myExternalEffort->update(minEdge->getNumericalID(), minimumInfo->prev->edge->getNumericalID(), min…
188 …myExternalEffort->update(minEdge->getNumericalID(), minimumInfo->prev->edge->getNumericalID(), min…
192 auto* const followerInfo = &(myEdgeInfos[follower.first->getNumericalID()]);
H A DAStarLookupTable.h88 return myTable[from->getNumericalID()][to->getNumericalID()] / speedFactor; in lowerBound()
109 myFirstNonInternal = e->getNumericalID(); in LandmarkLookupTable()
111 numericID[e->getID()] = e->getNumericalID() - myFirstNonInternal; in LandmarkLookupTable()
296 const double fl = myToLandmarkDists[i][from->getNumericalID() - myFirstNonInternal]; in lowerBound()
297 const double tl = myToLandmarkDists[i][to->getNumericalID() - myFirstNonInternal]; in lowerBound()
308 const double lt = myFromLandmarkDists[i][to->getNumericalID() - myFirstNonInternal]; in lowerBound()
309 const double lf = myFromLandmarkDists[i][from->getNumericalID() - myFirstNonInternal]; in lowerBound()
H A DAStarRouter.h93 return nod1->edge->getNumericalID() > nod2->edge->getNumericalID(); in operator()
164 const auto& toInfo = myEdgeInfos[to->getNumericalID()];
173 auto* const fromInfo = &(myEdgeInfos[from->getNumericalID()]);
237 auto* const followerInfo = &(myEdgeInfos[follower.first->getNumericalID()]);
H A DCHRouter.h92 return &(myEdgeInfos[edge->getNumericalID()]); in getEdgeInfo()
96 return &(myEdgeInfos[edge->getNumericalID()]); in getEdgeInfo()
108 return nod1->edge->getNumericalID() > nod2->edge->getNumericalID(); in operator()
174 for (const auto& uplink : uplinks[minEdge->getNumericalID()]) { in step()
H A DCHBuilder.h149 const int edgeID = edge->getNumericalID(); in buildContractionHierarchy()
152 …esult->forwardUplinks[edgeID].push_back(Connection(con.target->edge->getNumericalID(), con.cost, c… in buildContractionHierarchy()
159 …sult->backwardUplinks[edgeID].push_back(Connection(con.target->edge->getNumericalID(), con.cost, c… in buildContractionHierarchy()
412 return a->edge->getNumericalID() > b->edge->getNumericalID(); in operator()
421 return &(myCHInfos[edge->getNumericalID()]); in getCHInfo()
H A DSPTree.h55 return a->edge->getNumericalID() > b->edge->getNumericalID(); in operator()
H A DIntermodalRouter.h133 … into.back().description = myExternalEffort->output(iEdge->getNumericalID());
255 …->getTravelTime(trip, time) + trip->externalFactor * trip->calc->getEffort(edge->getNumericalID()); in getCombined()
H A DIntermodalEdge.h64 int getNumericalID() const { in getNumericalID() function
/dports/cad/sumo/sumo-1.2.0/src/microsim/pedestrians/
H A DMSPModel_Striping.h157 return l1->getNumericalID() < l2->getNumericalID(); in operator()
247 if (p1->from->getNumericalID() < p2->from->getNumericalID()) { in operator()
250 if (p1->from->getNumericalID() == p2->from->getNumericalID()) { in operator()
251 if (p1->to->getNumericalID() < p2->to->getNumericalID()) { in operator()
/dports/cad/sumo/sumo-1.2.0/src/microsim/devices/
H A DMSRoutingEngine.cpp108 while (edge->getNumericalID() >= (int)myEdgeSpeeds.size()) { in initEdgeWeights()
115 …myEdgeSpeeds[edge->getNumericalID()] = edge->getLength() / MSNet::getTravelTime(edge, nullptr, cur… in initEdgeWeights()
117 myEdgeSpeeds[edge->getNumericalID()] = edge->getMeanSpeed(); in initEdgeWeights()
120 …myPastEdgeSpeeds[edge->getNumericalID()] = std::vector<double>(myAdaptationSteps, myEdgeSpeeds[edg… in initEdgeWeights()
130 const int id = e->getNumericalID(); in getEffort()
164 const int id = (*i)->getNumericalID(); in adaptEdgeEfforts()
176 const int id = (*i)->getNumericalID(); in adaptEdgeEfforts()
305 myEdgeSpeeds[edge->getNumericalID()] = edge->getLength() / travelTime; in setEdgeTravelTime()
H A DMSVehicleDevice.h79 inline SUMOVehicle::NumericalID getNumericalID() const { in getNumericalID() function
80 return myHolder.getNumericalID(); in getNumericalID()
/dports/cad/sumo/sumo-1.2.0/src/mesosim/
H A DMELoop.cpp102 veh->setSegment(myEdges2FirstSegments[veh->getEdge()->getNumericalID()]); in changeSegment()
239 return myEdges2FirstSegments[nextEdge->getNumericalID()]; in nextSegment()
275 while (e.getNumericalID() >= static_cast<int>(myEdges2FirstSegments.size())) { in buildSegmentsFor()
278 myEdges2FirstSegments[e.getNumericalID()] = newSegment; in buildSegmentsFor()
284 if (e.getNumericalID() >= (int)myEdges2FirstSegments.size()) { in getSegmentForEdge()
287 MESegment* s = myEdges2FirstSegments[e.getNumericalID()]; in getSegmentForEdge()
/dports/cad/sumo/sumo-1.2.0/src/utils/common/
H A DNamed.h45 return a->getNumericalID() < b->getNumericalID(); in operator()
H A DFileHelpers.h237 FileHelpers::writeInt(os, (*i)->getNumericalID()); in writeEdgeVector()
243 FileHelpers::writeInt(os, edges.front()->getNumericalID()); in writeEdgeVector()
/dports/cad/sumo/sumo-1.2.0/src/microsim/output/
H A DMSAmitranTrajectories.cpp58 … of.openTag(SUMO_TAG_ACTORCONFIG).writeAttr(SUMO_ATTR_ID, veh.getVehicleType().getNumericalID()); in writeVehicle()
75 .writeAttr(SUMO_ATTR_ACTORCONFIG, veh.getVehicleType().getNumericalID()) in writeVehicle()
H A DMSMeanData_Amitran.cpp122 dev.openTag("actorConfig").writeAttr(SUMO_ATTR_ID, it->first->getNumericalID()); in write()
161 return toString(edge->getNumericalID()); in getEdgeID()
/dports/cad/sumo/sumo-1.2.0/src/netbuild/
H A DNBAlgorithms_Railway.h63 index(i < 0 ? edge->getNumericalID() : i), in edge()
75 int getNumericalID() const { in getNumericalID() function
H A DNBContHelper.h232 return e1->getNumericalID() < e2->getNumericalID(); in operator()
H A DNBAlgorithms_Railway.cpp810 int i = e1->getNumericalID(); in addBidiEdgesForStops()
811 int i2 = e2->getNumericalID(); in addBidiEdgesForStops()
839 const int index = item.first->getNumericalID(); in addBidiEdgesForStops()
897 if (route[i]->getNumericalID() >= numEdges) { in addBidiEdgesForStops()
/dports/cad/sumo/sumo-1.2.0/src/utils/vehicle/
H A DSUMOVehicle.h321 virtual NumericalID getNumericalID() const = 0;

12