Eclipse SUMO - Simulation of Urban MObility
GNERouteHandler.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
15 // Builds demand objects for netedit
16 /****************************************************************************/
17 #ifndef GNERouteHandler_h
18 #define GNERouteHandler_h
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 
24 #include <config.h>
25 
31 
32 
33 // ===========================================================================
34 // class declarations
35 // ===========================================================================
36 
37 class GNEViewNet;
38 class GNEEdge;
39 class GNETAZ;
40 class GNEDemandElement;
41 class GNEVehicle;
42 class GNEPerson;
43 class GNEUndoList;
44 
45 // ===========================================================================
46 // class definitions
47 // ===========================================================================
48 
52 public:
54  struct RouteParameter {
55 
58 
60  RouteParameter(GNEDemandElement* originalDemandElement);
61 
63  void setEdges(GNEViewNet* viewNet, const std::string& edgeIDs);
64 
66  void setEdges(GNEViewNet* viewNet, const std::string& vehicleID, const std::string& fromID, const std::string& toID, const std::string& viaIDs);
67 
69  std::string routeID;
70 
72  std::vector<GNEEdge*> edges;
73 
76 
79 
82  };
83 
85  GNERouteHandler(const std::string& file, GNEViewNet* viewNet, bool undoDemandElements = true);
86 
89 
91  static bool isVehicleIdDuplicated(GNEViewNet* viewNet, const std::string& id);
92 
94  static bool isPersonIdDuplicated(GNEViewNet* viewNet, const std::string& id);
95 
99  static void buildVehicleOverRoute(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter& vehicleParameters);
100 
102  static void buildFlowOverRoute(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter& vehicleParameters);
103 
105  static void buildVehicleWithEmbeddedRoute(GNEViewNet* viewNet, bool undoDemandElements, SUMOVehicleParameter vehicleParameters, GNEDemandElement* embeddedRouteCopy);
106 
108  static void buildFlowWithEmbeddedRoute(GNEViewNet* viewNet, bool undoDemandElements, SUMOVehicleParameter vehicleParameters, GNEDemandElement* embeddedRouteCopy);
109 
111  static void buildTrip(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter& vehicleParameters, const std::vector<GNEEdge*>& edges);
112 
114  static void buildFlow(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter& vehicleParameters, const std::vector<GNEEdge*>& edges);
115 
117  static void buildStop(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter::Stop& stopParameters, GNEDemandElement* stopParent, bool friendlyPosition);
118 
120  static void buildPerson(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter& personParameters);
121 
123  static void buildPersonFlow(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter& personFlowParameters);
124 
126  static void buildPersonTripFromTo(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, const std::vector<GNEEdge*>& edges,
127  const std::vector<std::string>& types, const std::vector<std::string>& modes, double arrivalPos);
128 
130  static void buildPersonTripBusStop(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, const std::vector<GNEEdge*>& edges,
131  GNEAdditional* busStop, const std::vector<std::string>& types, const std::vector<std::string>& modes);
132 
134  static void buildWalkEdges(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, const std::vector<GNEEdge*>& edges, double arrivalPos);
135 
137  static void buildWalkFromTo(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, const std::vector<GNEEdge*>& edges, double arrivalPos);
138 
140  static void buildWalkBusStop(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, const std::vector<GNEEdge*>& edges, GNEAdditional* busStop);
141 
143  static void buildWalkRoute(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, GNEDemandElement* routeParent, double arrivalPos);
144 
146  static void buildRideFromTo(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, const std::vector<GNEEdge*>& edges,
147  const std::vector<std::string>& lines, double arrivalPos);
148 
150  static void buildRideBusStop(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, const std::vector<GNEEdge*>& edges,
151  GNEAdditional* busStop, const std::vector<std::string>& lines);
152 
154 
157 
159  static void transformToVehicle(GNEVehicle* originalVehicle, bool createEmbeddedRoute);
160 
162  static void transformToRouteFlow(GNEVehicle* originalVehicle, bool createEmbeddedRoute);
163 
165  static void transformToTrip(GNEVehicle* originalVehicle);
166 
168  static void transformToFlow(GNEVehicle* originalVehicle);
169 
171 
174 
176  static void transformToPerson(GNEPerson* originalPerson);
177 
179  static void transformToPersonFlow(GNEPerson* originalPerson);
180 
182 
183 protected:
185  static void embebbeRoute(GNEVehicle* vehicle, GNEUndoList* undoList);
186 
188  static GNEVehicle* separateEmbeddedRoute(GNEVehicle* vehicle, GNEUndoList* undoList);
189 
192 
195 
197  void openRoute(const SUMOSAXAttributes& attrs);
198 
200  void openFlow(const SUMOSAXAttributes& attrs);
201 
203  void openTrip(const SUMOSAXAttributes& attrs);
204 
211  void closeRoute(const bool mayBeDisconnected = false);
212 
214  void openRouteDistribution(const SUMOSAXAttributes& attrs);
215 
217  void closeRouteDistribution();
218 
220  void closeVehicle();
221 
223  void closeVType();
224 
226  void closePerson();
227 
229  void closePersonFlow();
230 
232  void closeContainer();
233 
235  void closeFlow();
236 
238  void closeTrip();
239 
241  void addStop(const SUMOSAXAttributes& attrs);
242 
244  void addPersonTrip(const SUMOSAXAttributes& attrs);
245 
247  void addWalk(const SUMOSAXAttributes& attrs);
248 
250  void addPerson(const SUMOSAXAttributes& attrs);
251 
253  void addContainer(const SUMOSAXAttributes& attrs);
254 
256  void addRide(const SUMOSAXAttributes& attrs);
257 
259  void addTransport(const SUMOSAXAttributes& attrs);
260 
262  void addTranship(const SUMOSAXAttributes& attrs);
263 
264 private:
269 
271  GNEEdge* getLastEdge() const;
272 
274  std::vector<GNEEdge*> calculateEdgePath() const;
275 
278 
281 
284 
286  std::vector<GNEEdge*> via;
287 
289  std::vector<GNEEdge*> edges;
290 
293 
296 
298  std::vector<std::string> vTypes;
299 
301  std::vector<std::string> modes;
302 
304  std::vector<std::string> lines;
305 
307  double arrivalPos;
308 
311 
314 
317  };
318 
321 
323  std::vector<PersonPlansValues> myPersonPlanValues;
324 
327 
329  bool myAbort;
330 
333 };
334 
335 
336 #endif
GNERouteHandler::PersonPlansValues::busStop
GNEAdditional * busStop
busStop
Definition: GNERouteHandler.h:292
SUMOVehicleClass
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
Definition: SUMOVehicleClass.h:134
GNERouteHandler::GNERouteHandler
GNERouteHandler(const std::string &file, GNEViewNet *viewNet, bool undoDemandElements=true)
Constructor.
Definition: GNERouteHandler.cpp:112
GNERouteHandler::myRouteParameter
RouteParameter myRouteParameter
NETEDIT Route Parameters.
Definition: GNERouteHandler.h:326
GNERouteHandler::transformToVehicle
static void transformToVehicle(GNEVehicle *originalVehicle, bool createEmbeddedRoute)
transform vehicle functions
Definition: GNERouteHandler.cpp:851
GNERouteHandler::closeVehicle
void closeVehicle()
Ends the processing of a vehicle.
Definition: GNERouteHandler.cpp:1279
GNERouteHandler::RouteParameter::setEdges
void setEdges(GNEViewNet *viewNet, const std::string &edgeIDs)
set edges (list of consecutive edges)
Definition: GNERouteHandler.cpp:66
GNEDemandElement
An Element which don't belongs to GNENet but has influency in the simulation.
Definition: GNEDemandElement.h:54
GNERouteHandler
Builds trigger objects for GNENet (busStops, chargingStations, detectors, etc..)
Definition: GNERouteHandler.h:51
GNEAdditional
An Element which don't belongs to GNENet but has influency in the simulation.
Definition: GNEAdditional.h:47
GNERouteHandler::addContainer
void addContainer(const SUMOSAXAttributes &attrs)
Processing of a container.
Definition: GNERouteHandler.cpp:1793
Parameterised
An upper class for objects with additional parameters.
Definition: Parameterised.h:43
GNERouteHandler::closeTrip
void closeTrip()
Ends the processing of a trip.
Definition: GNERouteHandler.cpp:1494
GNERouteHandler::buildVehicleOverRoute
static void buildVehicleOverRoute(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter &vehicleParameters)
build functions
Definition: GNERouteHandler.cpp:147
GNERouteHandler::RouteParameter::edges
std::vector< GNEEdge * > edges
edges
Definition: GNERouteHandler.h:72
GNERouteHandler::isPersonIdDuplicated
static bool isPersonIdDuplicated(GNEViewNet *viewNet, const std::string &id)
check if there is already a person (Person or PersonFlow) with the given ID
Definition: GNERouteHandler.cpp:135
GNERouteHandler::buildRideFromTo
static void buildRideFromTo(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, const std::vector< GNEEdge * > &edges, const std::vector< std::string > &lines, double arrivalPos)
build ride using a from-to edges
Definition: GNERouteHandler.cpp:776
GNERouteHandler::closeFlow
void closeFlow()
Ends the processing of a routeFlow.
Definition: GNERouteHandler.cpp:1478
GNERouteHandler::isVehicleIdDuplicated
static bool isVehicleIdDuplicated(GNEViewNet *viewNet, const std::string &id)
check if there is already a vehicle (Vehicle, Trip, Flow or Flow) with the given ID
Definition: GNERouteHandler.cpp:123
GNERouteHandler::transformToTrip
static void transformToTrip(GNEVehicle *originalVehicle)
transform to trip
Definition: GNERouteHandler.cpp:971
GNERouteHandler::buildPersonTripBusStop
static void buildPersonTripBusStop(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, const std::vector< GNEEdge * > &edges, GNEAdditional *busStop, const std::vector< std::string > &types, const std::vector< std::string > &modes)
build trip using a from edge and a busStop
Definition: GNERouteHandler.cpp:607
GNERouteHandler::~GNERouteHandler
~GNERouteHandler()
Destructor.
Definition: GNERouteHandler.cpp:119
SUMOSAXHandler.h
GNERouteHandler::embebbeRoute
static void embebbeRoute(GNEVehicle *vehicle, GNEUndoList *undoList)
embebbe route within a vehicle
Definition: GNERouteHandler.cpp:1102
GNERouteHandler::openTrip
void openTrip(const SUMOSAXAttributes &attrs)
opens a trip for reading
Definition: GNERouteHandler.cpp:1168
GNERouteHandler::openVehicleTypeDistribution
void openVehicleTypeDistribution(const SUMOSAXAttributes &attrs)
opens a type distribution for reading
Definition: GNERouteHandler.cpp:1133
GNERouteHandler::closeContainer
void closeContainer()
Ends the processing of a container.
Definition: GNERouteHandler.cpp:1472
GNEViewNet
Definition: GNEViewNet.h:43
GNERouteHandler::transformToPerson
static void transformToPerson(GNEPerson *originalPerson)
transform person functions
Definition: GNERouteHandler.cpp:1087
SUMOVehicleParameter
Structure representing possible vehicle parameter.
Definition: SUMOVehicleParameter.h:291
GNERouteHandler::transformToFlow
static void transformToFlow(GNEVehicle *originalVehicle)
transform to flow
Definition: GNERouteHandler.cpp:1031
GNERouteHandler::PersonPlansValues::from
GNEEdge * from
from edge
Definition: GNERouteHandler.h:280
GNERouteHandler::PersonPlansValues::modes
std::vector< std::string > modes
modes
Definition: GNERouteHandler.h:301
SumoXMLTag
SumoXMLTag
Numbers representing SUMO-XML - element names.
Definition: SUMOXMLDefinitions.h:42
GNERouteHandler::PersonPlansValues::route
GNEDemandElement * route
arrival route
Definition: GNERouteHandler.h:295
GNERouteHandler::RouteParameter::color
RGBColor color
string for saving parsed route colors
Definition: GNERouteHandler.h:75
GNEEdge
A road/street connecting two junctions (netedit-version)
Definition: GNEEdge.h:50
GNERouteHandler::closePersonFlow
void closePersonFlow()
Ends the processing of a personFlow.
Definition: GNERouteHandler.cpp:1463
GNERouteHandler::PersonPlansValues::arrivalPos
double arrivalPos
arrival pos
Definition: GNERouteHandler.h:307
GNERouteHandler::RouteParameter
struct for saving route parameters
Definition: GNERouteHandler.h:54
RGBColor
Definition: RGBColor.h:40
GNERouteHandler::PersonPlansValues::via
std::vector< GNEEdge * > via
via edges
Definition: GNERouteHandler.h:286
GNERouteHandler::buildWalkFromTo
static void buildWalkFromTo(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, const std::vector< GNEEdge * > &edges, double arrivalPos)
build walk using a from-to edges
Definition: GNERouteHandler.cpp:681
GNERouteHandler::buildTrip
static void buildTrip(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter &vehicleParameters, const std::vector< GNEEdge * > &edges)
build trip
Definition: GNERouteHandler.cpp:335
GNERouteHandler::buildRideBusStop
static void buildRideBusStop(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, const std::vector< GNEEdge * > &edges, GNEAdditional *busStop, const std::vector< std::string > &lines)
build ride using a from edge and a busStop
Definition: GNERouteHandler.cpp:813
GNERouteHandler::RouteParameter::VClass
SUMOVehicleClass VClass
VClass used by this route.
Definition: GNERouteHandler.h:78
GNERouteHandler::openFlow
void openFlow(const SUMOSAXAttributes &attrs)
opens a routeFlow for reading
Definition: GNERouteHandler.cpp:1156
GNERouteHandler::PersonPlansValues::tag
SumoXMLTag tag
walk tag
Definition: GNERouteHandler.h:277
GNERouteHandler::addRide
void addRide(const SUMOSAXAttributes &attrs)
Processing of a ride.
Definition: GNERouteHandler.cpp:1799
GNERouteHandler::PersonPlansValues::vTypes
std::vector< std::string > vTypes
vehicle types
Definition: GNERouteHandler.h:298
SUMOVehicleClass.h
GNERouteHandler::PersonPlansValues::stopParameters
SUMOVehicleParameter::Stop stopParameters
stop parameters
Definition: GNERouteHandler.h:316
GNERouteHandler::buildFlow
static void buildFlow(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter &vehicleParameters, const std::vector< GNEEdge * > &edges)
build flow
Definition: GNERouteHandler.cpp:383
GNERouteHandler::RouteParameter::RouteParameter
RouteParameter()
constructor
Definition: GNERouteHandler.cpp:50
GNERouteHandler::RouteParameter::routeID
std::string routeID
string for saving parsed Route ID
Definition: GNERouteHandler.h:69
GNETAZ
Definition: GNETAZ.h:35
GNERouteHandler::PersonPlansValues::getLastEdge
GNEEdge * getLastEdge() const
return last valid edge (used to create consecutive person plans)
Definition: GNERouteHandler.cpp:1891
GNERouteHandler::buildPerson
static void buildPerson(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter &personParameters)
build person
Definition: GNERouteHandler.cpp:522
GNERouteHandler::openRoute
void openRoute(const SUMOSAXAttributes &attrs)
opens a route for reading
Definition: GNERouteHandler.cpp:1145
GNEPerson
Definition: GNEPerson.h:37
GNERouteHandler::transformToRouteFlow
static void transformToRouteFlow(GNEVehicle *originalVehicle, bool createEmbeddedRoute)
transform routeFlow over an existent route
Definition: GNERouteHandler.cpp:911
GNERouteHandler::addPerson
void addPerson(const SUMOSAXAttributes &attrs)
Processing of a person.
Definition: GNERouteHandler.cpp:1787
GNERouteHandler::buildWalkRoute
static void buildWalkRoute(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, GNEDemandElement *routeParent, double arrivalPos)
build walk using a list of consecutive edges
Definition: GNERouteHandler.cpp:754
GNERouteHandler::addTranship
void addTranship(const SUMOSAXAttributes &attrs)
Processing of a tranship.
Definition: GNERouteHandler.cpp:1870
GNERouteHandler::PersonPlansValues::lines
std::vector< std::string > lines
lines
Definition: GNERouteHandler.h:304
GNERouteHandler::closePerson
void closePerson()
Ends the processing of a person.
Definition: GNERouteHandler.cpp:1317
GNERouteHandler::PersonPlansValues
struct used for load person plans (Rides, Walks, etc.)
Definition: GNERouteHandler.h:266
GNERouteHandler::buildPersonTripFromTo
static void buildPersonTripFromTo(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, const std::vector< GNEEdge * > &edges, const std::vector< std::string > &types, const std::vector< std::string > &modes, double arrivalPos)
build trip using a from-to edges
Definition: GNERouteHandler.cpp:574
GNERouteHandler::PersonPlansValues::edges
std::vector< GNEEdge * > edges
list of edges
Definition: GNERouteHandler.h:289
GNERouteHandler::myViewNet
GNEViewNet * myViewNet
pointer to View's Net
Definition: GNERouteHandler.h:320
GNERouteHandler::openRouteDistribution
void openRouteDistribution(const SUMOSAXAttributes &attrs)
opens a route distribution for reading
Definition: GNERouteHandler.cpp:1267
GNERouteHandler::myUndoDemandElements
bool myUndoDemandElements
flag to check if created demand elements must be undo and redo
Definition: GNERouteHandler.h:332
GNERouteHandler::closeRoute
void closeRoute(const bool mayBeDisconnected=false)
Definition: GNERouteHandler.cpp:1180
GNERouteHandler::buildVehicleWithEmbeddedRoute
static void buildVehicleWithEmbeddedRoute(GNEViewNet *viewNet, bool undoDemandElements, SUMOVehicleParameter vehicleParameters, GNEDemandElement *embeddedRouteCopy)
build vehicle with a embedded route
Definition: GNERouteHandler.cpp:235
GNERouteHandler::RouteParameter::genericParameters
Parameterised genericParameters
generic parameters
Definition: GNERouteHandler.h:81
GNERouteHandler::buildPersonFlow
static void buildPersonFlow(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter &personFlowParameters)
build person flow
Definition: GNERouteHandler.cpp:548
SUMORouteHandler.h
GNERouteHandler::myPersonPlanValues
std::vector< PersonPlansValues > myPersonPlanValues
container for person trips loaded values
Definition: GNERouteHandler.h:323
GNERouteHandler::buildStop
static void buildStop(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter::Stop &stopParameters, GNEDemandElement *stopParent, bool friendlyPosition)
build stop
Definition: GNERouteHandler.cpp:431
GNERouteHandler::addStop
void addStop(const SUMOSAXAttributes &attrs)
Processing of a stop.
Definition: GNERouteHandler.cpp:1506
SUMOSAXAttributes.h
GNEVehicle
Definition: GNEVehicle.h:36
GNERouteHandler::closeVType
void closeVType()
Ends the processing of a vehicle Type.
Definition: GNERouteHandler.cpp:1289
GNERouteHandler::addPersonTrip
void addPersonTrip(const SUMOSAXAttributes &attrs)
add a routing request for a walking or intermodal person
Definition: GNERouteHandler.cpp:1585
GNERouteHandler::transformToPersonFlow
static void transformToPersonFlow(GNEPerson *originalPerson)
transform routeFlow over an existent route
Definition: GNERouteHandler.cpp:1093
GNERouteHandler::buildWalkBusStop
static void buildWalkBusStop(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, const std::vector< GNEEdge * > &edges, GNEAdditional *busStop)
build walk using a form edge an a busStop
Definition: GNERouteHandler.cpp:717
GNERouteHandler::addTransport
void addTransport(const SUMOSAXAttributes &attrs)
Processing of a transport.
Definition: GNERouteHandler.cpp:1864
SUMORouteHandler
Parser for routes during their loading.
Definition: SUMORouteHandler.h:51
config.h
GNERouteHandler::PersonPlansValues::to
GNEEdge * to
to edge
Definition: GNERouteHandler.h:283
GNERouteHandler::separateEmbeddedRoute
static GNEVehicle * separateEmbeddedRoute(GNEVehicle *vehicle, GNEUndoList *undoList)
separate vehicle and embedded route
Definition: GNERouteHandler.cpp:1116
GNEUndoList
Definition: GNEUndoList.h:49
GNERouteHandler::PersonPlansValues::laneStop
GNELane * laneStop
laneStop
Definition: GNERouteHandler.h:310
GNERouteHandler::closeRouteDistribution
void closeRouteDistribution()
closes (ends) the building of a distribution
Definition: GNERouteHandler.cpp:1273
GNERouteHandler::buildFlowOverRoute
static void buildFlowOverRoute(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter &vehicleParameters)
build a flow over an existent route
Definition: GNERouteHandler.cpp:191
GNERouteHandler::closeVehicleTypeDistribution
void closeVehicleTypeDistribution()
closes (ends) the building of a distribution
Definition: GNERouteHandler.cpp:1139
GNERouteHandler::PersonPlansValues::friendlyPos
bool friendlyPos
friendly position
Definition: GNERouteHandler.h:313
GNERouteHandler::myAbort
bool myAbort
flag used for parsing values
Definition: GNERouteHandler.h:329
SUMOSAXAttributes
Encapsulated SAX-Attributes.
Definition: SUMOSAXAttributes.h:57
GNELane
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
Definition: GNELane.h:46
GNERouteHandler::addWalk
void addWalk(const SUMOSAXAttributes &attrs)
add a fully specified walk
Definition: GNERouteHandler.cpp:1697
SUMOXMLDefinitions.h
GNERouteHandler::PersonPlansValues::calculateEdgePath
std::vector< GNEEdge * > calculateEdgePath() const
calculate ege path between from-to edges
Definition: GNERouteHandler.cpp:1909
GNERouteHandler::buildFlowWithEmbeddedRoute
static void buildFlowWithEmbeddedRoute(GNEViewNet *viewNet, bool undoDemandElements, SUMOVehicleParameter vehicleParameters, GNEDemandElement *embeddedRouteCopy)
build flow with a embedded route
Definition: GNERouteHandler.cpp:285
SUMOVehicleParameter::Stop
Definition of vehicle stop (position and duration)
Definition: SUMOVehicleParameter.h:566
GNERouteHandler::PersonPlansValues::PersonPlansValues
PersonPlansValues()
default constructor
Definition: GNERouteHandler.cpp:1878
GNERouteHandler::buildWalkEdges
static void buildWalkEdges(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, const std::vector< GNEEdge * > &edges, double arrivalPos)
build walk using a list of consecutive edges
Definition: GNERouteHandler.cpp:645