SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RODFRouteDesc.h
Go to the documentation of this file.
1 /****************************************************************************/
8 // A route within the DFROUTER
9 /****************************************************************************/
10 // SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
11 // Copyright (C) 2001-2014 DLR (http://www.dlr.de/) and contributors
12 /****************************************************************************/
13 //
14 // This file is part of SUMO.
15 // SUMO is free software: you can redistribute it and/or modify
16 // it under the terms of the GNU General Public License as published by
17 // the Free Software Foundation, either version 3 of the License, or
18 // (at your option) any later version.
19 //
20 /****************************************************************************/
21 #ifndef RODFRouteDesc_h
22 #define RODFRouteDesc_h
23 
24 
25 // ===========================================================================
26 // included modules
27 // ===========================================================================
28 #ifdef _MSC_VER
29 #include <windows_config.h>
30 #else
31 #include <config.h>
32 #endif
33 
34 #include <vector>
35 #include <string>
36 #include <utils/common/SUMOTime.h>
37 
38 
39 // ===========================================================================
40 // class declarations
41 // ===========================================================================
42 class ROEdge;
43 class RODFDetector;
44 
45 
46 // ===========================================================================
47 // struct definitions
48 // ===========================================================================
53 struct RODFRouteDesc {
55  std::vector<ROEdge*> edges2Pass;
57  std::string routename;
60  int passedNo;
65 
68 
69 };
70 
71 
72 #endif
73 
74 /****************************************************************************/
75 
SUMOReal factor
Definition: RODFRouteDesc.h:67
std::vector< ROEdge * > edges2Pass
The edges the route is made of.
Definition: RODFRouteDesc.h:55
SUMOReal distance
Definition: RODFRouteDesc.h:59
SUMOReal distance2Last
Definition: RODFRouteDesc.h:63
SUMOReal overallProb
Definition: RODFRouteDesc.h:66
A route within the DFROUTER.
Definition: RODFRouteDesc.h:53
A basic edge for routing applications.
Definition: ROEdge.h:67
SUMOTime duration2Last
Definition: RODFRouteDesc.h:64
Class representing a detector within the DFROUTER.
Definition: RODFDetector.h:88
const ROEdge * endDetectorEdge
Definition: RODFRouteDesc.h:61
SUMOReal duration_2
Definition: RODFRouteDesc.h:58
std::string routename
The name of the route.
Definition: RODFRouteDesc.h:57
#define SUMOReal
Definition: config.h:215
const ROEdge * lastDetectorEdge
Definition: RODFRouteDesc.h:62