Moses::ChartRuleLookupManagerMemory Class Reference

Implementation of ChartRuleLookupManager for in-memory rule tables. More...

#include <ChartRuleLookupManagerMemory.h>

Inheritance diagram for Moses::ChartRuleLookupManagerMemory:

Inheritance graph
Collaboration diagram for Moses::ChartRuleLookupManagerMemory:

Collaboration graph

List of all members.

Public Types

typedef std::vector
< ChartCellCache
typedef std::vector
< CompressedColumn

Public Member Functions

 ChartRuleLookupManagerMemory (const ChartParser &parser, const ChartCellCollectionBase &cellColl, const PhraseDictionaryMemory &ruleTable)
 ~ChartRuleLookupManagerMemory ()
virtual void GetChartRuleCollection (const InputPath &inputPath, size_t lastPos, ChartParserCallback &outColl)

Detailed Description

Implementation of ChartRuleLookupManager for in-memory rule tables.

Definition at line 38 of file ChartRuleLookupManagerMemory.h.

Member Typedef Documentation

Definition at line 41 of file ChartRuleLookupManagerMemory.h.

Definition at line 42 of file ChartRuleLookupManagerMemory.h.

Constructor & Destructor Documentation

Moses::ChartRuleLookupManagerMemory::ChartRuleLookupManagerMemory ( const ChartParser parser,
const ChartCellCollectionBase cellColl,
const PhraseDictionaryMemory ruleTable 

Definition at line 38 of file ChartRuleLookupManagerMemory.cpp.

References Moses::ChartParser::GetSize(), and Moses::ChartParser::options().

Here is the call graph for this function:

Moses::ChartRuleLookupManagerMemory::~ChartRuleLookupManagerMemory (  )  [inline]

Definition at line 49 of file ChartRuleLookupManagerMemory.h.

Member Function Documentation

void Moses::ChartRuleLookupManagerMemory::GetChartRuleCollection ( const InputPath inputPath,
size_t  lastPos,
ChartParserCallback outColl 
) [virtual]

abstract function. Return a vector of translation options for given a range in the input sentence

range source range for which you want the translation options
outColl return argument

Implements Moses::ChartRuleLookupManager.

Definition at line 54 of file ChartRuleLookupManagerMemory.cpp.

References Moses::ChartParserCallback::Add(), Moses::CompletedRuleCollection::begin(), Moses::CompletedRuleCollection::Clear(), Moses::CompletedRuleCollection::end(), Moses::Range::GetEndPos(), Moses::PhraseDictionaryMemory::GetRootNode(), Moses::Range::GetStartPos(), Moses::InputPath::GetWordsRange(), and range.

Here is the call graph for this function:

The documentation for this class was generated from the following files:

Generated on Thu Jul 6 00:33:41 2017 for Moses by  doxygen 1.5.9