pass::random_search Class Reference

#include <random_search.hpp>

Inheritance diagram for pass::random_search:
Collaboration diagram for pass::random_search:

Public Member Functions

 random_search () noexcept
 
virtual optimise_result optimise (const pass::problem &problem)
 
- Public Member Functions inherited from pass::optimiser
 optimiser (const std::string &name)
 

Additional Inherited Members

- Public Attributes inherited from pass::optimiser
double acceptable_fitness_value
 
arma::uword maximal_iterations
 
arma::uword maximal_evaluations
 
std::chrono::nanoseconds maximal_duration
 
const std::string name
 

Detailed Description

Implements the Random Search algorithm (https://en.wikipedia.org/wiki/Random_search)

Constructor & Destructor Documentation

◆ random_search()

pass::random_search::random_search ( )
noexcept

Initialises the optimiser with its name

Member Function Documentation

◆ optimise()

pass::optimise_result pass::random_search::optimise ( const pass::problem problem)
virtual

Optimises problem, storing the result and performance characteristics of the optimisation in the returned optimise_result.

Implements pass::optimiser.

Here is the call graph for this function:

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