Designing a Generic Graph Library Using ML Functors.
Sylvain Conchon, Jean-Christophe Filliâtre, Julien Signoles · Trends in Functional Programming · 2007
This paper details the design and implementation of OCAMLGRAPH, a highly generic graph library for the programming language OCAML. This library features a large set of graph data structures—directed or undirected, with or without labels on vertices and edges, as persistent or mutable data structures, etc.—and a large set of graph algorithms. Algorithms are written independently from graph data structures, which allows combining user data structure (resp. algorithm) with OCAMLGRAPH algorithm (resp. data structure). Genericity is obtained through massive use of the OCAML module system and its functions, the so-called functors.
Cited by 25 works.
Authors
References
- Maximal Flow Through a Network
- LEDA: a platform for combinatorial and geometric computing
- Advanced C++ Programming Styles and Idioms
- Purely Functional Data Structures
- EFFICIENT GRAPH ALGORITHMS FOR SEQUENTIAL AND PARALLEL COMPUTERS
- A modular module system
- Inductive graphs and functional graph algorithms
- ADVANCED C++ PROGRAMMING
- Modular type classes
- ML Module Mania: A Type-Safe, Separately Compiled, Extensible Interpreter