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