Returns an iterator over the vertices of this graph.

var g = new HashDigraph[Int]
g.add_arc(0, 1)
g.add_arc(0, 2)
g.add_arc(1, 2)
var vs = new HashSet[Int]
for v in g.vertices_iterator do vs.add(v)
assert vs == new HashSet[Int].from([0,1,2])

Property definitions

graph $ Digraph :: vertices_iterator
	# Returns an iterator over the vertices of this graph.
	#
	# ~~~
	# var g = new HashDigraph[Int]
	# g.add_arc(0, 1)
	# g.add_arc(0, 2)
	# g.add_arc(1, 2)
	# var vs = new HashSet[Int]
	# for v in g.vertices_iterator do vs.add(v)
	# assert vs == new HashSet[Int].from([0,1,2])
	# ~~~
	fun vertices_iterator: Iterator[V] is abstract
lib/graph/digraph.nit:230,2--241,47

graph $ HashDigraph :: vertices_iterator
	redef fun vertices_iterator: Iterator[V] do return outgoing_vertices_map.keys.iterator
lib/graph/digraph.nit:1021,2--87