| 56 | */ |
| 57 | |
| 58 | void updateDims( const int aParamCount, const int PopSize0 = 0 ) |
| 59 | { |
| 60 | const int aPopSize = ( PopSize0 > 0 ? PopSize0 : 30 * aParamCount ); |
| 61 | |
| 62 | if( aParamCount == ParamCount && aPopSize == PopSize ) |
| 63 | { |
| 64 | return; |
| 65 | } |
| 66 | |
| 67 | initBuffers( aParamCount, aPopSize ); |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * Function initializes *this optimizer. |