init moses2

This commit is contained in:
Hieu Hoang 2015-10-25 22:41:06 +00:00
parent 840063468e
commit c41d04e3c6
2 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,7 @@ Hypothesis::Hypothesis(Manager &mgr,
,m_targetPhrase(tp)
,m_bitmap(bitmap)
,m_range(range)
,m_prevHypo(NULL)
{
util::Pool &pool = mgr.GetPool();
size_t numStatefulFFs = mgr.GetSystem().GetStatefulFeatureFunctions().size();
@ -31,6 +32,7 @@ Hypothesis::Hypothesis(const Hypothesis &prevHypo,
,m_targetPhrase(tp)
,m_bitmap(bitmap)
,m_range(pathRange)
,m_prevHypo(&prevHypo)
{
}

View File

@ -41,6 +41,7 @@ protected:
const TargetPhrase &m_targetPhrase;
const Moses::Bitmap &m_bitmap;
const Moses::Range &m_range;
const Hypothesis *m_prevHypo;
Moses::FFState **m_ffStates;
};