package GuaCaml

  1. Overview
  2. Docs
type graph = {
  1. nodes : int list;
  2. edges : bool Matrix.matrix;
}
val la_of_aa : graph -> GraphLA.graph
val aa_of_la : GraphLA.graph -> graph
val make : int -> bool -> graph
val set : graph -> (int * int) -> unit
val get : graph -> (int * int) -> bool
val closure : graph -> graph
type !'a o3graph = {
  1. dump : 'a -> int;
  2. load : int -> 'a;
  3. graph : graph;
}
val o3make : ('a -> int) -> (int -> 'a) -> int -> bool -> 'a o3graph
val o3set : 'a o3graph -> ('a * 'a) -> unit
val o3get : 'a o3graph -> ('a * 'a) -> bool
val o3get_bidir : 'a o3graph -> ('a * 'a) -> bool
val o3closure : 'a o3graph -> 'a o3graph
OCaml

Innovation. Community. Security.