diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-23 05:07:05 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-23 05:07:05 +0400 |
commit | b1ca36387f419dae004505e04e93f7b6f896938d (patch) | |
tree | 6b40724a71c04eb5b710d88b908157955bb30439 /mert/PermutationScorer.cpp | |
parent | 7d19fe13ae613d07c3690f6849ce811726ce1169 (diff) |
mert now compiles with PermScorer. However, didn't implement score() - assert(false). Update Jamfile
Diffstat (limited to 'mert/PermutationScorer.cpp')
-rw-r--r-- | mert/PermutationScorer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mert/PermutationScorer.cpp b/mert/PermutationScorer.cpp index 0dfe7eba5..a7dc21484 100644 --- a/mert/PermutationScorer.cpp +++ b/mert/PermutationScorer.cpp @@ -1,3 +1,4 @@ +#include <cassert> #include "PermutationScorer.h" using namespace std; @@ -205,6 +206,12 @@ void PermutationScorer::prepareStats(size_t sid, const string& text, ScoreStats& //cout << tempStream.str(); } +void PermutationScorer::score(const candidates_t& candidates, const diffs_t& diffs, + statscores_t& scores) const +{ + assert(false); +} + //Will just be final score statscore_t PermutationScorer::calculateScore(const vector<statscore_t>& comps) { |