Cambridge SMT System
|
#include <Optimize.h>
Public Member Functions | |
virtual void | LoadRefData (std::vector< std::string > refs) |
virtual void | InitTuneSet (bool useCache) |
virtual | ~OptimizerImpl () |
virtual std::string | ComputeError (const PARAMS &lambda) |
Public Member Functions inherited from Optimizer | |
virtual const pair< PARAMS, double > | operator() (PARAMS &)=0 |
virtual void | Init (int)=0 |
virtual | ~Optimizer () |
Protected Types | |
typedef ErrorSurface::ErrorStats | ErrorStats |
typedef ErrorStats::Error | Error |
typedef pair< PARAMS, Error > | OptimizationResult |
Protected Member Functions | |
OptimizationResult | MakeOptimizationResult (ErrorSurface &surface, const PARAMS &direction, const OptimizationResult &prev) |
void | LineOptimize (const PARAMS &lambda, const PARAMS &direction, ErrorSurface &surface, const std::vector< Sid > &lattices) |
unsigned int | GetBestOptimizationDirection (const std::vector< OptimizationResult > &results) |
void | LogLineOptimization (const OptimizationResult &start, const OptimizationResult &tuned, const PARAMS &direction, const double gamma) |
Protected Attributes | |
ErrorSurface::RefData | refData |
TuneSet | lats |
Definition at line 149 of file Optimize.h.
|
protected |
Definition at line 153 of file Optimize.h.
|
protected |
Definition at line 152 of file Optimize.h.
|
protected |
Definition at line 154 of file Optimize.h.
|
inlinevirtual |
Definition at line 237 of file Optimize.h.
|
inlinevirtual |
Implements Optimizer.
Definition at line 240 of file Optimize.h.
|
inlineprotected |
Definition at line 179 of file Optimize.h.
|
inlinevirtual |
Implements Optimizer.
Definition at line 233 of file Optimize.h.
|
inlineprotected |
|
inlinevirtual |
Implements Optimizer.
Definition at line 229 of file Optimize.h.
|
inlineprotected |
Definition at line 194 of file Optimize.h.
|
inlineprotected |
|
protected |
Definition at line 225 of file Optimize.h.
|
protected |
Definition at line 224 of file Optimize.h.