Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Madl <git@abanbytes.eu>2015-11-13 15:45:47 +0300
committerDavid Madl <git@abanbytes.eu>2015-11-17 19:15:13 +0300
commit73ab44c1266bcc076da890993ee4240e2eaf711f (patch)
tree9d060cf4f925ab5c452b7a240b6c31eb38e1534d /moses/Hypothesis.h
parentb1ea3d624b638b4b6caf25099f4e1f44f33dae8c (diff)
Hypothesis: get rid of calls into Manager from constructor
Diffstat (limited to 'moses/Hypothesis.h')
-rw-r--r--moses/Hypothesis.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/Hypothesis.h b/moses/Hypothesis.h
index 533ffcc80..e5b8f5bdc 100644
--- a/moses/Hypothesis.h
+++ b/moses/Hypothesis.h
@@ -86,9 +86,9 @@ protected:
public:
/*! used by initial seeding of the translation process */
- Hypothesis(Manager& manager, InputType const& source, const TranslationOption &initialTransOpt, const Bitmap &bitmap);
+ Hypothesis(Manager& manager, InputType const& source, const TranslationOption &initialTransOpt, const Bitmap &bitmap, int id);
/*! used when creating a new hypothesis using a translation option (phrase translation) */
- Hypothesis(const Hypothesis &prevHypo, const TranslationOption &transOpt, const Bitmap &bitmap);
+ Hypothesis(const Hypothesis &prevHypo, const TranslationOption &transOpt, const Bitmap &bitmap, int id);
~Hypothesis();
void PrintHypothesis() const;