X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fparamodulation%2Fsaturate_main.ml;fp=helm%2Focaml%2Fparamodulation%2Fsaturate_main.ml;h=bf9ec689726298a62fafbf366edc36e5f9be62e5;hb=c3af85c9492385a7a0de0f5aa57df241ee0bd553;hp=1870a5137127ea975abcef23b28cd899d9f60318;hpb=28ac70d3f475442cda4ef30e0e9c0e6d012b2527;p=helm.git diff --git a/helm/ocaml/paramodulation/saturate_main.ml b/helm/ocaml/paramodulation/saturate_main.ml index 1870a5137..bf9ec6897 100644 --- a/helm/ocaml/paramodulation/saturate_main.ml +++ b/helm/ocaml/paramodulation/saturate_main.ml @@ -1,6 +1,6 @@ -let configuration_file = ref "../../matita/matita.conf.xml";; +let configuration_file = ref "../helm/matita/matita.conf.xml";; -let core_notation_script = "../../matita/core_notation.moo";; +let core_notation_script = "../helm/matita/core_notation.moo";; let get_from_user ~(dbd:HMysql.dbd) = let rec get () = @@ -28,6 +28,8 @@ let _ = | o -> raise (Arg.Bad ("Unknown term ordering: " ^ o)) and set_fullred b = S.use_fullred := b and set_time_limit v = S.time_limit := float_of_int v + and set_width w = S.maxwidth := w + and set_depth d = S.maxdepth := d in Arg.parse [ "-f", Arg.Bool set_fullred, @@ -47,11 +49,17 @@ let _ = "\tlpo: Lexicographic path ordering"; "-l", Arg.Int set_time_limit, "Time limit in seconds (default: no limit)"; + + "-w", Arg.Int set_width, + Printf.sprintf "Maximal width (default: %d)" !Saturation.maxwidth; + + "-d", Arg.Int set_depth, + Printf.sprintf "Maximal depth (default: %d)" !Saturation.maxdepth; ] (fun a -> ()) "Usage:" in Helm_registry.load_from !configuration_file; CicNotation.load_notation core_notation_script; -CicNotation.load_notation "../../matita/coq.moo"; +CicNotation.load_notation "../helm/matita/coq.ma"; let dbd = HMysql.quick_connect ~host:(Helm_registry.get "db.host") ~user:(Helm_registry.get "db.user")