X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fata.mli;h=8a1119ec5d5d62d164d97813bf58f001029ef184;hp=e2bf7e313243faa0308c239a750d779b9552630d;hb=acd23a33d837d03c813212ec3896a86edef16e87;hpb=e8132686a926c6be4599c7c2496d8e6a5b42a243 diff --git a/src/ata.mli b/src/ata.mli index e2bf7e3..8a1119e 100644 --- a/src/ata.mli +++ b/src/ata.mli @@ -14,7 +14,7 @@ (***********************************************************************) (* - Time-stamp: + Time-stamp: *) type predicate = @@ -66,13 +66,27 @@ module TransList : sig end +type node_summary = private int +val node_summary : bool -> bool -> bool -> bool -> Tree.NodeKind.t -> node_summary +val dummy_summary : node_summary +type config = { + sat : StateSet.t; + unsat : StateSet.t; + todo : TransList.t; + summary : node_summary; + mutable round : int; +} + +module Config : Hcons.S with type data = config + + type t = private { id : Uid.t; mutable states : StateSet.t; mutable selection_states: StateSet.t; transitions: (State.t, (QNameSet.t*SFormula.t) list) Hashtbl.t; mutable cache2 : TransList.t Cache.N2.t; - mutable cache6 : (TransList.t*StateSet.t) Cache.N6.t; + mutable cache4 : Config.t Cache.N4.t; } @@ -81,17 +95,6 @@ val create : StateSet.t -> StateSet.t -> t val reset : t -> unit val get_trans : t -> QNameSet.elt -> StateSet.t -> TransList.t -type node_summary = private int -val node_summary : bool -> bool -> bool -> bool -> Tree.NodeKind.t -> node_summary -val dummy_summary : node_summary -type config = { - sat : StateSet.t; - unsat : StateSet.t; - todo : TransList.t; - summary : node_summary; -} - -module Config : Hcons.S with type data = config val eval_trans : t -> Config.t -> Config.t -> Config.t -> Config.t -> Config.t