#include <optimizer.hpp>
Public Member Functions | |
Optimizer (vector< string > ¶meter, paradocks::Fitness *fit, RNG &rng, Vec3_t ¢er, Float_t &radius) | |
Constructor. | |
virtual | ~Optimizer () |
Destructor. | |
virtual void | run (ostream &output, unsigned int outiter, unsigned int outend)=0 |
Start the optimization run. |
virtual void paradocks::Optimizer::run | ( | ostream & | output, | |
unsigned int | outiter, | |||
unsigned int | outend | |||
) | [pure virtual] |
Start the optimization run.
output | The results should go into this stream. | |
outiter | Save the structure from every iteration: 0 - no structure, 1 - best structure, 2 - all structures | |
outend | Save the structure at the end: 1 - best structure, 2 - all structures start a optimization |
Implemented in paradocks::PSO, and paradocks::SWLS.