Cambridge SMT System
ErrorSurface< RD > Class Template Reference

#include <ErrorSurface.h>

Public Types

typedef RD RefData
 
typedef RefData::ErrorStats ErrorStats
 
typedef IntervalData< ErrorStatsIntervalBoundary
 
typedef ErrorStats::Error Error
 

Public Member Functions

 ErrorSurface (unsigned int noOfSentences, RefData *refs)
 
 ErrorSurface (const ErrorSurface &other)
 
ErrorSurfaceoperator= (const ErrorSurface &rhs)
 
double GetOptimalGamma ()
 
Error GetOptimalError ()
 
bool GetUnbounded ()
 
void ComputeSurface ()
 
void Reset ()
 
void PrintErrorSurface (ostream &os) const
 
void WriteErrorSurface (const std::string &filename) const
 
void CreateInitial (Sid sid, const double gamma, const Sentence h, const double modelScore, const double expScore)
 
void CreateInterval (Sid sid, const double gamma, const Sentence h, const double modelScore, const double expScore)
 

Public Attributes

std::vector< IntervalBoundaryboundaries
 

Detailed Description

template<typename RD>
class ErrorSurface< RD >

Definition at line 35 of file ErrorSurface.h.

Member Typedef Documentation

template<typename RD >
typedef ErrorStats::Error ErrorSurface< RD >::Error

Definition at line 40 of file ErrorSurface.h.

template<typename RD >
typedef RefData::ErrorStats ErrorSurface< RD >::ErrorStats

Definition at line 38 of file ErrorSurface.h.

template<typename RD >
typedef IntervalData<ErrorStats> ErrorSurface< RD >::IntervalBoundary

Definition at line 39 of file ErrorSurface.h.

template<typename RD >
typedef RD ErrorSurface< RD >::RefData

Definition at line 37 of file ErrorSurface.h.

Constructor & Destructor Documentation

template<typename RD >
ErrorSurface< RD >::ErrorSurface ( unsigned int  noOfSentences,
RefData refs 
)
inline

Definition at line 79 of file ErrorSurface.h.

template<typename RD >
ErrorSurface< RD >::ErrorSurface ( const ErrorSurface< RD > &  other)
inline

Definition at line 86 of file ErrorSurface.h.

Member Function Documentation

template<typename RD >
void ErrorSurface< RD >::ComputeSurface ( )
inline

Definition at line 118 of file ErrorSurface.h.

Here is the caller graph for this function:

template<typename RD >
void ErrorSurface< RD >::CreateInitial ( Sid  sid,
const double  gamma,
const Sentence  h,
const double  modelScore,
const double  expScore 
)
inline

Definition at line 197 of file ErrorSurface.h.

Here is the caller graph for this function:

template<typename RD >
void ErrorSurface< RD >::CreateInterval ( Sid  sid,
const double  gamma,
const Sentence  h,
const double  modelScore,
const double  expScore 
)
inline

Definition at line 204 of file ErrorSurface.h.

Here is the caller graph for this function:

template<typename RD >
Error ErrorSurface< RD >::GetOptimalError ( )
inline

Definition at line 110 of file ErrorSurface.h.

Here is the caller graph for this function:

template<typename RD >
double ErrorSurface< RD >::GetOptimalGamma ( )
inline

Definition at line 106 of file ErrorSurface.h.

Here is the caller graph for this function:

template<typename RD >
bool ErrorSurface< RD >::GetUnbounded ( )
inline

Definition at line 114 of file ErrorSurface.h.

Here is the caller graph for this function:

template<typename RD >
ErrorSurface& ErrorSurface< RD >::operator= ( const ErrorSurface< RD > &  rhs)
inline

Definition at line 92 of file ErrorSurface.h.

template<typename RD >
void ErrorSurface< RD >::PrintErrorSurface ( ostream &  os) const
inline

Definition at line 164 of file ErrorSurface.h.

Here is the caller graph for this function:

template<typename RD >
void ErrorSurface< RD >::Reset ( )
inline

Definition at line 156 of file ErrorSurface.h.

Here is the caller graph for this function:

template<typename RD >
void ErrorSurface< RD >::WriteErrorSurface ( const std::string &  filename) const
inline

Definition at line 182 of file ErrorSurface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

template<typename RD >
std::vector<IntervalBoundary> ErrorSurface< RD >::boundaries

Definition at line 215 of file ErrorSurface.h.


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