Pallas Solver  0.1
C++ Global Optimization Algorithms
Public Member Functions | List of all members
pallas::StepFunction Class Referenceabstract

Interface to produce randomized candidate solutions. More...

#include <step_function.h>

Inheritance diagram for pallas::StepFunction:
Inheritance graph
[legend]

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...
 

Detailed Description

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).

Member Function Documentation

virtual void pallas::StepFunction::Step ( double *  x,
unsigned int  num_parameters 
)
pure virtual

Produces a randomized candidate solution by modifying the input variable x.

Must override in derived class to implement custom step functions.

Parameters
xdouble*. 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.

Here is the caller graph for this function:


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