MosesTuning::RandomDirectionOptimizer Class Reference

#include <Optimizer.h>

Inheritance diagram for MosesTuning::RandomDirectionOptimizer:

Inheritance graph
Collaboration diagram for MosesTuning::RandomDirectionOptimizer:

Collaboration graph

List of all members.

Public Member Functions

 RandomDirectionOptimizer (unsigned dim, const std::vector< unsigned > &i2O, const std::vector< bool > &positive, const std::vector< parameter_t > &start, unsigned int nrandom)
virtual statscore_t TrueRun (Point &) const

Detailed Description

An optimizer with random directions.

Definition at line 97 of file Optimizer.h.

Constructor & Destructor Documentation

MosesTuning::RandomDirectionOptimizer::RandomDirectionOptimizer ( unsigned  dim,
const std::vector< unsigned > &  i2O,
const std::vector< bool > &  positive,
const std::vector< parameter_t > &  start,
unsigned int  nrandom 
) [inline]

Definition at line 102 of file Optimizer.h.

Member Function Documentation

statscore_t MosesTuning::RandomDirectionOptimizer::TrueRun ( Point  )  const [virtual]

Main function that performs an optimization.

Implements MosesTuning::Optimizer.

Definition at line 448 of file Optimizer.cpp.

References MosesTuning::Point::GetScore(), MosesTuning::Optimizer::LineOptimize(), MosesTuning::Optimizer::m_num_random_directions, MosesTuning::Point::Randomize(), and MosesTuning::verboselevel().

Here is the call graph for this function:

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

Generated on Thu Jul 6 00:34:18 2017 for Moses by  doxygen 1.5.9