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

Method init

biteopt.h:153–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 */
152
153 void init( CBiteRnd& rnd, const double* const InitParams = NULL,
154 const double InitRadius = 1.0 )
155 {
156 initCommonVars( rnd );
157
158 StartSD = 0.25 * InitRadius;
159 setStartParams( InitParams );
160
161 ParOpt.init( rnd, InitParams, InitRadius );
162 ParOpt2.init( rnd, InitParams, InitRadius );
163 UseParOpt = 0;
164
165 ParOptPop.resetCurPopPos();
166 ParOpt2Pop.resetCurPopPos();
167 OldPops[ 0 ].resetCurPopPos();
168 OldPops[ 1 ].resetCurPopPos();
169 }
170
171 /**
172 * Function performs the parameter optimization iteration that involves 1

Callers 3

generateSolParMethod · 0.45
initMethod · 0.45
biteopt_minimizeFunction · 0.45

Calls 1

resetCurPopPosMethod · 0.80

Tested by

no test coverage detected