SUMO - Simulation of Urban MObility
|
00001 /****************************************************************************/ 00008 // A route within the DFROUTER 00009 /****************************************************************************/ 00010 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/ 00011 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors 00012 /****************************************************************************/ 00013 // 00014 // This file is part of SUMO. 00015 // SUMO is free software: you can redistribute it and/or modify 00016 // it under the terms of the GNU General Public License as published by 00017 // the Free Software Foundation, either version 3 of the License, or 00018 // (at your option) any later version. 00019 // 00020 /****************************************************************************/ 00021 #ifndef RODFRouteDesc_h 00022 #define RODFRouteDesc_h 00023 00024 00025 // =========================================================================== 00026 // included modules 00027 // =========================================================================== 00028 #ifdef _MSC_VER 00029 #include <windows_config.h> 00030 #else 00031 #include <config.h> 00032 #endif 00033 00034 #include <vector> 00035 #include <string> 00036 #include <utils/common/SUMOTime.h> 00037 00038 00039 // =========================================================================== 00040 // class declarations 00041 // =========================================================================== 00042 class ROEdge; 00043 class RODFDetector; 00044 00045 00046 // =========================================================================== 00047 // struct definitions 00048 // =========================================================================== 00053 struct RODFRouteDesc { 00055 std::vector<ROEdge*> edges2Pass; 00057 std::string routename; 00058 SUMOReal duration_2; 00059 SUMOReal distance; 00060 int passedNo; 00061 const ROEdge* endDetectorEdge; 00062 const ROEdge* lastDetectorEdge; 00063 SUMOReal distance2Last; 00064 SUMOTime duration2Last; 00065 00066 SUMOReal overallProb; 00067 SUMOReal factor; 00068 00069 }; 00070 00071 00072 #endif 00073 00074 /****************************************************************************/ 00075