package oasis

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module OASISGraphSource

Sourcetype vertex = int
Sourcemodule SetInt : sig ... end
Sourcetype 'a t = {
  1. mutable vertexes : ('a * SetInt.t ref) array;
  2. values : ('a, int) Hashtbl.t;
}
Sourceval create : int -> 'a t
Sourceval copy : 'a t -> 'a t
Sourceval value_of_vertex : 'a t -> int -> 'a
Sourceval vertex_of_value : 'a t -> 'a -> int
Sourceval add_vertex : 'a t -> 'a -> int
Sourceval add_edge : 'a t -> int -> SetInt.elt -> unit
Sourceval topological_sort : 'a t -> int list
Sourceval fold_edges : (int -> SetInt.elt -> 'a -> 'a) -> 'b t -> 'a -> 'a
Sourceval transitive_closure : 'a t -> unit
OCaml

Innovation. Community. Security.