mosesdecoder/moses/FF/StatefulFeatureFunction.cpp

22 lines
469 B
C++

#include "StatefulFeatureFunction.h"
namespace Moses
{
std::vector<const StatefulFeatureFunction*> StatefulFeatureFunction::m_statefulFFs;
StatefulFeatureFunction::StatefulFeatureFunction(const std::string &line)
: FeatureFunction(line)
{
m_statefulFFs.push_back(this);
}
StatefulFeatureFunction::StatefulFeatureFunction(size_t numScoreComponents, const std::string &line)
: FeatureFunction(numScoreComponents, line)
{
m_statefulFFs.push_back(this);
}
}