SUMO - Simulation of Urban MObility
ODCell.h
Go to the documentation of this file.
1 /****************************************************************************/
9 // A single O/D-matrix cell
10 /****************************************************************************/
11 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
12 // Copyright (C) 2002-2015 DLR (http://www.dlr.de/) and contributors
13 /****************************************************************************/
14 //
15 // This file is part of SUMO.
16 // SUMO is free software: you can redistribute it and/or modify
17 // it under the terms of the GNU General Public License as published by
18 // the Free Software Foundation, either version 3 of the License, or
19 // (at your option) any later version.
20 //
21 /****************************************************************************/
22 #ifndef ODCell_h
23 #define ODCell_h
24 
25 
26 // ===========================================================================
27 // included modules
28 // ===========================================================================
29 #ifdef _MSC_VER
30 #include <windows_config.h>
31 #else
32 #include <config.h>
33 #endif
34 
35 
36 // ===========================================================================
37 // class declarations
38 // ===========================================================================
39 class RORoute;
40 
41 
42 // ===========================================================================
43 // class definitions
44 // ===========================================================================
56 struct ODCell {
59 
62 
65 
67  std::string origin;
68 
70  std::string destination;
71 
73  std::string vehicleType;
74 
76  std::vector<RORoute*> pathsVector; // path_id, string of edges?
77 };
78 
79 
80 #endif
81 
82 /****************************************************************************/
83 
std::vector< RORoute * > pathsVector
the list of paths / routes
Definition: ODCell.h:76
A single O/D-matrix cell.
Definition: ODCell.h:56
std::string origin
Name of the origin district.
Definition: ODCell.h:67
SUMOReal vehicleNumber
The number of vehicles.
Definition: ODCell.h:58
SUMOTime begin
The begin time this cell describes.
Definition: ODCell.h:61
int SUMOTime
Definition: SUMOTime.h:43
std::string vehicleType
Name of the vehicle type.
Definition: ODCell.h:73
std::string destination
Name of the destination district.
Definition: ODCell.h:70
#define SUMOReal
Definition: config.h:218
SUMOTime end
The end time this cell describes.
Definition: ODCell.h:64
A complete router's route.
Definition: RORoute.h:62