#include <NBestList.h>
Public Member Functions | |
NBestList (size_t const max_size, CMP const &cmp) | |
NBestList (size_t const max_size) | |
bool | add (THINGY const &item) |
THINGY const & | operator[] (int i) const |
THINGY const & | get_unsorted (int i) const |
size_t | size () const |
Definition at line 17 of file NBestList.h.
Moses::NBestList< THINGY, CMP >::NBestList | ( | size_t const | max_size, | |
CMP const & | cmp | |||
) | [inline] |
Definition at line 38 of file NBestList.h.
Moses::NBestList< THINGY, CMP >::NBestList | ( | size_t const | max_size | ) | [inline] |
Definition at line 46 of file NBestList.h.
bool Moses::NBestList< THINGY, CMP >::add | ( | THINGY const & | item | ) | [inline] |
Definition at line 55 of file NBestList.h.
References Moses::VectorIndexSorter< VAL, COMP, IDX_T >::Compare.
THINGY const & Moses::NBestList< THINGY, CMP >::get_unsorted | ( | int | i | ) | const [inline] |
Definition at line 94 of file NBestList.h.
THINGY const & Moses::NBestList< THINGY, CMP >::operator[] | ( | int | i | ) | const [inline] |
size_t Moses::NBestList< THINGY, CMP >::size | ( | ) | const [inline] |
Definition at line 31 of file NBestList.h.