Cambridge SMT System
ucam::lmert::MertEnvelope< Arc > Class Template Reference

#include <lmert.hpp>

Public Member Functions

 MertEnvelope ()
 
void SortLines ()
 
void SweepLine ()
 
std::string ToString (bool show_hypothesis=false)
 

Static Public Member Functions

static bool GradientSortPredicate (const MertLine< Arc > &line1, const MertLine< Arc > &line2)
 

Public Attributes

std::vector< MertLine< Arc > > lines
 

Detailed Description

template<class Arc>
class ucam::lmert::MertEnvelope< Arc >

Definition at line 43 of file lmert.hpp.

Constructor & Destructor Documentation

template<class Arc>
ucam::lmert::MertEnvelope< Arc >::MertEnvelope ( )
inline

Definition at line 53 of file lmert.hpp.

Member Function Documentation

template<class Arc>
static bool ucam::lmert::MertEnvelope< Arc >::GradientSortPredicate ( const MertLine< Arc > &  line1,
const MertLine< Arc > &  line2 
)
inlinestatic

Definition at line 48 of file lmert.hpp.

template<class Arc>
void ucam::lmert::MertEnvelope< Arc >::SortLines ( )
inline

Definition at line 56 of file lmert.hpp.

Here is the call graph for this function:

template<class Arc>
void ucam::lmert::MertEnvelope< Arc >::SweepLine ( )
inline

Definition at line 61 of file lmert.hpp.

template<class Arc>
std::string ucam::lmert::MertEnvelope< Arc >::ToString ( bool  show_hypothesis = false)
inline

Definition at line 94 of file lmert.hpp.

Member Data Documentation

template<class Arc>
std::vector<MertLine<Arc> > ucam::lmert::MertEnvelope< Arc >::lines

Definition at line 46 of file lmert.hpp.


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