package containers

  1. Overview
  2. Docs
A modular, clean and powerful extension of the OCaml standard library

Install

Dune Dependency

Authors

Maintainers

Sources

v2.8.tar.gz
md5=03b80e963186e91ddac62ef645bf7fb2
sha512=c8f434808be540c16926bf03d89f394d33fc2d092f963a7b6d412481229e0a96290f1ad7c7d522415115d35426b7aa0b3fda4b991ddc321dad279d402c9a0c0b

doc/containers.data/CCGraph/module-type-MAP/index.html

Module type CCGraph.MAPSource

Sourcetype vertex
Sourcetype 'a t
Sourceval as_graph : 'a t -> (vertex, 'a) graph

Graph view of the map.

Sourceval empty : 'a t
Sourceval add_edge : vertex -> 'a -> vertex -> 'a t -> 'a t
Sourceval remove_edge : vertex -> vertex -> 'a t -> 'a t
Sourceval add : vertex -> 'a t -> 'a t

Add a vertex, possibly with no outgoing edge.

Sourceval remove : vertex -> 'a t -> 'a t

Remove the vertex and all its outgoing edges. Edges that point to the vertex are NOT removed, they must be manually removed with remove_edge.

Sourceval union : 'a t -> 'a t -> 'a t
Sourceval vertices : _ t -> vertex iter
Sourceval vertices_l : _ t -> vertex list
Sourceval of_list : (vertex * 'a * vertex) list -> 'a t
Sourceval add_list : (vertex * 'a * vertex) list -> 'a t -> 'a t
Sourceval to_list : 'a t -> (vertex * 'a * vertex) list
Sourceval of_iter : (vertex * 'a * vertex) iter -> 'a t
  • since 2.8
Sourceval add_iter : (vertex * 'a * vertex) iter -> 'a t -> 'a t
  • since 2.8
Sourceval to_iter : 'a t -> (vertex * 'a * vertex) iter
  • since 2.8
Sourceval of_seq : (vertex * 'a * vertex) iter -> 'a t
Sourceval add_seq : (vertex * 'a * vertex) iter -> 'a t -> 'a t
Sourceval to_seq : 'a t -> (vertex * 'a * vertex) iter
OCaml

Innovation. Community. Security.