Method: RGL::Graph#each_adjacent
- Defined in:
- lib/rgl/base.rb
#each_adjacent(v, &block) ⇒ Object
The each_adjacent iterator defines the out edges of vertex v. This method must be defined by concrete graph classes. Its defines the BGL IncidenceGraph concept.
152 153 154 |
# File 'lib/rgl/base.rb', line 152 def each_adjacent(v, &block) # :yields: v raise NotImplementedError end |