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.strategy;
12:
13: import de.uka.ilkd.key.proof.Goal;
14: import de.uka.ilkd.key.rule.RuleApp;
15:
16: /**
17: * Generic interface for evaluating the cost of
18: * a RuleApp with regard to a specific feature
19: * (like term size, ...)
20: */
21: public interface RuleAppFeature {
22:
23: /**
24: * Evaluate the cost of a RuleApp.
25: */
26: public long cost(RuleApp app, Goal goal);
27:
28: }
|