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: package de.uka.ilkd.key.proof;
09:
10: /**
11: * builds a goal chooser taking care that loops are equally often
12: * unwound across different branches
13: *
14: */
15: public class BalancedGoalChooserBuilder implements GoalChooserBuilder {
16:
17: public static final String NAME = "Balanced Goal Chooser";
18:
19: public BalancedGoalChooserBuilder() {
20: }
21:
22: public IGoalChooser create() {
23: return new BalancedLoopGC();
24: }
25:
26: public GoalChooserBuilder copy() {
27: return new BalancedGoalChooserBuilder();
28: }
29:
30: public String name() {
31: return NAME;
32: }
33:
34: }
|