search::NBest Class Reference

#include <nbest.hh>

Collaboration diagram for search::NBest:

Collaboration graph

List of all members.

Public Types

typedef std::vector< PartialEdgeCombine

Public Member Functions

 NBest (const NBestConfig &config)
void Add (std::vector< PartialEdge > &existing, PartialEdge addition) const
NBestComplete Complete (std::vector< PartialEdge > &partials)
const std::vector< Applied > & Extract (History root)

Detailed Description

Definition at line 56 of file nbest.hh.

Member Typedef Documentation

typedef std::vector<PartialEdge> search::NBest::Combine

Definition at line 58 of file nbest.hh.

Constructor & Destructor Documentation

search::NBest::NBest ( const NBestConfig config  )  [inline, explicit]

Definition at line 60 of file nbest.hh.

Member Function Documentation

void search::NBest::Add ( std::vector< PartialEdge > &  existing,
PartialEdge  addition 
) const [inline]

Definition at line 62 of file nbest.hh.

NBestComplete search::NBest::Complete ( std::vector< PartialEdge > &  partials  ) 

Definition at line 93 of file

References search::NBestConfig::keep.

const std::vector< Applied > & search::NBest::Extract ( History  root  ) 

Definition at line 102 of file

References search::NBestConfig::size.

Referenced by Moses::Incremental::Manager::LMCallback().

Here is the caller graph for this function:

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

Generated on Thu Jul 6 00:34:45 2017 for Moses by  doxygen 1.5.9