/// <summary>Creates a shallow clone of the current graph, with the specified edges removed from the graph.</summary> public static Graph operator -(Graph G, List <Tuple <int, int> > EdgeList) { List <Tuple <int, int> > NewEdges = G.EdgList.Where((x) => !EdgeList.Any((y) => ((y.Item1 == x.Item1 & y.Item2 == x.Item2) || (y.Item1 == x.Item2 & y.Item2 == x.Item1)) )).ToList(); return(new Graph(G.Size, NewEdges)); }