DGtal
1.5.beta
|
#include "DGtalCatch.h"
#include <iostream>
#include <queue>
#include <boost/property_map/property_map.hpp>
#include <boost/pending/queue.hpp>
#include "DGtal/base/Common.h"
#include "DGtal/graph/ObjectBoostGraphInterface.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/topology/Object.h"
#include "DGtal/topology/DigitalTopology.h"
#include "DGtal/topology/SurfelAdjacency.h"
#include <boost/graph/graph_concepts.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/copy.hpp>
#include <boost/graph/breadth_first_search.hpp>
#include <boost/graph/connected_components.hpp>
#include <boost/graph/stoer_wagner_min_cut.hpp>
#include <boost/graph/boykov_kolmogorov_max_flow.hpp>
#include <boost/graph/filtered_graph.hpp>
Go to the source code of this file.
Typedefs | |
using | VertexProperties = boost::property< boost::vertex_index_t, std::size_t, boost::property< vertex_position_t, vertex_position > > |
Functions | |
TEST_CASE_METHOD (Fixture_object_diamond_with_hole, "Basic Graph functions", "[interface]") | |
TEST_CASE_METHOD (Fixture_object_diamond_with_hole, "Boost Graph Concepts", "[concepts]") | |
TEST_CASE_METHOD (Fixture_object_diamond_with_hole, "Breadth first visit and search", "[breadth]") | |
TEST_CASE_METHOD (Fixture_object_diamond_with_hole, "Connected Components", "[connected]") | |
TEST_CASE_METHOD (Fixture_object_diamond_with_hole, "Copy graph", "[copy]") | |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Functions for testing class ObjectBoostGraphInterface.
This file is part of the DGtal library.
Definition in file testObjectBoostGraphInterface.cpp.
using VertexProperties = boost::property< boost::vertex_index_t, std::size_t, boost::property<vertex_position_t, vertex_position> > |
Definition at line 121 of file testObjectBoostGraphInterface.cpp.
TEST_CASE_METHOD | ( | Fixture_object_diamond_with_hole | , |
"Basic Graph functions" | , | ||
"" | [interface] | ||
) |
Definition at line 160 of file testObjectBoostGraphInterface.cpp.
References boost::adjacent_vertices(), boost::edges(), GIVEN(), boost::num_edges(), boost::num_vertices(), boost::out_degree(), boost::out_edges(), REQUIRE(), and boost::vertices().
TEST_CASE_METHOD | ( | Fixture_object_diamond_with_hole | , |
"Boost Graph Concepts" | , | ||
"" | [concepts] | ||
) |
Definition at line 212 of file testObjectBoostGraphInterface.cpp.
References GIVEN().
TEST_CASE_METHOD | ( | Fixture_object_diamond_with_hole | , |
"Breadth first visit and search" | , | ||
"" | [breadth] | ||
) |
Definition at line 227 of file testObjectBoostGraphInterface.cpp.
References DGtal::Trace::beginBlock(), boost::edges(), DGtal::Trace::endBlock(), GIVEN(), DGtal::Trace::info(), boost::out_edges(), REQUIRE(), boost::source(), boost::target(), DGtal::trace, and boost::vertices().
TEST_CASE_METHOD | ( | Fixture_object_diamond_with_hole | , |
"Connected Components" | , | ||
"" | [connected] | ||
) |
Definition at line 432 of file testObjectBoostGraphInterface.cpp.
References GIVEN(), and boost::vertices().
TEST_CASE_METHOD | ( | Fixture_object_diamond_with_hole | , |
"Copy graph" | , | ||
"" | [copy] | ||
) |
Definition at line 502 of file testObjectBoostGraphInterface.cpp.
References GIVEN(), boost::num_vertices(), and boost::vertices().