X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Frun.mli;h=c67f2d13ae7690368d280cc50bc33f6c50b3ac59;hp=705b44f1ac5af0a7b65b044fc39311540693dbfb;hb=84751fead39221a8e01d20a4692faf0b63a7c996;hpb=b73ad7605777c49c65673e34f6f9ee635053db13 diff --git a/src/run.mli b/src/run.mli index 705b44f..c67f2d1 100644 --- a/src/run.mli +++ b/src/run.mli @@ -23,9 +23,12 @@ type stats = private { mutable pass : int; mutable nodes_per_run : int list; } -module Make (T : Tree.S) (L : Deque.S with type elem = T.node) : - sig - val eval : Ata.t -> T.t -> L.t -> L.t - val full_eval : Ata.t -> T.t -> L.t -> (State.t * L.t) list - val stats : unit -> stats - end +module Make (T : Tree.S) : +sig + module Tree : Tree.S with type node = T.node + module ResultSet : Deque.S with type elem = Tree.node + + val eval : Ata.t -> Tree.t -> ResultSet.t -> ResultSet.t + val full_eval : Ata.t -> Tree.t -> ResultSet.t -> (State.t * ResultSet.t) list + val stats : unit -> stats +end