[GRASS-SVN] r56339 - grass-addons/grass7/raster/r.agent

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 20 14:42:27 PDT 2013


Author: mic
Date: 2013-05-20 14:42:27 -0700 (Mon, 20 May 2013)
New Revision: 56339

Modified:
   grass-addons/grass7/raster/r.agent/r.agent.aco
Log:
fix minimum pheromone

Modified: grass-addons/grass7/raster/r.agent/r.agent.aco
===================================================================
--- grass-addons/grass7/raster/r.agent/r.agent.aco	2013-05-20 21:41:26 UTC (rev 56338)
+++ grass-addons/grass7/raster/r.agent/r.agent.aco	2013-05-20 21:42:27 UTC (rev 56339)
@@ -305,9 +305,9 @@
 #        world.playground.setboundsfromlayer("costs")
 
         if options['maxpheromone']:
-            world.maxpheromone = int(options['maxpheromone']) - 1
+            world.maxpheromone = int(options['maxpheromone'])
         if options['minpheromone']:
-            world.minpheromone = int(options['minpheromone']) - 1
+            world.minpheromone = int(options['minpheromone'])
         if options['volatilizationtime']:
             world.volatilizationtime = int(options['volatilizationtime'])
         if options['stepintensity']:



More information about the grass-commit mailing list