Cosmetics.
This commit is contained in:
parent
c13e1bd656
commit
edbaf50447
@ -8,7 +8,7 @@ import eva2.server.go.individuals.InterfaceGAIndividual;
|
||||
import eva2.tools.math.RNG;
|
||||
|
||||
/** This implementation of Population Based Incremental Learning is only
|
||||
* suited for a BitString based genotyp represenation.
|
||||
* suited for a BitString based genotype representation.
|
||||
* Copyright: Copyright (c) 2003
|
||||
* Company: University of Tuebingen, Computer Architecture
|
||||
* @author Felix Streichert
|
||||
|
@ -256,7 +256,7 @@ public abstract class AbstractOptimizationProblem implements InterfaceOptimizati
|
||||
}
|
||||
|
||||
/**
|
||||
* This method allows you to request a graphical represenation for a given individual.
|
||||
* This method allows you to request a graphical representation for a given individual.
|
||||
* The additional informations generation and funCalls are shown if they are >= 0.
|
||||
* individual.
|
||||
* @param generation generation of the individual or -1
|
||||
|
@ -344,14 +344,6 @@ public class FLensProblem extends AbstractOptimizationProblem implements Interfa
|
||||
return result;
|
||||
}
|
||||
|
||||
/** This method returns a double value that will be displayed in a fitness
|
||||
* plot. A fitness that is to be minimized with a global min of zero
|
||||
* would be best, since log y can be used. But the value can depend on the problem.
|
||||
*/
|
||||
public Double getDoublePlotValue(Population pop) {
|
||||
return new Double(pop.getBestEAIndividual().getFitness(0));
|
||||
}
|
||||
|
||||
/** This method returns the header for the additional data that is to be written into a file
|
||||
* @param pop The population that is to be refined.
|
||||
* @return String
|
||||
@ -400,7 +392,7 @@ public class FLensProblem extends AbstractOptimizationProblem implements Interfa
|
||||
return result;
|
||||
}
|
||||
|
||||
/** This method allows you to request a graphical represenation for a given
|
||||
/** This method allows you to request a graphical representation for a given
|
||||
* individual.
|
||||
*/
|
||||
public JComponent drawIndividual(AbstractEAIndividual indy) {
|
||||
|
@ -69,7 +69,7 @@ public interface InterfaceOptimizationProblem extends InterfaceAdditionalPopulat
|
||||
*/
|
||||
public String getStringRepresentationForProblem(InterfaceOptimizer opt);
|
||||
|
||||
/** This method allows you to request a graphical represenation for a given
|
||||
/** This method allows you to request a graphical representation for a given
|
||||
* individual.
|
||||
*/
|
||||
public JComponent drawIndividual(int generation, int funCalls, AbstractEAIndividual indy);
|
||||
|
@ -172,7 +172,7 @@ public class WingedMultiObjectiveEA implements InterfaceOptimizer, java.io.Seria
|
||||
this.m_Problem.evaluate(this.m_Population);
|
||||
this.m_Population.SetFunctionCalls(oldFunctionCalls);
|
||||
this.firePropertyChangedEvent(Population.nextGenerationPerformed);
|
||||
double plotValue = (this.m_Problem.getDoublePlotValue(this.m_Population)).doubleValue();
|
||||
// double plotValue = (this.m_Problem.getDoublePlotValue(this.m_Population)).doubleValue();
|
||||
// now they are synchronized lets migrate
|
||||
this.migrate();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user