Cambridge SMT System
|
#include <ErrorSurface.h>
Public Types | |
typedef RD | RefData |
typedef RefData::ErrorStats | ErrorStats |
typedef IntervalData< ErrorStats > | IntervalBoundary |
typedef ErrorStats::Error | Error |
Public Member Functions | |
ErrorSurface (unsigned int noOfSentences, RefData *refs) | |
ErrorSurface (const ErrorSurface &other) | |
ErrorSurface & | operator= (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< IntervalBoundary > | boundaries |
Definition at line 35 of file ErrorSurface.h.
typedef ErrorStats::Error ErrorSurface< RD >::Error |
Definition at line 40 of file ErrorSurface.h.
typedef RefData::ErrorStats ErrorSurface< RD >::ErrorStats |
Definition at line 38 of file ErrorSurface.h.
typedef IntervalData<ErrorStats> ErrorSurface< RD >::IntervalBoundary |
Definition at line 39 of file ErrorSurface.h.
typedef RD ErrorSurface< RD >::RefData |
Definition at line 37 of file ErrorSurface.h.
|
inline |
Definition at line 79 of file ErrorSurface.h.
|
inline |
Definition at line 86 of file ErrorSurface.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 92 of file ErrorSurface.h.
|
inline |
|
inline |
|
inline |
Definition at line 182 of file ErrorSurface.h.
std::vector<IntervalBoundary> ErrorSurface< RD >::boundaries |
Definition at line 215 of file ErrorSurface.h.