Parameters
Signature
val choose_vertex : G.t -> G.vertexchoose_vertex g returns a vertex from the graph.
- raises Invalid_argument
if the graph is empty.
val choose_edge : G.t -> G.edgechoose_edge g returns an edge from the graph.
- raises Invalid_argument
if the graph has no edge.