RandomDirectionOptimizer Class Reference

#include <Optimizer.h>

Inheritance diagram for RandomDirectionOptimizer:

Inheritance graph
Collaboration diagram for 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 89 of file Optimizer.h.

Constructor & Destructor Documentation

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 94 of file Optimizer.h.

Member Function Documentation

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

Main function that performs an optimization.

Implements Optimizer.

Definition at line 435 of file Optimizer.cpp.

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

Here is the call graph for this function:

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

Generated on Sat Jun 30 00:30:12 2012 for Moses by  doxygen 1.5.9