PGROUTING  3.2
pgr_flowgraph.hpp
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 
3 Copyright (c) 2015 pgRouting developers
5 
6 Copyright (c) 2016 Andrea Nardelli
8 
9 ------
10 
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
15 
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
20 
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 
25  ********************************************************************PGR-GNU*/
26 
27 #ifndef INCLUDE_MAX_FLOW_PGR_FLOWGRAPH_HPP_
28 #define INCLUDE_MAX_FLOW_PGR_FLOWGRAPH_HPP_
29 #pragma once
30 
31 #include <boost/config.hpp>
32 #include <boost/graph/adjacency_list.hpp>
33 
34 
35 namespace pgrouting {
36 
37 typedef boost::adjacency_list_traits<boost::vecS, boost::vecS, boost::directedS>
38  Traits;
39 typedef boost::adjacency_list<boost::listS, boost::vecS, boost::directedS,
40  // Vertex properties
41  boost::property<boost::vertex_index_t, int64_t,
42  boost::property<boost::vertex_color_t, boost::default_color_type,
43  boost::property<boost::vertex_distance_t, int64_t,
44  boost::property<boost::vertex_predecessor_t, Traits::edge_descriptor>
45  > > >,
46  // Edge properties
47  boost::property<boost::edge_capacity_t, int64_t,
48  boost::property<boost::edge_residual_capacity_t, int64_t,
49  boost::property<boost::edge_reverse_t, Traits::edge_descriptor> > > >
51 
52 } // namespace pgrouting
53 
54 #endif // INCLUDE_MAX_FLOW_PGR_FLOWGRAPH_HPP_
pgrouting::FlowGraph
boost::adjacency_list< boost::listS, boost::vecS, boost::directedS, boost::property< boost::vertex_index_t, int64_t, boost::property< boost::vertex_color_t, boost::default_color_type, boost::property< boost::vertex_distance_t, int64_t, boost::property< boost::vertex_predecessor_t, Traits::edge_descriptor > > > >, boost::property< boost::edge_capacity_t, int64_t, boost::property< boost::edge_residual_capacity_t, int64_t, boost::property< boost::edge_reverse_t, Traits::edge_descriptor > > > > FlowGraph
Definition: pgr_flowgraph.hpp:50
pgrouting::Traits
boost::adjacency_list_traits< boost::vecS, boost::vecS, boost::directedS > Traits
Definition: pgr_costFlowGraph.hpp:39
pgrouting
Book keeping class for swapping orders between vehicles.
Definition: pgr_alphaShape.cpp:56