]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_paramodulation/paramod.mli
First compiling version
[helm.git] / helm / software / components / ng_paramodulation / paramod.mli
index 2664494993095eac6ea96f1464638ffd51930a7a..8376b256ba6adf614c498f9964ee50de4fb46f3d 100644 (file)
 
 (* $Id: orderings.ml 9869 2009-06-11 22:52:38Z denes $ *)
 
-module Paramod ( B : Terms.Blob ) : 
+module type Paramod =
   sig
-    type bag = B.t Terms.bag * int
-    val mk_passive : bag -> B.t * B.t -> bag * B.t Terms.unit_clause
-    val mk_goal : bag -> B.t * B.t -> bag * B.t Terms.unit_clause
+    type t
+    type input
+    type szsontology = 
+      | Unsatisfiable of (t Terms.bag * int * int list) list
+      | GaveUp 
+      | Error of string 
+      | Timeout of int * t Terms.bag
+    type bag = t Terms.bag * int
+    val mk_passive : bag -> input * input -> bag * t Terms.clause
+    val mk_goal : bag -> input * input -> bag * t Terms.clause
     val paramod : 
-      bag -> g_passives:B.t Terms.unit_clause list -> 
-      passives:B.t Terms.unit_clause list ->
-       (B.t Terms.bag * int * int list) list
+      useage:bool ->
+      max_steps:int ->
+      ?timeout:float ->
+      bag -> 
+      g_passives:t Terms.clause list -> 
+      passives:t Terms.clause list -> szsontology
   end
+
+module Paramod ( B : Orderings.Blob ) : Paramod
+with type t = B.t and type input = B.input