| 65 | */ |
| 66 | |
| 67 | void updateDims( const int aParamCount, const int PopSize0 = 0 ) |
| 68 | { |
| 69 | const int aPopSize = ( PopSize0 > 0 ? PopSize0 : |
| 70 | calcPopSizeBiteOpt( aParamCount )); |
| 71 | |
| 72 | if( aParamCount == ParamCount && aPopSize == PopSize ) |
| 73 | { |
| 74 | return; |
| 75 | } |
| 76 | |
| 77 | initBuffers( aParamCount, aPopSize ); |
| 78 | |
| 79 | ParOpt.updateDims( aParamCount, aPopSize * 4 / 3 ); |
| 80 | } |
| 81 | |
| 82 | /** |
| 83 | * Function initializes *this optimizer. Does not perform objective |
nothing calls this directly
no outgoing calls
no test coverage detected