MCPcopy Create free account
hub / github.com/BirolLab/abyss / remove_edge

Function remove_edge

Graph/UndirectedGraph.h:461–469  ·  view source on GitHub ↗

Remove the edge (u,v) from this graph. */

Source from the content-addressed store, hash-verified

459
460 /** Remove the edge (u,v) from this graph. */
461 void remove_edge(vertex_descriptor u, vertex_descriptor v)
462 {
463 vertices_size_type ui = get(vertex_index, *this, u);
464 assert(ui < num_vertices());
465 vertices_size_type vi = get(vertex_index, *this, v);
466 assert(vi < num_vertices());
467 m_vertices[ui].remove_edge(v);
468 m_vertices[ui].remove_edge(u);
469 }
470
471 /** Remove the edge e from this graph. */
472 void remove_edge(edge_descriptor e)

Callers 1

clear_vertexFunction · 0.70

Calls 3

getFunction · 0.70
num_verticesFunction · 0.70
remove_edgeMethod · 0.45

Tested by

no test coverage detected