#include <Search.h>


Public Member Functions | |
| virtual const std::vector < HypothesisStack * > & | GetHypothesisStacks () const =0 |
| virtual const Hypothesis * | GetBestHypothesis () const =0 |
| virtual void | ProcessSentence ()=0 |
| Search (Manager &manager) | |
| virtual | ~Search () |
Static Public Member Functions | |
| static Search * | CreateSearch (Manager &manager, const InputType &source, SearchAlgorithm searchAlgorithm, const TranslationOptionCollection &transOptColl) |
Protected Attributes | |
| const Phrase * | m_constraint |
| Manager & | m_manager |
Definition at line 17 of file Search.h.
| Search * Moses::Search::CreateSearch | ( | Manager & | manager, | |
| const InputType & | source, | |||
| SearchAlgorithm | searchAlgorithm, | |||
| const TranslationOptionCollection & | transOptColl | |||
| ) | [static] |
Definition at line 11 of file Search.cpp.
References Moses::UserMessage::Add(), Moses::CubeGrowing, Moses::CubePruning, Moses::Normal, and NULL.

| virtual const Hypothesis* Moses::Search::GetBestHypothesis | ( | ) | const [pure virtual] |
Implemented in Moses::SearchCubePruning, and Moses::SearchNormal.
Referenced by Moses::Manager::GetBestHypothesis().

| virtual const std::vector< HypothesisStack* >& Moses::Search::GetHypothesisStacks | ( | ) | const [pure virtual] |
Implemented in Moses::SearchCubePruning, and Moses::SearchNormal.
Referenced by Moses::Manager::CalcNBest(), Moses::Manager::GetConnectedGraph(), Moses::Manager::GetWinnerConnectedGraph(), and Moses::Manager::GetWordGraph().

| virtual void Moses::Search::ProcessSentence | ( | ) | [pure virtual] |
Implemented in Moses::SearchCubePruning, and Moses::SearchNormal.
Referenced by Moses::Manager::ProcessSentence().

const Phrase* Moses::Search::m_constraint [protected] |
Definition at line 33 of file Search.h.
Referenced by Moses::SearchNormal::ExpandHypothesis(), and Moses::SearchNormal::SearchNormal().
Manager& Moses::Search::m_manager [protected] |
Definition at line 34 of file Search.h.
Referenced by Moses::SearchNormal::ExpandHypothesis(), Moses::SearchNormal::ProcessSentence(), Moses::SearchCubePruning::ProcessSentence(), Moses::SearchCubePruning::SearchCubePruning(), and Moses::SearchNormal::SearchNormal().
1.5.9