Method: RGL::MutableGraph#remove_vertex
- Defined in:
- lib/rgl/mutable.rb
#remove_vertex(v) ⇒ Object
Remove u from the vertex set of the graph. All edges whose target is v are also removed from the edge set of the graph.
Postcondition: num_vertices is one less, v no longer appears in the vertex set of the graph, and there no edge with source or target v.
53 54 55 |
# File 'lib/rgl/mutable.rb', line 53 def remove_vertex(v) raise NotImplementedError end |