diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-12-05 17:06:35 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-12-05 17:06:35 +0400 |
commit | b33cf30bc10632193dee7ff913422c5be295b4dd (patch) | |
tree | b48be6a2da8c26ac025a721c8a0d9c5b34be683c /moses/DecodeGraph.cpp | |
parent | 19aa8c1056b6fa34570430b9a8a58b9ec58e41ab (diff) |
transliteration pt obery backoff argument. Probably not threadable yet
Diffstat (limited to 'moses/DecodeGraph.cpp')
-rw-r--r-- | moses/DecodeGraph.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/moses/DecodeGraph.cpp b/moses/DecodeGraph.cpp index 107258d56..c687c8d21 100644 --- a/moses/DecodeGraph.cpp +++ b/moses/DecodeGraph.cpp @@ -32,5 +32,11 @@ DecodeGraph::~DecodeGraph() RemoveAllInColl(m_steps); } +//! Add another decode step to the graph +void DecodeGraph::Add(DecodeStep *decodeStep) { + m_steps.push_back(decodeStep); + decodeStep->SetContainer(this); +} + } |