MCPcopy Create free account
hub / github.com/avaneev/biteopt / updateDims

Method updateDims

deopt.h:58–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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.

Callers 2

mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected