void CEpuckSCALoopFunction::PostPhysicsEngineStep() { //Update score: +1 if one epuck is in the zone. CVector3 pos; for each robot epuck { if(epuck is inth the zone){ score++; } } } Real CalculateObjectiveFunction() { return score; }