| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "courgette/adjustment_method.h" | 5 #include "courgette/adjustment_method.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| 11 #include <set> | 11 #include <set> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
| 16 #include "base/format_macros.h" | 16 #include "base/format_macros.h" |
| 17 #include "base/logging.h" | 17 #include "base/logging.h" |
| 18 #include "base/strings/stringprintf.h" | 18 #include "base/strings/stringprintf.h" |
| 19 #include "base/time.h" | 19 #include "base/time/time.h" |
| 20 #include "courgette/assembly_program.h" | 20 #include "courgette/assembly_program.h" |
| 21 #include "courgette/courgette.h" | 21 #include "courgette/courgette.h" |
| 22 #include "courgette/encoded_program.h" | 22 #include "courgette/encoded_program.h" |
| 23 | 23 |
| 24 /* | 24 /* |
| 25 | 25 |
| 26 Shingle weighting matching. | 26 Shingle weighting matching. |
| 27 | 27 |
| 28 We have a sequence S1 of symbols from alphabet A1={A,B,C,...} called the 'model' | 28 We have a sequence S1 of symbols from alphabet A1={A,B,C,...} called the 'model' |
| 29 and a second sequence of S2 of symbols from alphabet A2={U,V,W,....} called the | 29 and a second sequence of S2 of symbols from alphabet A2={U,V,W,....} called the |
| (...skipping 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1290 | 1290 |
| 1291 //////////////////////////////////////////////////////////////////////////////// | 1291 //////////////////////////////////////////////////////////////////////////////// |
| 1292 | 1292 |
| 1293 } // namespace adjustment_method_2 | 1293 } // namespace adjustment_method_2 |
| 1294 | 1294 |
| 1295 AdjustmentMethod* AdjustmentMethod::MakeShingleAdjustmentMethod() { | 1295 AdjustmentMethod* AdjustmentMethod::MakeShingleAdjustmentMethod() { |
| 1296 return new adjustment_method_2::Adjuster(); | 1296 return new adjustment_method_2::Adjuster(); |
| 1297 } | 1297 } |
| 1298 | 1298 |
| 1299 } // namespace courgette | 1299 } // namespace courgette |
| OLD | NEW |