Debian Codegraph @

lib/mlrisc-lib/MLRISC/graphs/trans-reduction.sml

raw
1 (*
2 * Compute the (in place) transitive reduction of a graph.
3 *
4 * -- Allen
5 *)
6
7 signature TRANSITIVE_REDUCTION =
8 sig
9 val transitive_reduction : ('n,'e,'g) Graph.graph -> unit
10 end
11
12 structure TransitiveReduction : TRANSITIVE_REDUCTION =
13 struct
14 structure G = Graph
15 fun transitive_reduction (G.GRAPH G) =
16 let
17 in
18 end
19
20 end
21