SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ROJTRRouter.h
Go to the documentation of this file.
1
/****************************************************************************/
8
// Computes routes using junction turning percentages
9
/****************************************************************************/
10
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
11
// Copyright (C) 2001-2012 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 ROJTRRouter_h
22
#define ROJTRRouter_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 <
utils/common/SUMOAbstractRouter.h
>
35
36
37
// ===========================================================================
38
// class declarations
39
// ===========================================================================
40
class
RONet
;
41
class
ROEdge
;
42
class
ROJTREdge
;
43
44
45
// ===========================================================================
46
// class definitions
47
// ===========================================================================
52
class
ROJTRRouter
:
public
SUMOAbstractRouter
<ROEdge, ROVehicle> {
53
public
:
62
ROJTRRouter
(
RONet
& net,
bool
unbuildIsWarningOnly,
63
bool
acceptAllDestinations,
int
maxEdges,
bool
ignoreClasses,
64
bool
allowLoops);
65
66
68
~ROJTRRouter
();
69
70
71
74
84
void
compute
(
const
ROEdge
* from,
const
ROEdge
* to,
const
ROVehicle
*
const
vehicle,
85
SUMOTime
time, std::vector<const ROEdge*> &into);
86
87
94
SUMOReal
recomputeCosts
(
const
std::vector<const ROEdge*> &edges,
const
ROVehicle
*
const
v,
SUMOTime
time)
const
;
96
97
98
private
:
100
RONet
&
myNet
;
101
103
int
myMaxEdges
;
104
106
bool
myUnbuildIsWarningOnly
;
107
109
bool
myAcceptAllDestination
;
110
112
bool
myIgnoreClasses
;
113
115
bool
myAllowLoops
;
116
117
};
118
119
120
#endif
121
122
/****************************************************************************/
123
tmp
buildd
sumo-0.15.0~dfsg
src
jtrrouter
ROJTRRouter.h
Generated on Sun May 27 2012 14:52:10 for SUMO - Simulation of Urban MObility by
1.8.1