SUMO - Simulation of Urban MObility
RODFRouteDesc.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-2018 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 /****************************************************************************/
16 // A route within the DFROUTER
17 /****************************************************************************/
18 #ifndef RODFRouteDesc_h
19 #define RODFRouteDesc_h
20 
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 #include <config.h>
26 
27 #include <vector>
28 #include <string>
29 #include <utils/common/SUMOTime.h>
30 
31 
32 // ===========================================================================
33 // class declarations
34 // ===========================================================================
35 class ROEdge;
37 
38 typedef std::vector<ROEdge*> ROEdgeVector;
39 
40 // ===========================================================================
41 // struct definitions
42 // ===========================================================================
47 struct RODFRouteDesc {
51  std::string routename;
52  double duration_2;
53  double distance;
54  int passedNo;
57  double distance2Last;
59 
60  double overallProb;
61  double factor;
62 
63 };
64 
65 
66 #endif
67 
68 /****************************************************************************/
69 
long long int SUMOTime
Definition: SUMOTime.h:36
ROEdgeVector edges2Pass
The edges the route is made of.
Definition: RODFRouteDesc.h:49
double duration_2
Definition: RODFRouteDesc.h:52
std::vector< ROEdge * > ROEdgeVector
Definition: RODFRouteDesc.h:36
double overallProb
Definition: RODFRouteDesc.h:60
A route within the DFROUTER.
Definition: RODFRouteDesc.h:47
A basic edge for routing applications.
Definition: ROEdge.h:72
SUMOTime duration2Last
Definition: RODFRouteDesc.h:58
double distance2Last
Definition: RODFRouteDesc.h:57
Class representing a detector within the DFROUTER.
Definition: RODFDetector.h:82
const ROEdge * endDetectorEdge
Definition: RODFRouteDesc.h:55
std::string routename
The name of the route.
Definition: RODFRouteDesc.h:51
const ROEdge * lastDetectorEdge
Definition: RODFRouteDesc.h:56