Skip to content

num::structures::to_multigraph

Defined in header <structures/graph/multigraph.hpp>

template <typename Weight, std::integral Index>
multigraph<Weight, Index> to_multigraph(const graph<Weight, Index> &G);

Convert a graph to a multigraph.