27 #ifndef PALLAS_STEP_FUNCTOR_H 28 #define PALLAS_STEP_FUNCTOR_H 30 #include "pallas/types.h" 32 #include "pallas/scoped_ptr.h" 55 virtual void Step(
double* x,
unsigned int num_parameters) = 0;
81 void Step(
double* x,
unsigned int num_parameters);
112 const double* upper_bounds,
113 const double* lower_bounds,
114 unsigned int num_parameters);
126 void Step(
double* x,
unsigned int num_parameters);
134 Vector upper_bounds_;
135 Vector lower_bounds_;
139 #endif //PALLAS_STEP_FUNCTOR_H Interface to produce randomized candidate solutions.
Definition: step_function.h:41
Definition: basinhopping.h:51
virtual void Step(double *x, unsigned int num_parameters)=0
Produces a randomized candidate solution by modifying the input variable x.
A new candidate solution is generated between upper and lower bounds. Each degree of freedom in the c...
Definition: step_function.h:99
Definition: scoped_ptr.h:45
Simple candidate generator that modifies the input by a random amount between +/- step_size...
Definition: step_function.h:64
virtual ~StepFunction()
Destructor.
Definition: step_function.h:46