]> matita.cs.unibo.it Git - helm.git/blob - helm/software/components/ng_paramodulation/orderings.mli
Preparing for 0.5.9 release.
[helm.git] / helm / software / components / ng_paramodulation / orderings.mli
1 (*
2     ||M||  This file is part of HELM, an Hypertextual, Electronic        
3     ||A||  Library of Mathematics, developed at the Computer Science     
4     ||T||  Department, University of Bologna, Italy.                     
5     ||I||                                                                
6     ||T||  HELM is free software; you can redistribute it and/or         
7     ||A||  modify it under the terms of the GNU General Public License   
8     \   /  version 2 or (at your option) any later version.      
9      \ /   This software is distributed as is, NO WARRANTY.     
10       V_______________________________________________________________ *)
11
12 (* $Id: nCic.ml 9058 2008-10-13 17:42:30Z tassi $ *)
13
14 module type Blob =
15   sig 
16     include Terms.Blob 
17
18     (* This order relation should be:
19      * - stable for instantiation
20      * - total on ground terms
21      *
22      *)
23     val compare_terms : 
24           t Terms.foterm -> t Terms.foterm -> Terms.comparison
25
26     (* these could be outside the module, but to ease experimentation
27      * we allow them to be tied with the ordering *)
28     val compute_unit_clause_weight : 't Terms.unit_clause -> int
29     val compute_goal_weight : 't Terms.unit_clause -> int
30
31     val name : string
32
33   end
34
35 module NRKBO (B : Terms.Blob) : Blob 
36 with type t = B.t and type input = B.input
37
38 module KBO (B : Terms.Blob) : Blob 
39 with type t = B.t and type input = B.input
40
41 module LPO (B : Terms.Blob) : Blob 
42 with type t = B.t and type input = B.input