[GRASS-SVN] r51451 - grass/trunk/vector/v.net.allpairs

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Apr 15 03:34:46 EDT 2012


Author: mmetz
Date: 2012-04-15 00:34:46 -0700 (Sun, 15 Apr 2012)
New Revision: 51451

Modified:
   grass/trunk/vector/v.net.allpairs/main.c
   grass/trunk/vector/v.net.allpairs/v.net.allpairs.html
Log:
update documentation

Modified: grass/trunk/vector/v.net.allpairs/main.c
===================================================================
--- grass/trunk/vector/v.net.allpairs/main.c	2012-04-15 06:54:51 UTC (rev 51450)
+++ grass/trunk/vector/v.net.allpairs/main.c	2012-04-15 07:34:46 UTC (rev 51451)
@@ -4,6 +4,7 @@
  * MODULE:     v.net.allpairs
  *
  * AUTHOR(S):  Daniel Bundala
+ *             Markus Metz
  *
  * PURPOSE:    Shortest paths between all nodes
  *
@@ -222,7 +223,7 @@
 	    }
 	}
     }
-    /* check for duplicate cats */
+    /* check for duplicate cats ? */
 
     G_message(_("Writing data into the table..."));
     G_percent_reset();

Modified: grass/trunk/vector/v.net.allpairs/v.net.allpairs.html
===================================================================
--- grass/trunk/vector/v.net.allpairs/v.net.allpairs.html	2012-04-15 06:54:51 UTC (rev 51450)
+++ grass/trunk/vector/v.net.allpairs/v.net.allpairs.html	2012-04-15 07:34:46 UTC (rev 51451)
@@ -1,24 +1,17 @@
 <h2>DESCRIPTION</h2>
 
-<em>v.net.allpairs</em> computes the shortest path between each select 
-node and all other nodes. 
+<em>v.net.allpairs</em> computes the shortest path between each selected 
+node and all other selected nodes. 
 
 <h2>NOTES</h2>
 
-An attribute table is created and linked to <b>layer</b>. The table 
+An attribute table is created and linked to layer 1. The table 
 contains three columns: <em>cat</em>, <em>to_cat</em>, <em>cost</em>. 
 Each entry denotes the cost of the shortest path from <em>cat</em> to 
 <em>to_cat</em>. If the cost is negative then no path exists. If points 
 are specified by <b>cats, layer</b> or <b>where</b> parameters then the 
-table is filled only for the selected points. In other words, <em>cat</em> 
-columns contains only selected points but the distances are computed and 
-updated for <em>all</em> other nodes.<br>
-If flag <b>-a</b> is set then new points are added on nodes without points. 
-These points have the largest category. Precisely, the category of each new 
-point is larger than any of the old categories. If the flag is not set 
-then no new points are created and hence the attribute table stores the 
-costs only between the points already present in the input. Output consists 
-of all points mentioned in either of the columns.<br>
+table is filled only for the selected points.
+<br>
 If <b>abcolumn</b> is not given then then the same costs are used for 
 forward and backward arcs.
 
@@ -62,6 +55,7 @@
 <h2>AUTHORS</h2>
 
 Daniel Bundala, Google Summer of Code 2009, Student<br>
-Wolf Bergenheim, Mentor
+Wolf Bergenheim, Mentor<br>
+Markus Metz
 
 <p><i>Last changed: $Date$</i>



More information about the grass-commit mailing list