Rolf Egert il y a 5 ans
Parent
commit
734da0dc01
2 fichiers modifiés avec 3 ajouts et 4 suppressions
  1. 0 1
      plott.txt
  2. 3 3
      src/exampleAlgorithms/PSOAlgorithm.java

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 1
plott.txt


+ 3 - 3
src/exampleAlgorithms/PSOAlgorithm.java

@@ -62,8 +62,8 @@ import ui.model.DecoratedState;
 
 public class PSOAlgorithm implements Algorithm {
 	//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 Algorithm {
 	 * @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));
 	}
 	/**
 	 * 

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff