package TCSLib

  1. Overview
  2. Docs
type 'a node
type 'a nodes = 'a node Tcsset.TreeSet.t
type 'a digraph
val compare_node : 'a node -> 'a node -> int
val equal_node : 'a node -> 'a node -> bool
val empty_nodes : unit -> 'a nodes
val create : unit -> 'a digraph
val node_count : 'a digraph -> int
val edge_count : 'a digraph -> int
val add_node : 'a digraph -> 'a -> 'a node
val add_empty_node : 'a digraph -> 'a node
val del_node : 'a digraph -> 'a node -> unit
val add_edge : 'a digraph -> 'a node -> 'a node -> unit
val del_edge : 'a digraph -> 'a node -> 'a node -> unit
val get_content : 'a node -> 'a
val set_content : 'a node -> 'a -> unit
val get_fwd_edges : 'a node -> 'a nodes
val get_bwd_edges : 'a node -> 'a nodes
val get_nodes : 'a digraph -> 'a nodes
OCaml

Innovation. Community. Security.