Method: RGL::MutableGraph#remove_edge
- Defined in:
- lib/rgl/mutable.rb
#remove_edge(u, v) ⇒ Object
Remove the edge (u,v) from the graph. If the graph allows parallel edges, this removes all occurrences of (u,v).
Precondition: u and v are vertices in the graph. Postcondition: (u,v) is no longer in the edge set for g.
63 64 65 |
# File 'lib/rgl/mutable.rb', line 63 def remove_edge(u, v) raise NotImplementedError end |