Home
last modified time | relevance | path

Searched refs:fromLane (Results 1 – 25 of 45) sorted by relevance

12

/dports/cad/sumo/sumo-1.2.0/src/netbuild/
H A DNBEdge.cpp1136 (*i).fromLane == fromLane in getConnection()
1150 (*i).fromLane == fromLane in getConnectionRef()
1293 && (fromLane < 0 || c.fromLane == fromLane) in removeFromConnections()
1392 int fromLane = (*i).fromLane; in replaceInConnections() local
1425 int fromLane = (*i).fromLane; in replaceInConnections() local
1428 if (fromLane >= 0 && fromLane <= minLane) { in replaceInConnections()
1437 if (fromLane >= 0 && fromLane >= maxLane) { in replaceInConnections()
2826 assert(fromLane < 0 || fromLane < (int) myLanes.size()); in setControllingTLInformation()
2851 if (fromLane >= 0 && fromLane != (*i).fromLane) { in setControllingTLInformation()
3413 if (c1.fromLane != c2.fromLane) { in connections_sorter()
[all …]
H A DNBRequest.cpp615 const int fromLane = c.fromLane; in getResponseString() local
638 } else if ((*i) == from && fromLane == j) { in getResponseString()
668 …|| NBNode::rightTurnConflict(from, to, fromLane, *i, connected[k].toEdge, connected[k].fromLane, l… in getResponseString()
719 …|| NBNode::rightTurnConflict(from, to, fromLane, *i, connected[k].toEdge, connected[k].fromLane, l… in getFoesString()
720 …|| myJunction->turnFoes(from, to, fromLane, *i, connected[k].toEdge, connected[k].fromLane, leftha… in getFoesString()
741 && con.fromLane != prohibitorCon.fromLane in mergeConflict()
756 return bike || (con.fromLane < prohibitorCon.fromLane && !prohibitorBike); in mergeConflict()
759 return bike || (con.fromLane > prohibitorCon.fromLane && !prohibitorBike); in mergeConflict()
766 return con.fromLane > prohibitorCon.fromLane; in mergeConflict()
768 return con.fromLane < prohibitorCon.fromLane; in mergeConflict()
[all …]
H A DNBEdge.h182 int fromLane; member
775 bool addLane2LaneConnection(int fromLane, NBEdge* dest,
803 bool addLane2LaneConnections(int fromLane,
846 Connection getConnection(int fromLane, const NBEdge* to, int toLane) const;
852 Connection& getConnectionRef(int fromLane, const NBEdge* to, int toLane);
1077 bool mayBeTLSControlled(int fromLane, NBEdge* toEdge, int toLane) const;
1208 void disableConnection4TLS(int fromLane, NBEdge* toEdge, int toLane);
1626 return ((c.fromLane == myFromLane || myFromLane == -1) in operator()
1659 … return (((myCheckRight && c.fromLane < myFromLane) || (!myCheckRight && c.fromLane > myFromLane)) in operator()
1660 && c.fromLane >= 0 // already assigned in operator()
[all …]
H A DNBNode.cpp686 if (con.fromLane >= fromE->getNumLanes()) { in computeInternalLaneShape()
785 double inCenter = in->getLaneWidth(con.fromLane) / 2; in displaceShapeAtWidthChange()
786 for (int i = 0; i < con.fromLane; ++i) { in displaceShapeAtWidthChange()
835 … NBNode::rightTurnConflict(fromE, toE, c.fromLane, otherFromE, otherToE, otherC.fromLane)); in needsCont()
1226 int fromLane = 0; in computeLanes2Lanes() local
1242 fromLane++; in computeLanes2Lanes()
1720 if ((!lefthand && fromLane <= prohibitorFromLane) || in rightTurnConflict()
1721 (lefthand && fromLane >= prohibitorFromLane)) { in rightTurnConflict()
1737 if (from != from2 || to == to2 || fromLane == fromLane2) { in turnFoes()
1747 if (fromLane < fromLane2) { in turnFoes()
[all …]
H A DNBEdgeCont.h540 …void addPostProcessConnection(const std::string& from, int fromLane, const std::string& to, int to…
627 …from(from_), fromLane(fromLane_), to(to_), toLane(toLane_), mayDefinitelyPass(mayDefinitelyPass_),… in PostProcessConnection()
637 int fromLane; member
H A DNBRequest.h100 …bool mustBrake(const NBEdge* const from, const NBEdge* const to, int fromLane, int toLane, bool in…
194 int fromLane, int toLane, const bool checkLaneFoes) const;
H A DNBNode.h443 …bool mustBrake(const NBEdge* const from, const NBEdge* const to, int fromLane, int toLane, bool in…
454 static bool rightTurnConflict(const NBEdge* from, const NBEdge* to, int fromLane,
459 bool turnFoes(const NBEdge* from, const NBEdge* to, int fromLane,
495 … int fromLane, int toLane, bool mayDefinitelyPass, const std::string& tlID) const;
H A DNBConnection.cpp60 NBConnection::NBConnection(NBEdge* from, int fromLane, in NBConnection() argument
63 myFromLane(fromLane), myToLane(toLane), in NBConnection()
H A DNBTrafficLightDefinition.cpp175 … (!checkControlled || from->mayBeTLSControlled((*k).fromLane, to, (*k).toLane))) { in collectReachable()
464 if (incoming->mayBeTLSControlled(el.fromLane, el.toEdge, el.toLane)) { in collectAllLinks()
472 … myControlledLinks.push_back(NBConnection(incoming, el.fromLane, el.toEdge, el.toLane, -1)); in collectAllLinks()
477 … myControlledLinks.push_back(NBConnection(incoming, el.fromLane, el.toEdge, el.toLane, tlIndex++)); in collectAllLinks()
/dports/cad/sumo/sumo-1.2.0/src/netimport/
H A DNIXMLConnectionsHandler.cpp94 int fromLane = -1; // Assume all lanes are to be reset. in myStartElement() local
108 fromEdge->removeFromConnections(toEdge, fromLane, toLane, true); in myStartElement()
206 int fromLane; in parseLaneBound() local
209 if (!parseLaneInfo(attrs, from, to, &fromLane, &toLane)) { in parseLaneBound()
212 if (fromLane < 0) { in parseLaneBound()
228 NBEdge::Connection defaultCon(fromLane, to, toLane); in parseLaneBound()
269 int* fromLane, int* toLane) { in parseLaneInfo() argument
273 return parseLaneDefinition(attributes, fromLane, toLane); in parseLaneInfo()
281 int* fromLane, int* toLane) { in parseDeprecatedLaneDefinition() argument
298 *fromLane = StringUtils::toIntSecure(st.next(), -1); in parseDeprecatedLaneDefinition()
[all …]
H A DNIXMLConnectionsHandler.h106 …const SUMOSAXAttributes& attributes, NBEdge* fromEdge, NBEdge* toEdge, int* fromLane, int* toLane);
118 int* fromLane, int* toLane);
126 … inline bool parseLaneDefinition(const SUMOSAXAttributes& attributes, int* fromLane, int* toLane);
H A DNIXMLTrafficLightsHandler.cpp224 int fromLane = retrieveLaneIndex(attrs, SUMO_ATTR_FROM_LANE, from, ok); in addTlConnection() local
233 NBEdge::connections_finder(fromLane, to, toLane)); in addTlConnection()
236 … " fromLane=" + toString(fromLane) + " toLane=" + toString(toLane) + " not found"); in addTlConnection()
260 tlDef->addConnection(from, c.toEdge, c.fromLane, c.toLane, tlIndex, false); in addTlConnection()
288 int fromLane = retrieveLaneIndex(attrs, SUMO_ATTR_FROM_LANE, from, ok, true); in removeTlConnection() local
295 NBConnection conn(from, fromLane, to, toLane, tlIndex); in removeTlConnection()
H A DNIImporter_OpenDrive.cpp607 int fromLane = (*i).fromLane; in loadNetwork() local
625 if (fromLane < 0) { in loadNetwork()
634fromLane = fromLast ? odFrom->laneSections.back().laneMap[fromLane] : odFrom->laneSections[0].lane… in loadNetwork()
663 if ((*k).fromLane == fromLane && (*k).toEdge == to && (*k).toLane == toLane) { in loadNetwork()
810 cn.fromLane = c.fromLane; in buildConnectionsToOuter()
825 cn.fromLane = c.fromLane; in buildConnectionsToOuter()
971 c.fromLane = (*j).id; in setEdgeLinks2()
1898 c.fromLane = from; in myStartElement()
2057 c.fromLane = 0; in myEndElement()
2127 if (c1.fromLane != c2.fromLane) { in operator <()
[all …]
H A DNIImporter_DlrNavteq.cpp798 int fromLane = StringUtils::toInt(fromLaneS) - 1; // one based in report() local
799 if (fromLane < 0 || fromLane >= from->getNumLanes()) { in report()
808 if (!from->addLane2LaneConnection(fromLane, to, toLane, NBEdge::L2L_USER, true)) { in report()
810 …WRITE_WARNING("Could not set loaded connection from '" + from->getLaneID(fromLane) + "' to '" + to… in report()
815 … myEdgeCont.addPostProcessConnection(from->getID(), fromLane, to->getID(), toLane, false, true, in report()
821 from->getLaneStruct(fromLane).connectionsDone = true; in report()
H A DNIImporter_VISUM.cpp1004 int fromLane = -1; in parse_LanesConnections() local
1006 fromLane = StringUtils::toInt(fromLaneS); in parse_LanesConnections()
1011 fromLane -= 1; in parse_LanesConnections()
1012 if (fromLane < 0) { in parse_LanesConnections()
1031 if (fromLane - fromLaneOffset < 0) { in parse_LanesConnections()
1034 fromLane = (int)fromEdge->getNumLanes() - (fromLane - fromLaneOffset) - 1; in parse_LanesConnections()
1042 if ((int) fromEdge->getNumLanes() <= fromLane) { in parse_LanesConnections()
1051 fromEdge->addLane2LaneConnection(fromLane, toEdge, toLane, NBEdge::L2L_VALIDATED); in parse_LanesConnections()
/dports/cad/sumo/sumo-1.2.0/src/microsim/
H A DMSLinkCont.cpp33 MSLinkContHelper::getInternalFollowingEdge(const MSLane* fromLane, in getInternalFollowingEdge() argument
36 const MSLinkCont& lc = fromLane->getLinkCont(); in getInternalFollowingEdge()
52 MSLinkContHelper::getInternalFollowingLane(const MSLane* fromLane, in getInternalFollowingLane() argument
55 const MSLinkCont& lc = fromLane->getLinkCont(); in getInternalFollowingLane()
H A DMSLinkCont.h56 static const MSEdge* getInternalFollowingEdge(const MSLane* fromLane,
59 static const MSLane* getInternalFollowingLane(const MSLane* fromLane,
H A DMSCModel_NonInteracting.cpp140 …const MSLane* fromLane = stage.getFromEdge()->getLanes().front(); //the lane the container starts … in computeTranshipTime() local
141 myCurrentBeginPosition = stage.getLanePosition(fromLane, myCurrentBeginPos, LATERAL_OFFSET); in computeTranshipTime()
/dports/cad/sumo/sumo-1.2.0/src/netedit/changes/
H A DGNEChange_Connection.cpp60 …myEdge->getNBEdge()->getLaneID(myNBEdgeConnection.fromLane) + "->" + myNBEdgeConnection.toEdge->ge… in undo()
68 …myEdge->getNBEdge()->getLaneID(myNBEdgeConnection.fromLane) + "->" + myNBEdgeConnection.toEdge->ge… in undo()
84 …myEdge->getNBEdge()->getLaneID(myNBEdgeConnection.fromLane) + "->" + myNBEdgeConnection.toEdge->ge… in redo()
91 …myEdge->getNBEdge()->getLaneID(myNBEdgeConnection.fromLane) + "->" + myNBEdgeConnection.toEdge->ge… in redo()
/dports/cad/sumo/sumo-1.2.0/src/traci-server/
H A DTraCIServerAPI_TrafficLight.cpp112 …tempContent.writeStringList(std::vector<std::string>({ link.fromLane, link.toLane, link.viaLane })… in processGet()
162 MSLane* fromLane = nullptr; in processGet() local
165 for (; j != lanes.end() && fromLane == nullptr;) { in processGet()
166 …LightLogic::LaneVector::const_iterator k = (*j).begin(); k != (*j).end() && fromLane == nullptr;) { in processGet()
168 fromLane = *k; in processGet()
170 fromLane = *k; in processGet()
172 if (fromLane == nullptr) { in processGet()
176 if (fromLane == nullptr) { in processGet()
180 if (fromLane == nullptr) { in processGet()
/dports/cad/sumo/sumo-1.2.0/tools/sumolib/net/
H A Dconnection.py30 …def __init__(self, fromEdge, toEdge, fromLane, toLane, direction, tls, tllink, state, viaLaneID=No… argument
33 self._fromLane = fromLane
/dports/cad/sumo/sumo-1.2.0/src/router/
H A DRONetHandler.cpp265 const int fromLane = attrs.get<int>(SUMO_ATTR_FROM_LANE, nullptr, ok); in parseConnection() local
277 if ((int)from->getLanes().size() <= fromLane) { in parseConnection()
278 …throw ProcessError("invalid fromLane '" + toString(fromLane) + "' in connection from '" + fromID +… in parseConnection()
284 from->getLanes()[fromLane]->addOutgoingLane(to->getLanes()[toLane]); in parseConnection()
291 from->getLanes()[fromLane]->addOutgoingLane(to->getLanes()[toLane], via); in parseConnection()
/dports/cad/sumo/sumo-1.2.0/tools/sumolib/net/generator/
H A Dnetwork.py108 def __init__(self, fromEdge, fromLane, toEdge, toLane): argument
110 self.fromLane = fromLane
291 eid, c.toEdge.eid, c.fromLane, c.toLane), file=connectionsFile)
/dports/cad/sumo/sumo-1.2.0/src/netwrite/
H A DNWWriter_OpenDrive.cpp149 if (outEdge != c.toEdge || c.fromLane == lastFromLane) { in writeNetwork()
165 lastFromLane = c.fromLane; in writeNetwork()
333 || parallel.front().fromLane != 0 in addPedestrianConnection()
352 PositionVector begShape = getLeftLaneBorder(inEdge, cLeft.fromLane); in writeInternalEdge()
368 …("Could not compute smooth shape from lane '" + inEdge->getLaneID(cLeft.fromLane) + "' to lane '" … in writeInternalEdge()
372 begShape = getRightLaneBorder(inEdge, cLeft.fromLane); in writeInternalEdge()
435 const int fromIndex = c.fromLane - inEdge->getNumLanes(); in writeInternalEdge()
446 } else if (c.fromLane == 0 && c.toLane == 0 && isOuterEdge) { in writeInternalEdge()
/dports/cad/sumo/sumo-1.2.0/src/netedit/netelements/
H A DGNEConnection.cpp90 if ((int)getEdgeFrom()->getNBEdge()->getLanes().size() > nbCon.fromLane) { in updateGeometry()
91 laneShapeFrom = getEdgeFrom()->getNBEdge()->getLanes().at(nbCon.fromLane).shape; in updateGeometry()
265 nbCon.fromLane, in updateLinkState()
396 …getEdgeFrom()->getNBEdge(), nbCon.toEdge, nbCon.fromLane, nbCon.toLane, nbCon.mayDefinitelyPass, n… in getAttribute()

12