Removed unnecessary import statements.
This commit is contained in:
parent
66d02fa404
commit
b400dbf3f3
@ -109,7 +109,7 @@ public class Plot implements PlotInterface, Serializable {
|
|||||||
try {
|
try {
|
||||||
m_Frame.setIconImage(Toolkit.getDefaultToolkit().createImage(bytes));
|
m_Frame.setIconImage(Toolkit.getDefaultToolkit().createImage(bytes));
|
||||||
} catch (java.lang.NullPointerException e) {
|
} catch (java.lang.NullPointerException e) {
|
||||||
System.out.println("Could not find EvA2 icon, please move resources folder to working directory!");
|
System.err.println("Could not find EvA2 icon, please move resources folder to working directory!");
|
||||||
}
|
}
|
||||||
|
|
||||||
m_ButtonPanel = new JPanel();
|
m_ButtonPanel = new JPanel();
|
||||||
|
@ -19,7 +19,6 @@ import eva2.gui.BeanInspector;
|
|||||||
import eva2.server.go.IndividualInterface;
|
import eva2.server.go.IndividualInterface;
|
||||||
import eva2.server.go.InterfaceTerminator;
|
import eva2.server.go.InterfaceTerminator;
|
||||||
import eva2.server.go.PopulationInterface;
|
import eva2.server.go.PopulationInterface;
|
||||||
import eva2.server.go.individuals.AbstractEAIndividual;
|
|
||||||
import eva2.server.go.operators.distancemetric.PhenotypeMetric;
|
import eva2.server.go.operators.distancemetric.PhenotypeMetric;
|
||||||
import eva2.server.go.populations.InterfaceSolutionSet;
|
import eva2.server.go.populations.InterfaceSolutionSet;
|
||||||
import eva2.server.go.problems.InterfaceOptimizationProblem;
|
import eva2.server.go.problems.InterfaceOptimizationProblem;
|
||||||
|
@ -34,6 +34,9 @@ public abstract class AbstractMultiObjectiveOptimizationProblem extends Abstract
|
|||||||
public ArrayList m_AreaConst4Parallelization = new ArrayList();
|
public ArrayList m_AreaConst4Parallelization = new ArrayList();
|
||||||
protected int m_OutputDimension = 2;
|
protected int m_OutputDimension = 2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TODO
|
||||||
|
*/
|
||||||
public double[][] m_Border;
|
public double[][] m_Border;
|
||||||
transient protected eva2.gui.Plot m_Plot;
|
transient protected eva2.gui.Plot m_Plot;
|
||||||
transient protected JFrame m_Result;
|
transient protected JFrame m_Result;
|
||||||
@ -105,7 +108,9 @@ public abstract class AbstractMultiObjectiveOptimizationProblem extends Abstract
|
|||||||
this.evaluate(tmpIndy);
|
this.evaluate(tmpIndy);
|
||||||
fitness = tmpIndy.getFitness();
|
fitness = tmpIndy.getFitness();
|
||||||
// check and update border if necessary
|
// check and update border if necessary
|
||||||
if (fitness.length != this.m_Border.length) {
|
if (m_Border == null)
|
||||||
|
this.m_Border = new double[fitness.length][2];
|
||||||
|
else if (fitness.length != this.m_Border.length) {
|
||||||
//System.out.println("AbstractMOOptimizationProblem: Warning fitness.length("+fitness.length+") doesn't fit border.length("+this.m_Border.length+")");
|
//System.out.println("AbstractMOOptimizationProblem: Warning fitness.length("+fitness.length+") doesn't fit border.length("+this.m_Border.length+")");
|
||||||
//System.out.println("Resetting the border!");
|
//System.out.println("Resetting the border!");
|
||||||
this.m_Border = new double[fitness.length][2];
|
this.m_Border = new double[fitness.length][2];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user