Basic tagging interfaces
This commit is contained in:
parent
3ecc1028cd
commit
a6d6b7f5ac
@ -465,7 +465,7 @@ implements InterfaceOptimizationProblem /*, InterfaceParamControllable*/, Serial
|
||||
* Refine a given individual using Nelder-Mead-Simplex local search. Return true, if the refined result is within a given
|
||||
* distance from the original individual in phenotype space. The maxEvaluations parameter gives the maximum evaluations
|
||||
* for the local search. Using the epsilonFitConv parameter one may define a convergence criterion as PhenotypeConvergenceTerminator
|
||||
* which is combined (using OR) with the evaluation counter.
|
||||
* based on the given threshold and 100*dim evaluations, which is combined (using OR) with the evaluation counter.
|
||||
* If maxEvaluations is smaller than zero, a maximum of 500*dim evaluations is employed.
|
||||
* Be aware that this may cost quite some runtime depending on the target
|
||||
* function.
|
||||
|
11
src/eva2/server/go/problems/InterfaceHasSolutionViewer.java
Normal file
11
src/eva2/server/go/problems/InterfaceHasSolutionViewer.java
Normal file
@ -0,0 +1,11 @@
|
||||
package eva2.server.go.problems;
|
||||
|
||||
/**
|
||||
* An interface for problems which have a specific viewer.
|
||||
*
|
||||
* @author mkron
|
||||
*
|
||||
*/
|
||||
public interface InterfaceHasSolutionViewer {
|
||||
public InterfaceSolutionViewer getSolutionViewer();
|
||||
}
|
29
src/eva2/server/go/problems/InterfaceSolutionViewer.java
Normal file
29
src/eva2/server/go/problems/InterfaceSolutionViewer.java
Normal file
@ -0,0 +1,29 @@
|
||||
package eva2.server.go.problems;
|
||||
|
||||
import eva2.server.go.populations.Population;
|
||||
|
||||
/**
|
||||
* A standard interface for solution viewers which display a single (best) solution
|
||||
* or a population of solutions.
|
||||
*
|
||||
* @author mkron
|
||||
*
|
||||
*/
|
||||
public interface InterfaceSolutionViewer {
|
||||
/**
|
||||
* Initialize the view for a certain problem.
|
||||
* @param prob
|
||||
*/
|
||||
public void initView(AbstractOptimizationProblem prob);
|
||||
|
||||
/**
|
||||
* Reset the view.
|
||||
*/
|
||||
public void resetView();
|
||||
|
||||
/**
|
||||
* Update the view by displaying a population of solutions (often only the best one is shown).
|
||||
* @param pop
|
||||
*/
|
||||
public void updateView(Population pop, boolean showAllIfPossible);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user