diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-02-19 15:27:23 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-02-19 15:27:23 +0300 |
commit | 32de07502217879f0d354ec810c8e669f4d45d3c (patch) | |
tree | fafdf8f63d9902e4fd2b45f05902faa5d65df996 /moses/TranslationOption.h | |
parent | 6d4bad0f78ede5bcf7eaaea1de584f42bce8e91f (diff) |
beautify
Diffstat (limited to 'moses/TranslationOption.h')
-rw-r--r-- | moses/TranslationOption.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/moses/TranslationOption.h b/moses/TranslationOption.h index a5effef88..ab84bf8e5 100644 --- a/moses/TranslationOption.h +++ b/moses/TranslationOption.h @@ -75,15 +75,16 @@ protected: _ScoreCacheMap m_lexReorderingScores; public: - struct Better - { - bool operator()(TranslationOption const& a, TranslationOption const& b) const - { return a.GetFutureScore() > b.GetFutureScore(); } - - bool operator()(TranslationOption const* a, TranslationOption const* b) const - { return a->GetFutureScore() > b->GetFutureScore(); } + struct Better { + bool operator()(TranslationOption const& a, TranslationOption const& b) const { + return a.GetFutureScore() > b.GetFutureScore(); + } + + bool operator()(TranslationOption const* a, TranslationOption const* b) const { + return a->GetFutureScore() > b->GetFutureScore(); + } }; - + explicit TranslationOption(); // For initial hypo that does translate nothing |