SUMO - Simulation of Urban MObility
NBCont.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-2018 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 // Some typedef definitions fir containers
17 /****************************************************************************/
18 #ifndef NBCont_h
19 #define NBCont_h
20 
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 #include <vector>
26 #include <set>
27 
28 #include <config.h>
29 
30 
31 // ===========================================================================
32 // class declarations
33 // ===========================================================================
34 class NBEdge;
35 
36 
37 // ===========================================================================
38 // container definitions
39 // ===========================================================================
41 typedef std::vector<NBEdge*> EdgeVector;
42 
43 typedef std::vector<std::pair<const NBEdge*, const NBEdge*> > NBConstEdgePairVector;
44 
46 typedef std::set<NBEdge*> EdgeSet;
47 
49 typedef std::vector<int> LaneVector;
50 
51 
52 #endif
53 
54 /****************************************************************************/
55 
std::vector< std::pair< const NBEdge *, const NBEdge * > > NBConstEdgePairVector
Definition: NBCont.h:43
The representation of a single edge during network building.
Definition: NBEdge.h:65
std::vector< int > LaneVector
container for (sorted) lanes. The lanes are sorted from rightmost (id=0) to leftmost (id=nolanes-1) ...
Definition: NBCont.h:49
std::set< NBEdge * > EdgeSet
container for unique edges
Definition: NBCont.h:46
std::vector< NBEdge * > EdgeVector
container for (sorted) edges
Definition: NBCont.h:34