Cambridge SMT System
Optimize.h File Reference
#include "TuneSet.h"
#include "ParamsConfig.h"
#include "Score.h"
#include <utility>
#include <BleuStats.h>
#include <tr1/unordered_map>
#include <tr1/unordered_set>
#include <boost/math/constants/constants.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <global_incls.hpp>
#include <main.custom_assert.hpp>
#include <multithreading.hpp>
Include dependency graph for Optimize.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MERT
 hifst-specific classes and methods included in this namespace. More...
 
class  Optimizer
 
class  RandDirGenerator
 
class  OptimizeTask< Algo, ErrorSurface >
 
class  OptimizerImpl< Algo, ErrorSurface >
 
class  Directions
 
class  RandomOptimizer< Algo, ErrorSurface >
 
class  PowellOptimizer< Algo, ErrorSurface >
 

Functions

int GetNoOfThreads ()
 
template<class Algo , class ErrorSurface >
void execute_with_threadpool (std::vector< OptimizeTask< Algo, ErrorSurface > > tasks)
 
PARAMS ComputeFinalPoint (const PARAMS &, const PARAMS &, const double)
 
PARAMS VectorScale (const PARAMS &, const unsigned int k=0)
 
PARAMS GenerateRandDir (const unsigned int noOfAxes)
 

Variables

MERT mert
 

Function Documentation

PARAMS ComputeFinalPoint ( const PARAMS ,
const PARAMS ,
const double   
)

Definition at line 54 of file Optimize.cpp.

Here is the caller graph for this function:

template<class Algo , class ErrorSurface >
void execute_with_threadpool ( std::vector< OptimizeTask< Algo, ErrorSurface > >  tasks)

Definition at line 136 of file Optimize.h.

Here is the call graph for this function:

Here is the caller graph for this function:

PARAMS GenerateRandDir ( const unsigned int  noOfAxes)

Here is the caller graph for this function:

int GetNoOfThreads ( )

Definition at line 195 of file Optimize.cpp.

Here is the caller graph for this function:

PARAMS VectorScale ( const PARAMS ,
const unsigned int  k = 0 
)

Definition at line 66 of file Optimize.cpp.

Here is the caller graph for this function:

Variable Documentation

MERT mert

Definition at line 23 of file Optimize.cpp.