deletes all the arcs or edges between a set of nodes
g1 = delete_arcs(ij,g)
matrix of integers (number of nodes)
graph list
graph list of the new graph without the arcs or edges defined by ij
If g
is a directed graph,
delete_arcs
returns the graph g1
with the arcs defined
by matrix ij
being deleted.
ij
must be a n x 2 matrix of node numbers: the n arcs to be
deleted are defined by couples of nodes (ij(i,1)
, ij(i,2)
).
If g
is an undirected graph, the edges corresponding to matrix ij
are deleted.