code: protected void initCommon() {
          this.fitness = problem.getDefaultFitness();
  
          this.temperature = this.startingTemperature;
          this.setLabel("T=" + this.temperature + ", A=" + this.anneal);
  
          this.bestConfiguration = this.activeConfiguration;
          this.bestFitness = this.fitness.getValue(this.activeConfiguration);
  
          // calculate fitness
          this.activeFitness = this.fitness.getValue(this.activeConfiguration);
          this.activeNormalizedFitness = this.fitness.normalize(activeFitness);
      }
docs: Part of init common to all initialization types.