Cambridge SMT System
ucam::util::PQwmapcompare Class Reference

comparison functor for queue sorting. More...

#include <wordmapper.hpp>

Public Member Functions

 PQwmapcompare (std::string *pd, unsigned *pt)
 constructor More...
 
bool operator() (const unsigned &i1, const unsigned &i2) const
 string comparison between two positions i1 and i2. More...
 

Detailed Description

comparison functor for queue sorting.

Definition at line 32 of file wordmapper.hpp.

Constructor & Destructor Documentation

ucam::util::PQwmapcompare::PQwmapcompare ( std::string *  pd,
unsigned *  pt 
)
inline

constructor

Definition at line 39 of file wordmapper.hpp.

Here is the caller graph for this function:

Member Function Documentation

bool ucam::util::PQwmapcompare::operator() ( const unsigned &  i1,
const unsigned &  i2 
) const
inline

string comparison between two positions i1 and i2.

Definition at line 42 of file wordmapper.hpp.


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