Esempio n. 1
0
 public void initProblem() {
   super.initProblem();
   evalsSinceChange = 0.0;
   evaluations = 0.0;
   changeCounter = 0;
 }
Esempio n. 2
0
 protected void changeProblemAt(double problemTime) {
   super.changeProblemAt(problemTime);
   /* prooving results */
   if (TRACE) writeFile();
   ++changeCounter;
 }
Esempio n. 3
0
 protected void countEvaluation() {
   super.countEvaluation();
   evaluations += 1.;
 }
Esempio n. 4
0
 /**
  * This actually sets the circle radius responsible for the target translation. Should be smaller
  * than the problem space range.
  *
  * @param sev severity (or circle radius) for this problem
  */
 public void setSeverity(double sev) {
   super.setSeverity(sev);
   for (int i = 0; i < getProblemDimension(); i++) {
     radius[i] = sev;
   }
 }