#include <PrefixTreeMap.h>
Public Types | |
| typedef std::vector< IPhrase > | PhraseList |
| typedef std::vector < std::vector< float > > | ScoreList |
Public Member Functions | |
| GenericCandidate () | |
| GenericCandidate (const GenericCandidate &other) | |
| GenericCandidate (const PhraseList &p, const ScoreList &s) | |
| ~GenericCandidate () | |
| size_t | NumPhrases () const |
| size_t | NumScores () const |
| const IPhrase & | GetPhrase (unsigned int i) const |
| const std::vector< float > & | GetScore (unsigned int i) const |
| void | readBin (FILE *f) |
| void | writeBin (FILE *f) const |
Definition at line 26 of file PrefixTreeMap.h.
| typedef std::vector<IPhrase> Moses::GenericCandidate::PhraseList |
Definition at line 29 of file PrefixTreeMap.h.
| typedef std::vector< std::vector<float> > Moses::GenericCandidate::ScoreList |
Definition at line 30 of file PrefixTreeMap.h.
| Moses::GenericCandidate::GenericCandidate | ( | ) | [inline] |
Definition at line 32 of file PrefixTreeMap.h.
| Moses::GenericCandidate::GenericCandidate | ( | const GenericCandidate & | other | ) | [inline] |
Definition at line 34 of file PrefixTreeMap.h.
| Moses::GenericCandidate::GenericCandidate | ( | const PhraseList & | p, | |
| const ScoreList & | s | |||
| ) | [inline] |
Definition at line 37 of file PrefixTreeMap.h.
| Moses::GenericCandidate::~GenericCandidate | ( | ) | [inline] |
Definition at line 40 of file PrefixTreeMap.h.
| const IPhrase& Moses::GenericCandidate::GetPhrase | ( | unsigned int | i | ) | const [inline] |
Definition at line 49 of file PrefixTreeMap.h.
| const std::vector<float>& Moses::GenericCandidate::GetScore | ( | unsigned int | i | ) | const [inline] |
Definition at line 52 of file PrefixTreeMap.h.
| size_t Moses::GenericCandidate::NumPhrases | ( | ) | const [inline] |
Definition at line 43 of file PrefixTreeMap.h.
| size_t Moses::GenericCandidate::NumScores | ( | ) | const [inline] |
Definition at line 46 of file PrefixTreeMap.h.
| void Moses::GenericCandidate::readBin | ( | FILE * | f | ) |
Definition at line 12 of file PrefixTreeMap.cpp.
References Moses::fRead(), and Moses::fReadVector().

| void Moses::GenericCandidate::writeBin | ( | FILE * | f | ) | const |
Definition at line 32 of file PrefixTreeMap.cpp.
References Moses::fWrite(), and Moses::fWriteVector().

1.5.9