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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 1 08:52:06 EDT 2011


Author: neteler
Date: 2011-11-01 05:52:06 -0700 (Tue, 01 Nov 2011)
New Revision: 49035

Modified:
   grass-addons/grass7/raster/r.agent/r.agent.html
Log:
cosmetics

Modified: grass-addons/grass7/raster/r.agent/r.agent.html
===================================================================
--- grass-addons/grass7/raster/r.agent/r.agent.html	2011-11-01 11:05:32 UTC (rev 49034)
+++ grass-addons/grass7/raster/r.agent/r.agent.html	2011-11-01 12:52:06 UTC (rev 49035)
@@ -9,8 +9,7 @@
 <em>r.agent</em> is written in python for more transparency and
 better extendability.
 <p>
-As a first world example there is an ACO-based
-environement
+As a first world example there is an ACO-based environment
 (see <a href="http://en.wikipedia.org/wiki/Ant_colony_optimization_algorithms">Ant Colony Optimization</a>)
 available.
 <p>
@@ -42,8 +41,8 @@
 <p>
 Unfortunately this script colletion is not very well included in GRASS yet.
 At the moment <em>r.agent</em> only handles ASCII grid and vector in- and
-output data. With a better GRASS integration not only will the code
-get lighter but also this drawbacks shall vanish.
+output data. With a better GRASS integration (arrays) not only will the code
+get lighter but also these drawbacks shall vanish.
 <p>
 ACO works best on dynamic maps -- it constantly tries to improve paths...
 
@@ -53,7 +52,11 @@
 A fictive usecase could look something like this (note: at the moment the
 in- and output variables are still ascii-files):
 <p>
-GRASS 7.0.svn (synthetic at foobar):ragentdir &gt;  ./r.agent.aco  outputmap=out.map penaltymap=testpenalty.grid sitesmap=sites.vect rounds=100 outrounds=100 volatilizationtime=5000 antslife=2000 maxants=400 pathintensity=1000000
+<div class="code"><pre>
+r.agent.aco outputmap=out.map penaltymap=testpenalty.grid \
+  sitesmap=sites.vect rounds=100 outrounds=100 volatilizationtime=5000 \
+  antslife=2000 maxants=400 pathintensity=1000000
+</pre></div>
 <p>
 For running the total test suite on the libraries,
 i.e. to run all the tests that are at the end
@@ -61,11 +64,12 @@
 (for certain tests, the following files must exist though:
  "elev.grid", and "arch.vect"):
 <p>
+<div class="code"><pre>
 user at host:~$ cd /&lt;pathtoaddons&gt;/r.agent/libagent
-<p>
+
 user at host:libagent$ ./alltests.py
+</pre></div>
 
-
 <h2>TODO</h2>
 
 Add GRASS headers (?).
@@ -82,7 +86,6 @@
 <p>
 Implement other ABM scenarios.
 
-
 <h2>SEE ALSO</h2>
 
 <h2>AUTHORS</h2>



More information about the grass-commit mailing list