Oper.NeighbourhoodNeighbourhood of vertex / vertices
module G : sig ... endmodule Vertex_Set : Set.S with type elt = G.V.tThe neighbourhood of a vertex v is { v' | (succ g v) and (v <> v') }
val set_from_vertex : G.t -> G.V.t -> Vertex_Set.tNeighbourhood of a vertex as a set. Less efficient that list_from_vertex.
The neighbourhood of a set S of vertices is U \ S where U is the union of neighbourhoods of each vertex of S.
Neighbourhood of a list of vertices as a list.
val set_from_vertices : G.t -> G.V.t list -> Vertex_Set.tNeighbourhood of a list of vertices as a set. More efficient that list_from_vertices.