fix for a systematic error
commit9dd4ac32390ae85925b105dcf6b13f49eb653852
authorJochen Keil <jochen.keil@gmail.com>
Tue, 29 Jun 2010 19:24:01 +0000 (29 21:24 +0200)
committerJochen Keil <jochen.keil@gmail.com>
Tue, 29 Jun 2010 19:24:01 +0000 (29 21:24 +0200)
treedabedbb44a29db7835335bc4d38a57d1e519a028
parent156477ee2e50b4e7067cdd8a64b5aa0faec5f15c
fix for a systematic error

Computation of pheromones has to be done for all edges also the edge
which returns from the last node to the initial node. Therefore the size
of the GlobalBestTour int array needs to be (Number of Cities) + 1!
aco/ant/Ant.java
aco/environment/Environment.java
aco/environment/data/EnvironmentData.java
aco/strategy/ACOStrategy.java
aco/strategy/ASPheromoneStrategy.java
aco/strategy/EASPheromoneStrategy.java