abstract class CGL::GraphSourceIterator(V)

Included Modules

Direct Known Subclasses

Defined in:

cgl/traversal/iterators.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(graph : AnyGraph(V), start : V, *, colors : Hash(V, Color) | Nil = nil) #

[View source]

Instance Method Detail

def has_next? #

[View source]
def next #
Description copied from module Iterator(V)

Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.


[View source]