#include <VectorIndexSorter.h>


Public Member Functions | |
| VectorIndexSorter (std::vector< VAL > const &v, COMP const &comp) | |
| VectorIndexSorter (std::vector< VAL > const &v) | |
| bool | operator() (IDX_T const &a, IDX_T const &b) const |
| boost::shared_ptr< std::vector < IDX_T > > | GetOrder () const |
| void | GetOrder (std::vector< IDX_T > &order) const |
Public Attributes | |
| COMP const & | Compare |
Definition at line 24 of file VectorIndexSorter.h.
| Moses::VectorIndexSorter< VAL, COMP, IDX_T >::VectorIndexSorter | ( | std::vector< VAL > const & | v, | |
| COMP const & | comp | |||
| ) | [inline] |
Definition at line 33 of file VectorIndexSorter.h.
| Moses::VectorIndexSorter< VAL, COMP, IDX_T >::VectorIndexSorter | ( | std::vector< VAL > const & | v | ) | [inline] |
Definition at line 37 of file VectorIndexSorter.h.
| void Moses::VectorIndexSorter< VAL, COMP, IDX_T >::GetOrder | ( | std::vector< IDX_T > & | order | ) | const [inline] |
Definition at line 70 of file VectorIndexSorter.h.
References sort().

| boost::shared_ptr< std::vector< IDX_T > > Moses::VectorIndexSorter< VAL, COMP, IDX_T >::GetOrder | ( | ) | const [inline] |
Definition at line 60 of file VectorIndexSorter.h.
Referenced by main(), and show().

| bool Moses::VectorIndexSorter< VAL, COMP, IDX_T >::operator() | ( | IDX_T const & | a, | |
| IDX_T const & | b | |||
| ) | const [inline] |
Definition at line 42 of file VectorIndexSorter.h.
| COMP const& Moses::VectorIndexSorter< VAL, COMP, IDX_T >::Compare |
Definition at line 32 of file VectorIndexSorter.h.
Referenced by Moses::NBestList< THINGY, CMP >::add().
1.5.9