MyGit

backtracking/ocamlgraph

Fork: 63 Star: 223 (更新于 2024-06-02 01:21:32)

license: NOASSERTION

Language: OCaml .

OCaml graph library

最后发布版本: 2.1.0 ( 2023-08-30 16:44:59)

官方网址 GitHub网址

OCamlgraph

OCamlgraph is a graph library for OCaml. Its contribution is three-fold:

  1. It provides an easy-to-use graph implementation together with several operations and algorithms over graphs, in Graph.Pack.Digraph. It is a reasonably efficient imperative data structure for directed graphs with vertices and edges labeled with integers.

    Have a look at this module first in order to get an overview of what this library provides. See also demo.ml.

  2. Then OCamlgraph provides several other graph implementations for those not satisfied with the one above. Some are persistent (immutable) and other imperative (mutable). Some are directed and other are not. Some have labels for vertices, or labels for edges, or both. Some have abstract types for vertices. etc.

    See interface Sig for the graph signatures and modules Persistent and Imperative for the implementations.

    These implementations are written as functors: you give the types of vertices labels, edge labels, etc. and you get the data structure as a result.

  3. Finally, OCamlgraph provides several classic operations and algorithms over graphs. They are also written as functors i.e. independently of the data structure for graphs. One consequence is that you can define your own data structure for graphs and yet re-use all the algorithms from this library -- you only need to provide a few operations such as iterating over all vertices, over the successors of a vertex, etc.

Documentation

https://backtracking.github.io/ocamlgraph/

Examples

You'll find examples of OCamlgraph use in subdirectory examples/ (demo.ml, demo_planar.ml, color.ml, etc.).

Bug reports

https://github.com/backtracking/ocamlgraph/issues

最近版本更新:(数据更新于 2024-05-13 08:07:08)

2023-08-30 16:44:59 2.1.0

2020-10-02 21:49:20 2.0.0

2017-10-17 14:27:05 v1.8.8

2016-04-12 14:43:43 v1.8.7

backtracking/ocamlgraph同语言 OCaml最近更新仓库

2024-05-24 23:13:29 ocaml/dune

2024-05-13 20:27:08 ocaml/ocaml

2024-05-05 21:19:54 ocsigen/js_of_ocaml

2024-04-18 18:07:29 ocaml-ppx/ocamlformat

2024-03-27 04:11:57 mirleft/ocaml-tls

2024-02-29 05:33:05 astrada/google-drive-ocamlfuse