39# ifndef TPL_TEST_CONNECTIVITY_H
40# define TPL_TEST_CONNECTIVITY_H
68 template <AlephGraph GT, ArcFilter<GT> SA = Dft_Show_Arc<GT> >
87 <<
"test_connectivity() does not work on digraphs";
92 Depth_First_Traversal <GT, Default_Visit_Op<GT>, SA> traversal(sa);
111 <<
"test_connectivity() does not work on digraphs";
116 Depth_First_Traversal <GT, Default_Visit_Op<GT>, SA> traversal(sa);
Exception handling system with formatted messages for Aleph-w.
#define ah_domain_error_if(C)
Throws std::domain_error if condition holds.
C++20 concepts for the protocol shared by graph algorithms.
constexpr size_t get_num_nodes() const noexcept
Return the total of nodes of graph.
bool is_digraph() const noexcept
Return true if the graph this is directed.
constexpr size_t get_num_arcs() const noexcept
Return the number of arcs of the graph.
Determines if a graph g is connected.
bool operator()(GT &g, SA &&sa=SA()) const
Invokes the connectivity test.
Utility algorithms and operations for graphs.