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