num::structures::complete_graph¶
Defined in header <structures/graph/generators.hpp>
template <typename Weight = double, std::integral Index = num::idx>
graph<Weight, Index> complete_graph(std::type_identity_t<Index> n,
Weight weight = Weight{1});
Generate an undirected complete graph K_n.