num::structures::is_connected¶ Defined in header <structures/algorithms/traversal.hpp> template <typename Weight, std::integral Index> bool is_connected(const graph<Weight, Index> &G); Check if graph is connected.