]> matita.cs.unibo.it Git - helm.git/commitdiff
Disabled age selection and ad hoc goal weight computation
authordenes <??>
Thu, 16 Jul 2009 11:23:59 +0000 (11:23 +0000)
committerdenes <??>
Thu, 16 Jul 2009 11:23:59 +0000 (11:23 +0000)
helm/software/components/ng_paramodulation/orderings.ml
helm/software/components/ng_paramodulation/paramod.ml

index ba6969aeb143ddaa1df97d72ea3ff61b4c2bcaab..182545b1edda93968fb00915f5a5c01f662da8da 100644 (file)
@@ -96,6 +96,7 @@ let compute_unit_clause_weight (_,l, _, _) =
         weight_of_polynomial (wl+wr) (ml@mr)
 ;;
 
+(* UNUSED for now *)
 let compute_goal_weight (_,l, _, _) = 
     let weight_of_polynomial w m =
       let factor = 2 in      
@@ -112,6 +113,8 @@ let compute_goal_weight (_,l, _, _) =
         let wr = weight_of_polynomial wr mr in
           - (abs (wl-wr))
   ;;
+
+let compute_goal_weight = compute_unit_clause_weight;;
   
 (* Riazanov: 3.1.5 pag 38 *)
 (* Compare weights normalized in a new way :
index f3afc16f46e1047615f089808d648d485623bf34..3491f40196f9a21d8c522d564a49554a1b71be63 100644 (file)
@@ -251,7 +251,7 @@ module Paramod (B : Orderings.Blob) = struct
           end
         else raise (Stop (Timeout (maxvar,bag)));
 
-    let use_age = weight_picks = (iterno / 6 + 1) in
+    let use_age = false && (weight_picks = (iterno / 6 + 1)) in
     let weight_picks = if use_age then 0 else weight_picks+1
     in