Skip to content

num::structures::debug::check_connected

Defined in header <structures/debug.hpp>

template <std::integral Index>
void check_connected(Index n_components, std::string_view label = "graph",
                     std::source_location loc = std::source_location::current());

Verify graph connectivity invariant (1 connected component).