GenerationDictionary::GenerationDictionary(size_t numFeatures, ScoreIndexManager &scoreIndexManager,
    const std::vector<FactorType> &input,
    const std::vector<FactorType> &output)
  : Dictionary(numFeatures), DecodeFeature(input,output)
{
  scoreIndexManager.AddScoreProducer(this);
}
示例#2
0
GenerationDictionary::GenerationDictionary(size_t numFeatures, ScoreIndexManager &scoreIndexManager)
  : Dictionary(numFeatures)
{
	scoreIndexManager.AddScoreProducer(this);
}