Home
last modified time | relevance | path

Searched refs:MSLink (Results 1 – 25 of 70) sorted by relevance

123

/dports/cad/sumo/sumo-1.2.0/src/microsim/
H A DMSLink.h70 class MSLink {
154 ~MSLink();
201 void addBlockedLink(MSLink* link);
559 std::set<MSLink*> myBlockedFoeLinks;
626 std::vector<MSLink*> myFoeLinks;
639 std::vector<MSLink*> mySublaneFoeLinks;
642 std::vector<MSLink*> mySublaneFoeLinks2;
651 MSLink* myParallelRight;
652 MSLink* myParallelLeft;
658 MSLink(const MSLink& s);
[all …]
H A DMSLink.cpp120 MSLink::~MSLink() {} in ~MSLink()
391 MSLink::addBlockedLink(MSLink* link) { in addBlockedLink()
714 MSLink::getLane() const { in getLane()
720 MSLink::isCont() const { in isCont()
864 MSLink::getViaLane() const { in getViaLane()
885 MSLink::isExitLink() const { in isExitLink()
905 MSLink*
908 MSLink* link = nullptr; in getCorrespondingExitLink()
927 MSLink::LinkLeaders
1182 MSLink*
[all …]
H A DMSInternalJunction.h40 class MSLink; variable
71 const std::vector<MSLink*>& getFoeLinks(const MSLink* const srcLink) const { in getFoeLinks()
76 const std::vector<MSLane*>& getFoeInternalLanes(const MSLink* const srcLink) const { in getFoeInternalLanes()
83 …ctBicycleTurn(const MSLane* specialLane, const MSLink* thisLink, const MSLane* foeFirstPart, const…
85 std::vector<MSLink*> myInternalLinkFoes;
H A DMSRightOfWayJunction.cpp63 std::vector<std::pair<MSLane*, MSLink*> > sortedLinks; in postloadInit()
98 myLinkFoeLinks[*j] = std::vector<MSLink*>(); in postloadInit()
101 MSLink* foe = sortedLinks[c].second; in postloadInit()
105 MSLink* foeExitLink = foe->getViaLane()->getLinkCont()[0]; in postloadInit()
113 std::vector<MSLink*> foes; in postloadInit()
116 MSLink* foe = sortedLinks[c].second; in postloadInit()
156 MSLink* exitLink = (*j)->getViaLane()->getLinkCont()[0]; in postloadInit()
157 … exitLink->setRequestInformation((int)requestPos, false, false, std::vector<MSLink*>(), in postloadInit()
168 MSLink* exitLink = (*j)->getLane()->getLinkCont()[0]; in postloadInit()
172 for (std::vector<MSLink*>::const_iterator k = foes.begin(); k != foes.end(); ++k) { in postloadInit()
[all …]
H A DMSRightOfWayJunction.h73 const std::vector<MSLink*>& getFoeLinks(const MSLink* const srcLink) const { in getFoeLinks()
77 const std::vector<MSLane*>& getFoeInternalLanes(const MSLink* const srcLink) const { in getFoeInternalLanes()
91 std::map<const MSLink*, std::vector<MSLink*> > myLinkFoeLinks;
92 std::map<const MSLink*, std::vector<MSLane*> > myLinkFoeInternalLanes;
H A DMSJunction.h45 class MSLink; variable
94 virtual const std::vector<MSLink*>& getFoeLinks(const MSLink* const /*srcLink*/) const { in getFoeLinks()
98 virtual const std::vector<MSLane*>& getFoeInternalLanes(const MSLink* const /*srcLink*/) const { in getFoeInternalLanes()
149 std::vector<MSLink*> myEmptyLinks;
H A DMSInternalJunction.cpp62 MSLink* thisLink = specialLane->getLinkCont()[0]; in postloadInit()
109 MSLink* exitLink = thisLink->getViaLane()->getLinkCont()[0]; in postloadInit()
110 exitLink->setRequestInformation(ownLinkIndex, false, false, std::vector<MSLink*>(), in postloadInit()
118 …for (std::vector<MSLink*>::const_iterator k = myInternalLinkFoes.begin(); k != myInternalLinkFoes.… in postloadInit()
126 …ctBicycleTurn(const MSLane* specialLane, const MSLink* thisLink, const MSLane* foeFirstPart, const… in indirectBicycleTurn()
H A DMSLinkCont.cpp38 MSLink* link = *j; in getInternalFollowingEdge()
57 MSLink* link = *j; in getInternalFollowingLane()
70 MSLink*
74 MSLink* link = *j; in getConnectingLink()
H A DMSLinkCont.h45 typedef std::vector<MSLink*> MSLinkCont;
65 static MSLink* getConnectingLink(const MSLane& from, const MSLane& to);
H A DMSLane.h61 class MSLink; variable
241 void addLink(MSLink* link);
639 MSLink* getLinkTo(const MSLane*) const;
642 MSLink* getEntryLink() const;
804 void addIncomingLane(MSLane* lane, MSLink* viaLink);
810 MSLink* viaLink;
932 …std::vector<const MSLink*> getUpcomingLinks(double pos, double range, const std::vector<MSLane*>& …
1520 int operator()(const MSLink* link1, const MSLink* link2) const;
H A DMSVehicle.h1706 bool isLeader(const MSLink* link, const MSVehicle* veh) const;
1924 MSLink* myLink;
1937 DriveProcessItem(MSLink* link, double vPass, double vWait, bool setRequest,
2003 inline double estimateLeaveSpeed(const MSLink* const link, const double vLinkPass) const { in estimateLeaveSpeed()
2043 void checkLinkLeader(const MSLink* link, const MSLane* lane, double seen,
2048 void checkLinkLeaderCurrentAndParallel(const MSLink* link, const MSLane* lane, double seen,
2066 bool keepClear(const MSLink* link) const;
2069 bool ignoreRed(const MSLink* link, bool canBrake) const;
H A DMakefile.am18 MSLink.cpp MSLink.h MSLinkCont.cpp MSLinkCont.h \
/dports/cad/sumo/sumo-1.2.0/src/microsim/traffic_lights/
H A DMSRailSignal.h75 void addLink(MSLink* link, MSLane* lane, int pos);
213 std::vector<std::vector<MSLink*> > myConflictLinks;
226 std::vector<std::vector<std::vector<MSLink*> > > myRouteConflictLinks;
242 std::vector<MSLink*>& conflictLinks,
247 static bool hasAlternativeTrack(MSLink* link);
250 static bool hasAlternativeTrackBetween(const std::vector<MSLane*>& forwardBlock, MSLink* cLink);
253 static std::string getTLLinkID(MSLink* link);
H A DMSRailSignal.cpp126 std::vector<MSLink*> conflictLinks; in init()
138 for (MSLink* link : links) { in init()
191 for (MSLink* cl : conflictLinks) { in init()
199 for (MSLink* cl : conflictLinks) { in init()
201 std::vector<MSLink*> routeConflictLinks; in init()
240 for (MSLink* cl : conflictLinks) { in init()
326 MSLink* currentLink = myLinks[index][0]; in hasLinkConflict()
341 const MSLink* link = cLinks[clIndex]; in hasLinkConflict()
536 for (MSLink* link : links) { in collectForwardBlock()
705 MSRailSignal::hasAlternativeTrack(MSLink* link) { in hasAlternativeTrack()
[all …]
H A DMSTrafficLightLogic.h44 class MSLink; variable
65 typedef std::vector<MSLink*> LinkVector;
116 virtual void addLink(MSLink* link, MSLane* lane, int pos);
135 std::map<MSLink*, LinkState> collectLinkStates() const;
141 void resetLinkStates(const std::map<MSLink*, LinkState>& vals) const;
219 int getLinkIndex(const MSLink* const link) const;
H A DMSRailCrossing.cpp94 …for (std::vector<MSLink*>::const_iterator it_link = myIncomingRailLinks.begin(); it_link != myInco… in updateCurrentPhase()
97 const MSLink::ApproachingVehicleInformation& avi = it_avi.second; in updateCurrentPhase()
152 MSRailCrossing::addLink(MSLink* link, MSLane* lane, int pos) { in addLink()
H A DMSRailCrossing.h70 void addLink(MSLink* link, MSLane* lane, int pos);
144 std::vector<MSLink*> myIncomingRailLinks;
H A DMSTrafficLightLogic.cpp196 MSTrafficLightLogic::addLink(MSLink* link, MSLane* lane, int pos) { in addLink()
221 std::map<MSLink*, LinkState>
223 std::map<MSLink*, LinkState> ret; in collectLinkStates()
251 MSTrafficLightLogic::resetLinkStates(const std::map<MSLink*, LinkState>& vals) const { in resetLinkStates() argument
264 MSTrafficLightLogic::getLinkIndex(const MSLink* const link) const { in getLinkIndex()
/dports/cad/sumo/sumo-1.2.0/src/mesosim/
H A DMELoop.h36 class MSLink; variable
69 void addLeaderCar(MEVehicle* veh, MSLink* link);
105 static void setApproaching(MEVehicle* veh, MSLink* link);
H A DMESegment.cpp376 MSLink*
386 for (std::vector<MSLink*>::const_iterator j = links.begin(); j != links.end(); ++j) { in getLink()
395 … for (std::vector<MSLink*>::const_iterator j = links.begin(); j != links.end(); ++j) { in getLink()
413 const MSLink* link = getLink(veh); in isOpen()
435 const MSLink* link = getLink(veh); in isOpen()
446 MESegment::limitedControlOverride(const MSLink* link) const { in limitedControlOverride()
461 MSLink* link = getLink(veh); in send()
714 const MSLink* link = getLink(veh, myTLSPenalty || myMinorPenalty); in getLinkPenalty()
736 const MSLink* link = getLink(veh, true); in getTLSCapacity()
754 MSLink* link = *j; in getMaxPenaltySeconds()
H A DMESegment.h35 class MSLink; variable
226 MSLink* getLink(const MEVehicle* veh, bool tlsPenalty = false) const;
421 bool limitedControlOverride(const MSLink* link) const;
H A DMEVehicle.h36 class MSLink; variable
111 double estimateLeaveSpeed(const MSLink* link) const;
/dports/cad/sumo/sumo-1.2.0/src/guisim/
H A DGUINet.h52 class MSLink; variable
262 int getLinkTLID(MSLink* link) const;
266 int getLinkTLIndex(MSLink* link) const;
371 typedef std::map<MSLink*, std::string> Links2LogicMap;
/dports/cad/sumo/sumo-1.2.0/src/microsim/actions/
H A DCommand_SaveTLCoupledLaneDet.h53 MSLink* link);
75 MSLink* myLink;
/dports/cad/sumo/sumo-1.2.0/src/microsim/pedestrians/
H A DMSPModel_Striping.h39 class MSLink; variable
172 NextLaneInfo(const MSLane* _lane, const MSLink* _link, int _dir) : in NextLaneInfo()
187 const MSLink* link;
357 bool ignoreRed(const MSLink* link) const;
445 … static const MSLane* getNextWalkingArea(const MSLane* currentLane, const int dir, MSLink*& link);

123