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()
|
noexcept |
Initialises the optimiser with its name
Member Function Documentation
◆ optimise()
|
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:
- /Users/romeo/Desktop/PASS/include/pass_bits/optimiser/random_search.hpp
- /Users/romeo/Desktop/PASS/src/optimiser/random_search.cpp