PGROUTING  3.1
linear_directed_graph.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2  *
3 
4 Copyright (c) 2017 Anthony Nicola Tasca
5 atasca10@gmail.com
6 
7 ------
8 
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
13 
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 
23  ********************************************************************PGR-GNU*/
26 #ifndef INCLUDE_CPP_COMMON_LINEAR_DIRECTED_GRAPH_H_
27 #define INCLUDE_CPP_COMMON_LINEAR_DIRECTED_GRAPH_H_
28 #pragma once
29 
30 #include <boost/config.hpp>
31 #include <boost/graph/adjacency_list.hpp>
32 #include "cpp_common/basic_edge.h"
33 #include "cpp_common/line_vertex.h"
34 
35 namespace pgrouting {
36 
53 typedef boost::adjacency_list < boost::vecS, boost::vecS,
54  boost::bidirectionalS,
56 
57 } // namespace pgrouting
58 
59 #endif // INCLUDE_CPP_COMMON_LINEAR_DIRECTED_GRAPH_H_
boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, Line_vertex, Basic_edge > LinearDirectedGraph
Data type to handle graph -> lineGaph transformation.
Book keeping class for swapping orders between vehicles.