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:
authorMichael Denkowski <mdenkows@amazon.com>2015-10-26 18:24:53 +0300
committerMichael Denkowski <mdenkows@amazon.com>2015-10-26 19:42:42 +0300
commitd3f3389f20bb49830b3837370ca96543e4093660 (patch)
treef75bac6d6952b756a115e34cde051a17f8fc4473 /moses/HypothesisStackCubePruning.cpp
parent6a37dfd2ce279e8493e151b505215eb9f21865f9 (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.cpp5
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);
}