PGROUTING  3.2
pgr_components.hpp
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 
3 Copyright (c) 2015 pgRouting developers
5 
6 Copyright (c) 2017 Maoguang Wang
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_COMPONENTS_PGR_COMPONENTS_HPP_
28 #define INCLUDE_COMPONENTS_PGR_COMPONENTS_HPP_
29 #pragma once
30 
31 #include <boost/config.hpp>
32 #include <boost/graph/adjacency_list.hpp>
33 #include <boost/graph/connected_components.hpp>
34 #include <boost/graph/strong_components.hpp>
35 #include <boost/graph/biconnected_components.hpp>
36 
37 #include <vector>
38 #include <map>
39 #include <utility>
40 #include <algorithm>
41 
45 
46 namespace pgrouting {
47 namespace algorithms {
48 
52 std::vector<pgr_components_rt>
54 
56 std::vector<pgr_components_rt>
58 
60 std::vector<pgr_components_rt>
62 
66 
70 
71 } // namespace algorithms
72 } // namespace pgrouting
73 
74 #endif // INCLUDE_COMPONENTS_PGR_COMPONENTS_HPP_
pgrouting::algorithms::biconnectedComponents
std::vector< pgr_components_rt > biconnectedComponents(pgrouting::UndirectedGraph &graph)
Biconnected Components.
Definition: pgr_components.cpp:101
pgr_base_graph.hpp
pgrouting::algorithms::articulationPoints
Identifiers< int64_t > articulationPoints(pgrouting::UndirectedGraph &graph)
Articulation Points.
Definition: pgr_components.cpp:126
pgrouting::algorithms::bridges
Identifiers< int64_t > bridges(pgrouting::UndirectedGraph &graph)
Bridges Bridges are closely related to the concept of articulation vertices, vertices that belong to ...
Definition: pgr_components.cpp:162
componentsResult.h
pgrouting::algorithms::pgr_connectedComponents
std::vector< pgr_components_rt > pgr_connectedComponents(pgrouting::UndirectedGraph &graph)
works for undirected graph
Definition: pgr_components.cpp:47
pgrouting::graph::Pgr_base_graph
Definition: pgr_base_graph.hpp:168
pgrouting::algorithms::strongComponents
std::vector< pgr_components_rt > strongComponents(pgrouting::DirectedGraph &graph)
Strongly Connected Components Vertex Version.
Definition: pgr_components.cpp:71
pgrouting
Book keeping class for swapping orders between vehicles.
Definition: pgr_alphaShape.cpp:56
identifiers.hpp
Identifiers< int64_t >