Pallas Solver
0.1
C++ Global Optimization Algorithms
|
Interface to produce randomized candidate solutions. More...
#include <step_function.h>
Public Member Functions | |
virtual | ~StepFunction () |
Destructor. | |
virtual void | Step (double *x, unsigned int num_parameters)=0 |
Produces a randomized candidate solution by modifying the input variable x . More... | |
Interface to produce randomized candidate solutions.
Candidate solutions are produced by randomly perturbing degrees of freedom by a prescribed amount (and often limited by a maximum step size and/or upper and lower bounds).
|
pure virtual |
Produces a randomized candidate solution by modifying the input variable x
.
Must override in derived class to implement custom step functions.
x | double*. The current state of the parameters. Should be modified in place to achieve new state. |
num_parameters. | unsigned int. The number of parameters to modify in x . |
Implemented in pallas::BoundedStepFunction, and pallas::DefaultStepFunction.