01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: //
09: //
10:
11: package de.uka.ilkd.key.logic;
12:
13: /**
14: * Interface for term ordering
15: */
16: public interface TermOrdering {
17:
18: /**
19: * Compare the two given terms
20: * @return a number negative, zero or a number positive if
21: * <code>p_a</code> is less than, equal, or greater than
22: * <code>p_b</code> regarding the ordering given by the
23: * implementing class
24: */
25: int compare(Term p_a, Term p_b);
26:
27: }
|