template<typename T>
class gismo::gsOptimPSO< T >
Binding to Optim's PSO solver.
- Template Parameters
-
|
bool | callOptim (gsVector< T > &x, gsOptProblem< T > &op, optim::algo_settings_t &optimSettings) override |
| See gsOptim.
|
|
void | defaultOptions () override |
| See gsOptim.
|
|
void | getOptions () override |
| See gsOptim.
|
|
gsMatrix< T > | getPopulationMatrix () |
| Gets the population matrix.
|
|
| gsOptimPSO (gsOptProblem< T > *problem) |
| See gsOptim.
|
|
virtual bool | intermediateCallback () |
| Callback function is executed after every iteration. Returning false causes premature termination of the optimization.
|
|
void | setBounds (const gsMatrix< T, Dynamic, 2 > &bounds) |
| Set the Upper and lower bounds of the uniform distributions used to generate the initial population.
|
|
virtual void | solve (const gsMatrix< T > &initialGuess) |
| Solve, see gsOptimizer.
|
|
bool | success () |
| Function returning true when optimization was successful.
|
|