]> matita.cs.unibo.it Git - helm.git/blobdiff - matitaB/components/ng_paramodulation/paramod.ml
1) removed many debug prints
[helm.git] / matitaB / components / ng_paramodulation / paramod.ml
index 33f802f7f036caf9152d65de93a4c3cabce55842..83845673b3142cf1805323034983fc316bf957c1 100644 (file)
@@ -30,6 +30,7 @@ module type Paramod =
     type bag = t Terms.bag * int
     type state
     val empty_state : state
+    val size_of_state : state -> int*int
     val bag_of_state : state -> bag
     val replace_bag: state -> bag -> state
     val mk_passive : bag -> input * input -> bag * t Terms.unit_clause
@@ -336,6 +337,8 @@ module Paramod (B : Orderings.Blob) = struct
     add_passive_goals g_passives new_goals
   ;;
 
+  let size_of_state (_,_,(a,_),p,_,_) = List.length a, passive_set_cardinal p;;
+
   let debug_status (_,_,actives,passives,g_actives,g_passives) =
     lazy
       ((Printf.sprintf "Number of active goals : %d\n"