removeMultiArcs
function go through the arcs
list of a given graph and check if there are more than one
arc between two nodes. If exist more than one, the function
keeps one with minimum cost and remove the others.
removeMultiArcs(arcs, directed = TRUE)
TRUE
) or not (FALSE
).removeMultiArcs
returns a new list of arcs without
any of the multi-arcs founded.