| 1699 | */ |
| 1700 | |
| 1701 | void updateDims( const int aParamCount, const int M = 6, |
| 1702 | const int PopSize0 = 0 ) |
| 1703 | { |
| 1704 | if( aParamCount == ParamCount && M == OptCount ) |
| 1705 | { |
| 1706 | return; |
| 1707 | } |
| 1708 | |
| 1709 | deleteBuffers(); |
| 1710 | |
| 1711 | ParamCount = aParamCount; |
| 1712 | OptCount = M; |
| 1713 | Opts = new CBiteOptOwned< CBiteOpt >*[ OptCount ]; |
| 1714 | |
| 1715 | int i; |
| 1716 | |
| 1717 | for( i = 0; i < OptCount; i++ ) |
| 1718 | { |
| 1719 | Opts[ i ] = new CBiteOptOwned< CBiteOpt >( this ); |
| 1720 | Opts[ i ] -> updateDims( aParamCount, PopSize0 ); |
| 1721 | } |
| 1722 | } |
| 1723 | |
| 1724 | /** |
| 1725 | * Function initializes *this optimizer. Performs N=PopSize objective |
nothing calls this directly
no test coverage detected