From f4cf5f152b3c3736236a99ff66a6b8148d81e745 Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Tue, 21 May 2013 13:00:26 +0100 Subject: delete references to LMList --- moses/ScoreComponentCollection.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'moses/ScoreComponentCollection.cpp') diff --git a/moses/ScoreComponentCollection.cpp b/moses/ScoreComponentCollection.cpp index b1b171465..c836ea5b3 100644 --- a/moses/ScoreComponentCollection.cpp +++ b/moses/ScoreComponentCollection.cpp @@ -32,20 +32,6 @@ float ScoreComponentCollection::GetWeightedScore() const return m_scores.inner_product(StaticData::Instance().GetAllWeights().m_scores); } -void ScoreComponentCollection::ZeroAllLM(const LMList& lmList) -{ - for (LMList::const_iterator i = lmList.begin(); i != lmList.end(); ++i) { - Assign(*i, 0); - } -} - -void ScoreComponentCollection::PlusEqualsAllLM(const LMList& lmList, const ScoreComponentCollection& rhs) -{ - for (LMList::const_iterator i = lmList.begin(); i != lmList.end(); ++i) { - PlusEquals(*i,rhs); - } -} - void ScoreComponentCollection::MultiplyEquals(float scalar) { m_scores *= scalar; -- cgit v1.2.3