package oasis

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type vertex = int
module SetInt : sig ... end
type 'a t = {
  1. mutable vertexes : ('a * SetInt.t ref) array;
  2. values : ('a, int) Hashtbl.t;
}
val create : int -> 'a t
val copy : 'a t -> 'b t
val value_of_vertex : 'a t -> int -> 'b
val vertex_of_value : 'a t -> 'b -> int
val add_vertex : 'a t -> 'b -> int
val add_edge : 'a t -> int -> SetInt.elt -> unit
val topological_sort : 'a t -> int list
val fold_edges : (int -> SetInt.elt -> 'a -> 'b) -> 'c t -> 'd -> 'e
val transitive_closure : 'a t -> unit
OCaml

Innovation. Community. Security.