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

Method updateDims

smaesopt.h:56–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected