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-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
18 // A route within the DFROUTER
19 /****************************************************************************/
20 #ifndef RODFRouteDesc_h
21 #define RODFRouteDesc_h
22 
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #ifdef _MSC_VER
28 #include <windows_config.h>
29 #else
30 #include <config.h>
31 #endif
32 
33 #include <vector>
34 #include <string>
35 #include <utils/common/SUMOTime.h>
36 
37 
38 // ===========================================================================
39 // class declarations
40 // ===========================================================================
41 class ROEdge;
43 
44 typedef std::vector<ROEdge*> ROEdgeVector;
45 
46 // ===========================================================================
47 // struct definitions
48 // ===========================================================================
53 struct RODFRouteDesc {
57  std::string routename;
58  double duration_2;
59  double distance;
60  int passedNo;
63  double distance2Last;
65 
66  double overallProb;
67  double factor;
68 
69 };
70 
71 
72 #endif
73 
74 /****************************************************************************/
75 
ROEdgeVector edges2Pass
The edges the route is made of.
Definition: RODFRouteDesc.h:55
double duration_2
Definition: RODFRouteDesc.h:58
std::vector< ROEdge * > ROEdgeVector
Definition: RODFRouteDesc.h:42
double overallProb
Definition: RODFRouteDesc.h:66
A route within the DFROUTER.
Definition: RODFRouteDesc.h:53
A basic edge for routing applications.
Definition: ROEdge.h:77
SUMOTime duration2Last
Definition: RODFRouteDesc.h:64
double distance2Last
Definition: RODFRouteDesc.h:63
Class representing a detector within the DFROUTER.
Definition: RODFDetector.h:88
const ROEdge * endDetectorEdge
Definition: RODFRouteDesc.h:61
std::string routename
The name of the route.
Definition: RODFRouteDesc.h:57
long long int SUMOTime
Definition: TraCIDefs.h:51
const ROEdge * lastDetectorEdge
Definition: RODFRouteDesc.h:62