void Simulation::Clear(){ SetDefaultParams(); food.clear(); critter.clear(); frameCount = 0; foodCount = 0; critCount = 0; critSelect = 0; critSelected = false; }
void BaseAlgorithm::Init(bool testState) { _inTest = testState; InitResult(); if (_inTest) { SetDefaultParams(); InitProcessData(); } _offset = Point(0,0); }
void RBroydenFamily::Initialization(const Problem *prob, const Variable *initialx, LinearOPE *initialH) { SetProbX(prob, initialx, initialH); SetDefaultParams(); };