lib/mlrisc-lib/MLRISC/graphs/graph-comb.sig
raw| 1 | (* |
| 2 | * This module implements some combinators that joins two graphs |
| 3 | * into a single view. |
| 4 | * |
| 5 | *) |
| 6 | |
| 7 | signature GRAPH_COMBINATIONS = |
| 8 | sig |
| 9 | |
| 10 | (* disjoint union *) |
| 11 | val sum : ('n,'e,'g) Graph.graph * ('n,'e,'g) Graph.graph -> |
| 12 | ('n,'e,'g) Graph.graph |
| 13 | val union : ('n,'e,'g) Graph.graph list -> ('n,'e,'g) Graph.graph |
| 14 | val sums : ('n,'e,'g) Graph.graph list -> ('n,'e,'g) Graph.graph |
| 15 | |
| 16 | end |
| 17 |