X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fata.ml;h=9fe128ae92a27b9b6883ae46bb5205e8b50994f3;hp=6a3570c3493e59036c88be0174d41306e1fc878a;hb=556c8805fcfd27f485bdd63cd704e4df7eac8a06;hpb=b36e4b15dcfe069fcbdb535520c505f89d922837 diff --git a/src/ata.ml b/src/ata.ml index 6a3570c..9fe128a 100644 --- a/src/ata.ml +++ b/src/ata.ml @@ -14,7 +14,7 @@ (***********************************************************************) (* - Time-stamp: + Time-stamp: *) INCLUDE "utils.ml" @@ -199,6 +199,7 @@ type config = { unsat : StateSet.t; todo : TransList.t; summary : node_summary; + mutable round : int; } module Config = Hcons.Make(struct @@ -238,7 +239,8 @@ let dummy2 = TransList.cons let dummy_config = Config.make { sat = StateSet.empty; unsat = StateSet.empty; todo = TransList.nil; - summary = dummy_summary + summary = dummy_summary; + round = 0 } @@ -377,7 +379,6 @@ let simplify_atom atom pos q { Config.node=config; _ } = || ((not pos) && StateSet.mem q config.sat) then SFormula.false_ else atom - let eval_form phi fcs nss ps ss summary = let rec loop phi = begin match SFormula.expr phi with @@ -441,7 +442,7 @@ let eval_trans auto fcs nss ps ss = let unsat = StateSet.union unsat (StateSet.diff removed kept) in (* States that were found once to be satisfiable remain so *) let unsat = StateSet.diff unsat sat in - let new_config = Config.make { sat; unsat; todo ; summary = old_summary } in + let new_config = Config.make { sat; unsat; todo ; summary = old_summary ; round = 0 } in Cache.N4.add auto.cache4 oid fcsid nssid psid new_config; new_config in