Moses::SearchOptions Struct Reference

#include <SearchOptions.h>

Inheritance diagram for Moses::SearchOptions:

Inheritance graph
[legend]
Collaboration diagram for Moses::SearchOptions:

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool init (Parameter const &param)
 SearchOptions (Parameter const &param)
 SearchOptions ()
bool UseEarlyDiscarding () const
bool update (std::map< std::string, xmlrpc_c::value >const &params)

Public Attributes

SearchAlgorithm algo
size_t stack_size
size_t stack_diversity
bool disable_discarding
size_t max_phrase_length
size_t max_trans_opt_per_cov
size_t max_partial_trans_opt
float beam_width
int timeout
int segment_timeout
bool consensus
float early_discarding_threshold
 Use Consensus decoding (DeNero et al 2009).
float trans_opt_threshold


Detailed Description

Definition at line 11 of file SearchOptions.h.


Constructor & Destructor Documentation

Moses::SearchOptions::SearchOptions ( Parameter const &  param  ) 

Definition at line 24 of file SearchOptions.cpp.

References init().

Here is the call graph for this function:

Moses::SearchOptions::SearchOptions (  ) 

Definition at line 8 of file SearchOptions.cpp.


Member Function Documentation

bool Moses::SearchOptions::init ( Parameter const &  param  ) 

bool Moses::SearchOptions::update ( std::map< std::string, xmlrpc_c::value >const &  params  ) 

Definition at line 108 of file SearchOptions.cpp.

bool Moses::SearchOptions::UseEarlyDiscarding (  )  const [inline]

Definition at line 44 of file SearchOptions.h.

References early_discarding_threshold.

Referenced by Moses::SearchNormal::ExpandAllHypotheses(), and Moses::SearchNormal::ExpandHypothesis().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 14 of file SearchOptions.h.

Referenced by init(), and Moses::ProcessAndStripXMLTags().

Definition at line 30 of file SearchOptions.h.

Referenced by init(), and Moses::AllOptions::sanity_check().

Definition at line 19 of file SearchOptions.h.

Referenced by init().

Use Consensus decoding (DeNero et al 2009).

Definition at line 36 of file SearchOptions.h.

Referenced by Moses::SearchNormal::ExpandHypothesis(), init(), and UseEarlyDiscarding().

Definition at line 23 of file SearchOptions.h.

Referenced by init().

Definition at line 21 of file SearchOptions.h.

Referenced by init(), and Moses::SearchNormal::ProcessOneHypothesis().

Definition at line 22 of file SearchOptions.h.

Referenced by init().

Definition at line 28 of file SearchOptions.h.

Referenced by init(), and Moses::Search::out_of_time().

Definition at line 18 of file SearchOptions.h.

Referenced by Moses::SearchNormal::ExpandHypothesis(), and init().

Definition at line 27 of file SearchOptions.h.

Referenced by init(), and Moses::Search::out_of_time().

Definition at line 37 of file SearchOptions.h.

Referenced by init().


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

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