search for: lpopul

Displaying 1 result from an estimated 1 matches for "lpopul".

Did you mean: popul
2010 Mar 14
1
Segfault Problem c++ R interface (detailed)
...ress\n"); std::vector<double> lX(20); std::vector<double> lF(20); for(unsigned int i=0; i<lX.size(); ++i) { lX[i] = lContext.mRandom.rollUniform(-1.0, 1.0); lF[i] = lX[i]*(lX[i]*(lX[i]*(lX[i]+1.0)+1.0)+1.0); } // Initialize population std::vector<Tree> lPopulation(lPopSize); Rprintf("Initializing population\n"); initializePopulation(lPopulation, lContext, lInitGrowProba, lMinInitDepth, lMaxInitDepth); evaluateSymbReg(lPopulation, lContext, lX, lF); calculateStats(lPopulation, 0); // Evole population Rprintf("Starting evolutio...