Cambridge SMT System
PowellOptimizer< Algo, ErrorSurface > Class Template Reference

#include <Optimize.h>

Inheritance diagram for PowellOptimizer< Algo, ErrorSurface >:
Collaboration diagram for PowellOptimizer< Algo, ErrorSurface >:

Public Types

typedef OptimizerImpl< Algo, ErrorSurface >::OptimizationResult OptimizationResult
 
typedef OptimizerImpl< Algo, ErrorSurface >::Error Error
 

Public Member Functions

virtual void Init (int)
 
virtual const pair< PARAMS, double > operator() (PARAMS &startPoint)
 
virtual ~PowellOptimizer ()
 
- Public Member Functions inherited from OptimizerImpl< Algo, ErrorSurface >
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 ~Optimizer ()
 

Additional Inherited Members

- Protected Types inherited from OptimizerImpl< Algo, ErrorSurface >
typedef ErrorSurface::ErrorStats ErrorStats
 
typedef ErrorStats::Error Error
 
typedef pair< PARAMS, ErrorOptimizationResult
 
- Protected Member Functions inherited from OptimizerImpl< Algo, ErrorSurface >
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 inherited from OptimizerImpl< Algo, ErrorSurface >
ErrorSurface::RefData refData
 
TuneSet lats
 

Detailed Description

template<typename Algo, typename ErrorSurface>
class PowellOptimizer< Algo, ErrorSurface >

Definition at line 381 of file Optimize.h.

Member Typedef Documentation

template<typename Algo , typename ErrorSurface >
typedef OptimizerImpl<Algo, ErrorSurface>::Error PowellOptimizer< Algo, ErrorSurface >::Error

Definition at line 385 of file Optimize.h.

template<typename Algo , typename ErrorSurface >
typedef OptimizerImpl<Algo, ErrorSurface>::OptimizationResult PowellOptimizer< Algo, ErrorSurface >::OptimizationResult

Definition at line 384 of file Optimize.h.

Constructor & Destructor Documentation

template<typename Algo , typename ErrorSurface >
virtual PowellOptimizer< Algo, ErrorSurface >::~PowellOptimizer ( )
inlinevirtual

Definition at line 507 of file Optimize.h.

Member Function Documentation

template<class Algo , class ErrorSurface >
void PowellOptimizer< Algo, ErrorSurface >::Init ( int  dim)
virtual

Implements Optimizer.

Definition at line 67 of file latmert.main.cpp.

Here is the call graph for this function:

template<typename Algo , typename ErrorSurface >
virtual const pair<PARAMS, double> PowellOptimizer< Algo, ErrorSurface >::operator() ( PARAMS startPoint)
inlinevirtual

Implements Optimizer.

Definition at line 415 of file Optimize.h.

Here is the call graph for this function:


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