From a0e4cd6288b8149c38ba0e5459ee59ed3c5f203b Mon Sep 17 00:00:00 2001 From: Jochen Keil Date: Tue, 29 Jun 2010 21:42:02 +0200 Subject: [PATCH] initialize the pheromone matrix with value of 0 --- aco/graph/data/PheromoneData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aco/graph/data/PheromoneData.java b/aco/graph/data/PheromoneData.java index a2efcf1..7fda497 100644 --- a/aco/graph/data/PheromoneData.java +++ b/aco/graph/data/PheromoneData.java @@ -15,7 +15,7 @@ public class PheromoneData { for (int i = 0; i < acom.getNumOfCities(); i++) { for (int j = 0; j < acom.getNumOfCities(); j++) { - setPheromone(i,j, acom.getTauZero() ); + setPheromone(i,j, 0 ); } } -- 2.11.4.GIT