Cambridge SMT System
|
#include <main.custom_assert.hpp>
#include <main.logger.hpp>
#include "Optimize.h"
#include <ctime>
#include <boost/random/uniform_on_sphere.hpp>
#include <boost/random/variate_generator.hpp>
Go to the source code of this file.
Typedefs | |
typedef unsigned int | Sid |
typedef std::vector< Sid > | SentenceList |
Functions | |
DEFINE_int32 (threads, 1,"Number of threads used for line search") | |
DEFINE_int64 (seed, 0,"Random direction seed") | |
unsigned int | GetSeed () |
PARAMS | ComputeFinalPoint (const PARAMS &lambda, const PARAMS &direction, const double gamma) |
PARAMS | VectorScale (const PARAMS &vw, const unsigned int k) |
int | GetNoOfThreads () |
Variables | |
MERT | mert |
typedef std::vector<Sid> SentenceList |
Definition at line 21 of file Optimize.cpp.
typedef unsigned int Sid |
Definition at line 19 of file Optimize.cpp.
DEFINE_int32 | ( | threads | , |
1 | , | ||
"Number of threads used for line search" | |||
) |
DEFINE_int64 | ( | seed | , |
0 | , | ||
"Random direction seed" | |||
) |
int GetNoOfThreads | ( | ) |
unsigned int GetSeed | ( | ) |
MERT mert |
Definition at line 23 of file Optimize.cpp.