39# ifndef TPL_TEST_CONNECTIVITY_H
40# define TPL_TEST_CONNECTIVITY_H
66 template <
class GT,
class SA = Dft_Show_Arc<GT> >
85 <<
"test_connectivity() does not work on digraphs";
109 <<
"test_connectivity() does not work on digraphs";
Exception handling system with formatted messages for Aleph-w.
#define ah_domain_error_if(C)
Throws std::domain_error if condition holds.
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
Determines if a graph g is connected.
bool operator()(GT &g, SA &&sa=SA()) const
Invokes the connectivity test.
DynList< T > maps(const C &c, Op op)
Classic map operation.
Utility algorithms and operations for graphs.