Processor thread now has a name.

Fix several html files.
This commit is contained in:
Fabian Becker 2014-11-14 15:38:26 +01:00
parent b8b44b7644
commit 5a80cb781e
8 changed files with 14 additions and 8 deletions

View File

@ -8,4 +8,4 @@ EvA2 integrates several derivation free optimization methods, preferably populat
<p>EvA2 aims at two groups of users. Firstly, the end user who does not know much about the theory of Evolutionary Algorithms, but wants to use Evolutionary Algorithms to solve an application problem. Secondly, the scientific user who wants to investigate the performance of different optimization algorithms or wants to compare the effect of alternative or specialized evolutionary or heuristic operators. The latter usually knows more about evolutionary algorithms or heuristic optimization and is able to extend EvA2 by adding specific optimization strategies or solution representations.</p> <p>EvA2 aims at two groups of users. Firstly, the end user who does not know much about the theory of Evolutionary Algorithms, but wants to use Evolutionary Algorithms to solve an application problem. Secondly, the scientific user who wants to investigate the performance of different optimization algorithms or wants to compare the effect of alternative or specialized evolutionary or heuristic operators. The latter usually knows more about evolutionary algorithms or heuristic optimization and is able to extend EvA2 by adding specific optimization strategies or solution representations.</p>
<p>EvA2 is being used as teaching aid in lecture tutorials, as a developing platform in student research projects and applied to numerous optimisation problems within active research and ongoing industrial cooperations.</p> <p>EvA2 is being used as teaching aid in lecture tutorials, as a developing platform in student research projects and applied to numerous optimisation problems within active research and ongoing industrial cooperations.</p>
<body> </body>

View File

@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: eva2.gui.Main

View File

@ -5,7 +5,7 @@
<body> <body>
<h1 align="center">Schwefel's (sine root) function</h1> <h1 align="center">Schwefel's (sine root) function</h1>
<center> <center>
<img src="../images/f13-tex-500.jpg" width="650" height="64" aling="center"> <img src="../images/f13-tex-500.jpg" width="650" height="64" align="center">
</center> </center>
<p> <p>
Schwefel's (sine root) function is highly multimodal and has no global basin of attraction. The optimum at a fitness of f(x*)=0 lies at x*=420.9687. Schwefel's sine root is a tough challenge for any global optimizer due to the multiple distinct optima. Especially, there is a deceptive nearly optimal solution close to x=(-420.9687)<SUP>n</SUP>. Schwefel's (sine root) function is highly multimodal and has no global basin of attraction. The optimum at a fitness of f(x*)=0 lies at x*=420.9687. Schwefel's sine root is a tough challenge for any global optimizer due to the multiple distinct optima. Especially, there is a deceptive nearly optimal solution close to x=(-420.9687)<SUP>n</SUP>.

View File

@ -5,7 +5,7 @@
<body> <body>
<h1 align="center">The Step Function</h1> <h1 align="center">The Step Function</h1>
<center> <center>
<img src="../images/steptex.jpg" width="350" height="120" aling="center"> <img src="../images/steptex.jpg" width="350" height="120" align="center">
</center> </center>
<p> <p>
The idea of this function is the implementation of a flat plateau (slope 0)in an underlying continuous function. It's harder for optimization algortihms to find optima because minor changes of the object variables don't affect the fitness. Therefore no conclusions about the search direction can be made. The idea of this function is the implementation of a flat plateau (slope 0)in an underlying continuous function. It's harder for optimization algortihms to find optima because minor changes of the object variables don't affect the fitness. Therefore no conclusions about the search direction can be made.

View File

@ -5,7 +5,7 @@
<body> <body>
<h1 align="center">Ackley's function</h1> <h1 align="center">Ackley's function</h1>
<center> <center>
<img src="../images/ackleytex.jpg" width="500" height="58" aling="center"> <img src="../images/ackleytex.jpg" width="500" height="58" align="center">
</center> </center>
<p> <p>
Ackley's function is multimodal and symmetrical. It is based on an exponential function and modulated by a cosine function. Ackley's function is multimodal and symmetrical. It is based on an exponential function and modulated by a cosine function.

View File

@ -1,11 +1,10 @@
<html> <html>
<head> <head>
<title>Generic Constraints</title> <title>Generic Constraints</title>
</head> </head>
<body> <body>
<h1 align="center">Generic Constraints</h1> <h1 align="center">Generic Constraints</h1>
<br> <br>
<p>To represent generic constraints on real-valued functions, this class can parse <p>To represent generic constraints on real-valued functions, this class can parse
String expressions in prefix notation of the form: String expressions in prefix notation of the form:
<blockquote> <blockquote>

View File

@ -37,7 +37,7 @@ class ArgumentTree extends LinkedHashMap<String, Object> {
} }
/** /**
* If there are no key, value pairs present and the value is unset, * If there are no key/value pairs present and the value is unset,
* this tree belongs to a flag. * this tree belongs to a flag.
* *
* @return * @return

View File

@ -61,6 +61,7 @@ public class Processor extends Thread implements InterfaceProcessor, InterfacePo
optimizationStateListener = module; optimizationStateListener = module;
} }
/** /**
* Construct a Processor instance and make statistics instance informable of * Construct a Processor instance and make statistics instance informable of
* the parameters, such they can by dynamically show additional information. * the parameters, such they can by dynamically show additional information.
@ -165,13 +166,14 @@ public class Processor extends Thread implements InterfaceProcessor, InterfacePo
public Population runOptimizationOnce() { public Population runOptimizationOnce() {
try { try {
EVAERROR.clearMsgCache(); EVAERROR.clearMsgCache();
this.setName(getInfoString());
while (isOptimizationRunning()) { while (isOptimizationRunning()) {
setPriority(3); setPriority(3);
if (saveParams) { if (saveParams) {
try { try {
optimizationParameters.saveInstance(); optimizationParameters.saveInstance();
} catch (Exception e) { } catch (Exception e) {
System.err.println("Error on saveInstance!"); LOGGER.log(Level.WARNING, "Could not save optimization instance!", e);
} }
} }
resultPopulation = this.optimize(); resultPopulation = this.optimize();
@ -194,6 +196,8 @@ public class Processor extends Thread implements InterfaceProcessor, InterfacePo
optimizationStateListener.performedStop(); // is only needed in client server mode optimizationStateListener.performedStop(); // is only needed in client server mode
optimizationStateListener.updateProgress(0, errMsg); optimizationStateListener.updateProgress(0, errMsg);
} }
} finally {
this.setName("Optimization Processor");
} }
return resultPopulation; return resultPopulation;
} }