diff options
author | Michael Denkowski <mdenkows@amazon.com> | 2015-10-26 18:24:53 +0300 |
---|---|---|
committer | Michael Denkowski <mdenkows@amazon.com> | 2015-10-26 19:42:42 +0300 |
commit | d3f3389f20bb49830b3837370ca96543e4093660 (patch) | |
tree | f75bac6d6952b756a115e34cde051a17f8fc4473 /moses/HypothesisStackCubePruning.cpp | |
parent | 6a37dfd2ce279e8493e151b505215eb9f21865f9 (diff) |
More deterministic tie-breaking for cube pruning (--cbds)
Doesn't slow down regular non-deterministic cube pruning
Diffstat (limited to 'moses/HypothesisStackCubePruning.cpp')
-rw-r--r-- | moses/HypothesisStackCubePruning.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/HypothesisStackCubePruning.cpp b/moses/HypothesisStackCubePruning.cpp index 32dd99d31..a460a3f0b 100644 --- a/moses/HypothesisStackCubePruning.cpp +++ b/moses/HypothesisStackCubePruning.cpp @@ -259,8 +259,9 @@ void HypothesisStackCubePruning::SetBitmapAccessor(const Bitmap &newBitmap BackwardsEdge *edge = new BackwardsEdge(bitmapContainer , *bmContainer , transOptList - , futureScore, - m_manager.GetSource()); + , futureScore + , m_manager.GetSource() + , m_deterministic); bmContainer->AddBackwardsEdge(edge); } |