remove_parallel_edges

remove_parallel_edges#

graph_tool.generation.remove_parallel_edges(g)[source]#

Remove all parallel edges from the graph. Only one edge from each parallel edge set is left.

Parallel implementation.

If enabled during compilation, this algorithm will run in parallel using OpenMP. See the parallel algorithms section for information about how to control several aspects of parallelization.