|
@@ -62,8 +62,8 @@ import ui.model.DecoratedState;
|
|
|
|
|
|
public class PSOAlgorithm implements AddOn {
|
|
|
//Parameter for Algo with default Values:
|
|
|
- private int swarmSize = 20;
|
|
|
- private int maxIterations = 100;
|
|
|
+ private int swarmSize = 150;
|
|
|
+ private int maxIterations = 200;
|
|
|
private double limit = 0.01;
|
|
|
private double dependency = 2.07;
|
|
|
private int rounds = 20;
|
|
@@ -698,7 +698,7 @@ public class PSOAlgorithm implements AddOn {
|
|
|
* @return
|
|
|
*/
|
|
|
private double clamp(double value) {
|
|
|
- return Math.max(-4.0, Math.min(4.0, value));
|
|
|
+ return Math.max(-8.0, Math.min(8.0, value));
|
|
|
}
|
|
|
/**
|
|
|
*
|