SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ODCell.h
Go to the documentation of this file.
1 /****************************************************************************/
8 // A single O/D-matrix cell
9 /****************************************************************************/
10 // SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
11 // Copyright (C) 2001-2013 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 ODCell_h
22 #define ODCell_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 
35 // ===========================================================================
36 // class declarations
37 // ===========================================================================
38 class RORoute;
39 
40 
41 // ===========================================================================
42 // class definitions
43 // ===========================================================================
55 struct ODCell {
58 
61 
64 
66  std::string origin;
67 
69  std::string destination;
70 
72  std::string vehicleType;
73 
75  std::vector<RORoute*> pathsVector; // path_id, string of edges?
76 };
77 
78 
79 #endif
80 
81 /****************************************************************************/
82 
std::vector< RORoute * > pathsVector
the list of paths / routes
Definition: ODCell.h:75
A single O/D-matrix cell.
Definition: ODCell.h:55
std::string origin
Name of the origin district.
Definition: ODCell.h:66
SUMOReal vehicleNumber
The number of vehicles.
Definition: ODCell.h:57
SUMOTime begin
The begin time this cell describes.
Definition: ODCell.h:60
std::string vehicleType
Name of the vehicle type.
Definition: ODCell.h:72
std::string destination
Name of the destination district.
Definition: ODCell.h:69
#define SUMOReal
Definition: config.h:221
SUMOTime end
The end time this cell describes.
Definition: ODCell.h:63
A complete router&#39;s route.
Definition: RORoute.h:58