summaryrefslogtreecommitdiffstats
path: root/courgette/adjustment_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'courgette/adjustment_method.h')
-rw-r--r--courgette/adjustment_method.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/courgette/adjustment_method.h b/courgette/adjustment_method.h
index 8ca71e8..0ecf04d 100644
--- a/courgette/adjustment_method.h
+++ b/courgette/adjustment_method.h
@@ -16,11 +16,20 @@ class AdjustmentMethod {
// Factory methods for making adjusters.
// Returns the adjustment method used in production.
- static AdjustmentMethod* MakeProductionAdjustmentMethod();
+ static AdjustmentMethod* MakeProductionAdjustmentMethod() {
+ return MakeShingleAdjustmentMethod();
+ }
// Returns and adjustement method that makes no adjustments.
static AdjustmentMethod* MakeNullAdjustmentMethod();
+ // Returns the original adjustment method.
+ static AdjustmentMethod* MakeTrieAdjustmentMethod();
+
+ // Returns the new shingle tiling adjustment method.
+ static AdjustmentMethod* MakeShingleAdjustmentMethod();
+
+ // AdjustmentMethod interface:
// Adjusts |program| to increase similarity to |model|. |program| can be
// changed in any way provided that it still produces the same output when