Moses::ComparePosition Class Reference

#include <DynSuffixArray.h>

List of all members.

Public Member Functions

 ComparePosition (vuint_t const &crp, vuint_t const &sfa)
bool operator() (unsigned const &i, std::vector< wordID_t > const &phrase) const
bool operator() (std::vector< wordID_t > const &phrase, unsigned const &i) const


Detailed Description

compare position /i/ in the suffix array /m_sfa/ into corpus /m_crp/ against reference phrase /phrase/

Definition at line 21 of file DynSuffixArray.h.


Constructor & Destructor Documentation

Moses::ComparePosition::ComparePosition ( vuint_t const &  crp,
vuint_t const &  sfa 
)

Definition at line 222 of file DynSuffixArray.cpp.


Member Function Documentation

bool Moses::ComparePosition::operator() ( std::vector< wordID_t > const &  phrase,
unsigned const &  i 
) const

bool Moses::ComparePosition::operator() ( unsigned const &  i,
std::vector< wordID_t > const &  phrase 
) const


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

Generated on Mon Aug 17 00:34:07 2015 for Moses by  doxygen 1.5.9