[GRASS-SVN] r70862 - in grass-addons/grass7/raster/r.pi: . r.pi.corearea r.pi.corr.mw r.pi.csr.mw r.pi.energy r.pi.energy.pr r.pi.enn r.pi.enn.pr r.pi.export r.pi.fnn r.pi.graph r.pi.graph.dec r.pi.graph.pr r.pi.graph.red r.pi.grow r.pi.import r.pi.index r.pi.lm r.pi.neigh r.pi.nlm.circ r.pi.odc r.pi.prob.mw r.pi.prox r.pi.rectangle r.pi.searchtime r.pi.searchtime.mw r.pi.searchtime.pr

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 11 06:07:23 PDT 2017


Author: mmetz
Date: 2017-04-11 06:07:23 -0700 (Tue, 11 Apr 2017)
New Revision: 70862

Added:
   grass-addons/grass7/raster/r.pi/r.pi.energy.pr/
   grass-addons/grass7/raster/r.pi/r.pi.energy.pr/r.pi.energy.pr.html
   grass-addons/grass7/raster/r.pi/r.pi.enn.pr/
   grass-addons/grass7/raster/r.pi/r.pi.enn.pr/r.pi.enn.pr.html
   grass-addons/grass7/raster/r.pi/r.pi.graph.pr/
   grass-addons/grass7/raster/r.pi/r.pi.graph.pr/r.pi.graph.pr.html
   grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/
   grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/r.pi.searchtime.pr.html
Removed:
   grass-addons/grass7/raster/r.pi/r.pi.energy.iter/
   grass-addons/grass7/raster/r.pi/r.pi.energy.pr/r.pi.energy.iter.html
   grass-addons/grass7/raster/r.pi/r.pi.enn.iter/
   grass-addons/grass7/raster/r.pi/r.pi.enn.pr/r.pi.enn.iter.html
   grass-addons/grass7/raster/r.pi/r.pi.graph.iter/
   grass-addons/grass7/raster/r.pi/r.pi.graph.pr/r.pi.graph.iter.html
   grass-addons/grass7/raster/r.pi/r.pi.searchtime.iter/
   grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/r.pi.searchtime.iter.html
Modified:
   grass-addons/grass7/raster/r.pi/Makefile
   grass-addons/grass7/raster/r.pi/description.html
   grass-addons/grass7/raster/r.pi/r.pi.corearea/main.c
   grass-addons/grass7/raster/r.pi/r.pi.corr.mw/main.c
   grass-addons/grass7/raster/r.pi/r.pi.csr.mw/main.c
   grass-addons/grass7/raster/r.pi/r.pi.csr.mw/r.pi.csr.mw.html
   grass-addons/grass7/raster/r.pi/r.pi.energy.pr/Makefile
   grass-addons/grass7/raster/r.pi/r.pi.energy.pr/main.c
   grass-addons/grass7/raster/r.pi/r.pi.energy/main.c
   grass-addons/grass7/raster/r.pi/r.pi.enn.pr/Makefile
   grass-addons/grass7/raster/r.pi/r.pi.enn.pr/main.c
   grass-addons/grass7/raster/r.pi/r.pi.enn/main.c
   grass-addons/grass7/raster/r.pi/r.pi.enn/r.pi.enn.html
   grass-addons/grass7/raster/r.pi/r.pi.export/main.c
   grass-addons/grass7/raster/r.pi/r.pi.export/r.pi.export.html
   grass-addons/grass7/raster/r.pi/r.pi.fnn/main.c
   grass-addons/grass7/raster/r.pi/r.pi.graph.dec/main.c
   grass-addons/grass7/raster/r.pi/r.pi.graph.dec/r.pi.graph.dec.html
   grass-addons/grass7/raster/r.pi/r.pi.graph.pr/Makefile
   grass-addons/grass7/raster/r.pi/r.pi.graph.pr/main.c
   grass-addons/grass7/raster/r.pi/r.pi.graph.red/main.c
   grass-addons/grass7/raster/r.pi/r.pi.graph.red/r.pi.graph.red.html
   grass-addons/grass7/raster/r.pi/r.pi.graph/main.c
   grass-addons/grass7/raster/r.pi/r.pi.graph/r.pi.graph.html
   grass-addons/grass7/raster/r.pi/r.pi.grow/main.c
   grass-addons/grass7/raster/r.pi/r.pi.grow/r.pi.grow.html
   grass-addons/grass7/raster/r.pi/r.pi.import/main.c
   grass-addons/grass7/raster/r.pi/r.pi.index/main.c
   grass-addons/grass7/raster/r.pi/r.pi.lm/main.c
   grass-addons/grass7/raster/r.pi/r.pi.lm/r.pi.lm.html
   grass-addons/grass7/raster/r.pi/r.pi.neigh/main.c
   grass-addons/grass7/raster/r.pi/r.pi.nlm.circ/main.c
   grass-addons/grass7/raster/r.pi/r.pi.odc/main.c
   grass-addons/grass7/raster/r.pi/r.pi.prob.mw/main.c
   grass-addons/grass7/raster/r.pi/r.pi.prob.mw/r.pi.prob.mw.html
   grass-addons/grass7/raster/r.pi/r.pi.prox/main.c
   grass-addons/grass7/raster/r.pi/r.pi.rectangle/main.c
   grass-addons/grass7/raster/r.pi/r.pi.rectangle/r.pi.rectangle.html
   grass-addons/grass7/raster/r.pi/r.pi.searchtime.mw/main.c
   grass-addons/grass7/raster/r.pi/r.pi.searchtime.mw/r.pi.searchtime.mw.html
   grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/Makefile
   grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/main.c
   grass-addons/grass7/raster/r.pi/r.pi.searchtime/main.c
Log:
r.pi: move r.pi.*.iter back to r.pi.*.pr

Modified: grass-addons/grass7/raster/r.pi/Makefile
===================================================================
--- grass-addons/grass7/raster/r.pi/Makefile	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/Makefile	2017-04-11 13:07:23 UTC (rev 70862)
@@ -8,14 +8,14 @@
 	r.pi.corrwin \
 	r.pi.csr.mw \
 	r.pi.energy \
-	r.pi.energy.iter \
+	r.pi.energy.pr \
 	r.pi.enn \
-	r.pi.enn.iter \
+	r.pi.enn.pr \
 	r.pi.export \
 	r.pi.fnn \
 	r.pi.graph \
 	r.pi.graph.dec \
-	r.pi.graph.iter \
+	r.pi.graph.pr \
 	r.pi.graph.red \
 	r.pi.grow \
 	r.pi.import \
@@ -30,8 +30,8 @@
 	r.pi.prox \
 	r.pi.rectangle \
 	r.pi.searchtime \
-	r.pi.searchtime.iter \
-	r.pi.searchtime.mw
+	r.pi.searchtime.mw \
+	r.pi.searchtime.pr
 
 include $(MODULE_TOPDIR)/include/Make/Dir.make
 

Modified: grass-addons/grass7/raster/r.pi/description.html
===================================================================
--- grass-addons/grass7/raster/r.pi/description.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/description.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -28,11 +28,11 @@
 
 <li><em>r.pi.rectangle</em>  - Performs statistical analysis on values of patches from the given raster map.
 <li><em>r.pi.energy</em>  - Individual-based dispersal model for connectivity analysis - energy based.
-<li><em>r.pi.energy.iter</em>  - Individual-based dispersal model for connectivity analysis (energy based) using iterative patch removal.
+<li><em>r.pi.energy.pr</em>  - Individual-based dispersal model for connectivity analysis (energy based) using iterative patch removal.
 <li><em>r.pi.fragment.dist</em>  - Calculates correlation of two raster maps by calculating correlation function of two corresponding rectangular areas for each raster point and writing the result into a new raster map.
 <li><em>r.pi.enn</em>  - Determines patches of given value and performs a nearest-neighbor analysis.
 <li><em>r.pi.index</em>  - Computation of fragmentation indices.
-<li><em>r.pi.enn.iter</em>  - Patch relevance for Euclidean Nearest Neighbor patches.
+<li><em>r.pi.enn.pr</em>  - Patch relevance for Euclidean Nearest Neighbor patches.
 <li><em>r.pi.neigh</em>  - Neighbourhood analysis - value of patches within a defined range.
 <li><em>r.pi.enn</em>  - Analysis of n-th Euclidean Nearest Neighbor distance.
 <li><em>r.pi.nlm</em>  - Creates a random generated map with values 0 or 1by given landcover and fragment count.
@@ -43,7 +43,7 @@
 <li><em>r.pi.csr.mw</em>  - Complete Spatial Randomness analysis on moving window.
 <li><em>r.pi.export</em>  - Export of patch based information.
 <li><em>r.pi.graph</em>  - Graph Theory for connectivity analysis.
-<li><em>r.pi.graph.iter</em>  - Graph Theory - iterative removal (patch relevance analysis).
+<li><em>r.pi.graph.pr</em>  - Graph Theory - iterative removal (patch relevance analysis).
 <li><em>r.pi.graph.red</em>  - Graph Theory - decreasing distance threshold option.
 <li><em>r.pi.grow</em>  - Size and suitability based region growing.
 <li><em>r.pi.import</em>  - Import and generation of patch raster data
@@ -52,7 +52,7 @@
 <li><em>r.pi.prob.mw</em>  - Probability analysis of 2 random points being in the same patch.
 <li><em>r.pi.rectangle</em>  - Generates a rectangle based on a corner coordinate.
 <li><em>r.pi.searchtime</em>  - Individual-based dispersal model for connectivity analysis (time-based)
-<li><em>r.pi.searchtime.iter</em>  - Individual-based dispersal model for connectivity analysis (time-based) using iterative removal of patches
+<li><em>r.pi.searchtime.pr</em>  - Individual-based dispersal model for connectivity analysis (time-based) using iterative removal of patches
 <li><em>r.pi.searchtime.mw</em>  - Individual-based dispersal model for connectivity analysis (time-based) using moving window
 
 <p>
@@ -81,9 +81,9 @@
 
 <h3>Patch-Relevance</h3>
  <ul>
-<li><b><a href="r.pi.enn.iter.html">r.pi.enn.iter</a></b>:Relevance of patches for maintenance of distance to first Nearest Neighbor</li>
-<li><b><a href="r.pi.searchtime.iter.html">r.pi.searchtime.iter</a></b>:Relevance of patches for maintenance of searchtime</li>
-<li><b><a href="r.pi.energy.iter.html">r.pi.energy.iter</a></b>:Relevance of patches for maintenance of immigration rate</li>
+<li><b><a href="r.pi.enn.pr.html">r.pi.enn.pr</a></b>:Relevance of patches for maintenance of distance to first Nearest Neighbor</li>
+<li><b><a href="r.pi.searchtime.pr.html">r.pi.searchtime.pr</a></b>:Relevance of patches for maintenance of searchtime</li>
+<li><b><a href="r.pi.energy.pr.html">r.pi.energy.pr</a></b>:Relevance of patches for maintenance of immigration rate</li>
 <li><b><a href="r.pi.graph.red.html">r.pi.graph.red</a></b>:Relevance of patches ....</li>
 <li><b><a href="r.pi.graph.dec.html">r.pi.graph.dec</a></b>:Relevance of patches ....</li>
  </ul>
@@ -148,25 +148,22 @@
 <h2>SEE ALSO</h2>
 
 <em>
-<a href="r.buffer.rect.html">r.buffer.rect</a>,
-<a href="r.corr.mw.html">r.corr.mw</a>,
-<a href="r.energy.html">r.energy</a>,
-<a href="r.energy.iter.html">r.energy.iter</a>,
-<a href="r.fragment.html">r.fragment</a>,
-<a href="r.fragment.dist.html">r.fragment.dist</a>,
-<a href="r.fragment.enn.html">r.fragment.enn</a>,
-<a href="r.fragment.iter.html">r.fragment.iter</a>,
-<a href="r.fragment.neighbors.html">r.fragment.neighbors</a>,
-<a href="r.fragment.nn.html">r.fragment.nn</a>,
-<a href="r.nlm.html">r.nlm</a>,
-<a href="r.nlm.fractal.html">r.nlm.fractal</a>,
-<a href="r.nlm.stats.html">r.nlm.stats</a>,
+<a href="r.pi.corr.mw.html">r.pi.corr.mw</a>,
+<a href="r.pi.energy.html">r.pi.energy</a>,
+<a href="r.pi.energy.pr.html">r.energy.pr</a>,
+<a href="r.pi.enn.html">r.pi.enn</a>,
+<a href="r.pi.enn.pr.html">r.pi.enn.pr</a>,
+<a href="r.pi.neigh.html">r.pi.neigh</a>,
+<a href="r.pi.fnn.html">r.pi.fnn</a>,
+<a href="r.pi.nlm.circ.html">r.pi.nlm.circ</a>,
+<a href="r.pi.nlm.html">r.pi.nlm</a>,
+<a href="r.pi.nlm.stats.html">r.nlm.stats</a>,
 <a href="r.pi.corearea.html">r.pi.corearea</a>,
 <a href="r.pi.csr.mw.html">r.pi.csr.mw</a>,
 <a href="r.pi.export.html">r.pi.export</a>,
 <a href="r.pi.graph.html">r.pi.graph</a>,
 <a href="r.pi.graph.dec.html">r.pi.graph.dec</a>,
-<a href="r.pi.graph.iter.html">r.pi.graph.iter</a>,
+<a href="r.pi.graph.pr.html">r.pi.graph.pr</a>,
 <a href="r.pi.graph.red.html">r.pi.graph.red</a>,
 <a href="r.pi.grow.html">r.pi.grow</a>,
 <a href="r.pi.import.html">r.pi.import</a>,
@@ -175,9 +172,9 @@
 <a href="r.pi.odc.html">r.pi.odc</a>,
 <a href="r.pi.prob.mw.html">r.pi.prob.mw</a>,
 <a href="r.pi.rectangle.html">r.pi.rectangle</a>,
-<a href="r.searchtime.html">r.searchtime</a>,
-<a href="r.searchtime.iter.html">r.searchtime.iter</a>,
-<a href="r.searchtime.mw.html">r.searchtime.mw</a>
+<a href="r.pi.searchtime.html">r.pi.searchtime</a>,
+<a href="r.pi.searchtime.pr.html">r.pi.searchtime.pr</a>,
+<a href="r.pi.searchtime.mw.html">r.pi.searchtime.mw</a>
 <p>
 <a href="r.le.html">r.le</a>,
 <a href="r.li.html">r.li</a>

Modified: grass-addons/grass7/raster/r.pi/r.pi.corearea/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.corearea/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.corearea/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -6,7 +6,7 @@
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Non-linear core area analysis
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.corr.mw/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.corr.mw/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.corr.mw/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -7,7 +7,7 @@
  * PURPOSE:      Moving window correlation analysis
  *               Put together from pieces of r.covar and r.neighbors
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.csr.mw/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.csr.mw/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.csr.mw/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -6,7 +6,7 @@
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Analysis of CSR (complete spatial randomness) based on movinw window
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.csr.mw/r.pi.csr.mw.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.csr.mw/r.pi.csr.mw.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.csr.mw/r.pi.csr.mw.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -1,6 +1,8 @@
 <h2>DESCRIPTION</h2>
 
-Complete Spatial Randomness (CSR) analysis based on a moving window.  This function uses either the Clark and Evans (1954) or Donnelly (1978) aggregation index for testing of clustering of point patterns.
+Complete Spatial Randomness (CSR) analysis based on a moving window.  
+This function uses either the Clark and Evans (1954) or Donnelly (1978) 
+aggregation index for testing of clustering of point patterns.
 
 <h2>NOTES</h2>
 
@@ -32,7 +34,7 @@
 <a href="r.pi.export.html">r.pi.export</a>,
 <a href="r.pi.graph.html">r.pi.graph</a>,
 <a href="r.pi.graph.dec.html">r.pi.graph.dec</a>,
-<a href="r.pi.graph.iter.html">r.pi.graph.iter</a>,
+<a href="r.pi.graph.pr.html">r.pi.graph.pr</a>,
 <a href="r.pi.graph.red.html">r.pi.graph.red</a>,
 <a href="r.pi.grow.html">r.pi.grow</a>,
 <a href="r.pi.import.html">r.pi.import</a>,

Modified: grass-addons/grass7/raster/r.pi/r.pi.energy/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.energy/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.energy/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -6,7 +6,7 @@
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Individual-based dispersal model for connectivity analysis - energy-based
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.energy.pr/Makefile
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.energy.iter/Makefile	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.energy.pr/Makefile	2017-04-11 13:07:23 UTC (rev 70862)
@@ -1,6 +1,6 @@
 MODULE_TOPDIR = ../../..
 
-PGM = r.pi.energy.iter
+PGM = r.pi.energy.pr
 
 LIB_NAME = grass_rpi
 RPI_LIB  = -l$(LIB_NAME)

Modified: grass-addons/grass7/raster/r.pi/r.pi.energy.pr/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.energy.iter/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.energy.pr/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -1,13 +1,13 @@
 /*
  ****************************************************************************
  *
- * MODULE:       r.pi.energy.iter
+ * MODULE:       r.pi.energy.pr
  * AUTHOR(S):    Elshad Shirinov, Dr. Martin Wegmann
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Individual-based dispersal model for connectivity analysis - energy-based
  *                - iterative removal of patches for patch relevance analysis
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Deleted: grass-addons/grass7/raster/r.pi/r.pi.energy.pr/r.pi.energy.iter.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.energy.iter/r.pi.energy.iter.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.energy.pr/r.pi.energy.iter.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -1,67 +0,0 @@
-<h2>DESCRIPTION</h2>
-
-This function is based on <em>r.pi.energy</em> but adds the functionality of iterative patch removal for testing of patch importance to maintain the landscape connectivity integrity. Isolation or connectivity of singular patches of a defined landcover class are analysed using individual-based dispersal models. This functions uses a maximum amount of energy for each individuals dispersing through the landscape which is deminished by a fricition or cost map. Unlike the related function <em>r.pi.energy</em> does this function allows individuals to stay or move within a patch until the energy is depleted.
-
-<h2>NOTES</h2>
-
-Amount of successful immigrants or emigrants are not taken individual into account which emigrated from and immigrated into the same patch (pseudo immigration).
-
-The suitability matrix impacts the step direction, while the costmap relates to the depletion of assigned energy.
-
-<h2>EXAMPLE</h2>
-
-An example for the North Carolina sample dataset:
-
-The amount (average) and variance with or without the respective patch of successful emigrants (*_emi), immigrants (*_imi), the percentage of immigrants per patch (*_imi_percent), the amount of lost indivuals (*_lost), the amount of migrants (*_mig), successful (*_mig_succ) and unsuccessful migrants (_mig_unsucc) can be retrieved using this command:
-<div class="code"><pre>
-r.pi.energy.iter input=landclass96 output=energyiter1 keyval=5 n=1000 step_length=5 energy=10 percent=80 stats=average,variance
-</pre></div>
-
-introducing costs for movement results in different immigration counts:
-<div class="code"><pre>
-r.mapcalc "cost_raster = if(landclass96==5,1,if(landclass96 == 1, 10, if (landclass96==3,2, if(landclass96==4,1,if(landclass96==6,100)))))"
-r.pi.energy.iter input=landclass96 output=energy1 keyval=5 n=1000 step_length=5 energy=10 percent=80 stats=average costmap=cost_raster
-</pre></div>
-
-introducing a suitability for the movement:
-<div class="code"><pre>
-# the suitability for the next step selection is defined as: class 5 and 3 (forest and grassland) have a high suitability, while shrubland (class 4) only a moderate and water and developed areas (class 6 and 1) have a very low suitability:
-r.mapcalc "suit_raster = if(landclass96==5,100,if(landclass96 == 3, 100, if (landclass96==1,1, if(landclass96==6,1,if(landclass96==4,50)))))"
-r.pi.energy.iter input=landclass96 output=energyiter3 keyval=5 n=1000 step_length=5 energy=10 percent=80 suitability=suit_raster stats=average,variance
-</pre></div>
-
-further settings can be changed and information retrieved:
-
-setting the perception range to 10 pixel:
-<div class="code"><pre>
-r.pi.energy.iter input=landclass96 output=energyiter keyval=5 n=1000 step_length=5 energy=10 percent=80 perception=10 stats=average
-</pre></div>
-
-increasing the attraction to move towards patches to 10:
-<div class="code"><pre>
-r.pi.energy input=landclass96 output=energyiter keyval=5 n=1000 step_length=5 energy=10 percent=80 stats=average multiplicator=10
-</pre></div>
-
-output of each movement location for a defined step frequency. Here every 10th step is provided as output raster:
-<div class="code"><pre>
-r.pi.energy input=landclass96 output=energyiter keyval=5 n=1000 step_length=5 energy=10 percent=80 stats=average out_freq=10
-</pre></div>
-
-
-<h2>SEE ALSO</h2>
-
-<em>
-<a href="r.pi.energy.html">r.pi.energy</a>,
-<a href="r.pi.searchtime.html">r.pi.searchtime</a>,
-<a href="r.pi.html">r.pi</a>
-</em>
-
-<h2>AUTHORS</h2>
-Programming: Elshad Shirinov<br>
-Scientific concept: Dr. Martin Wegmann<br>
-Department of Remote Sensing<br>
-Remote Sensing and Biodiversity Unit<br>
-University of Wuerzburg, Germany
-
-<p>
-<i>Last changed: $Date$</i>

Copied: grass-addons/grass7/raster/r.pi/r.pi.energy.pr/r.pi.energy.pr.html (from rev 70857, grass-addons/grass7/raster/r.pi/r.pi.energy.iter/r.pi.energy.iter.html)
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.energy.pr/r.pi.energy.pr.html	                        (rev 0)
+++ grass-addons/grass7/raster/r.pi/r.pi.energy.pr/r.pi.energy.pr.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -0,0 +1,88 @@
+<h2>DESCRIPTION</h2>
+
+This function is based on <em>r.pi.energy</em> but adds the 
+functionality of iterative patch removal for testing of patch 
+relevance to maintain the landscape connectivity integrity. Isolation 
+or connectivity of singular patches of a defined landcover class are 
+analysed using individual-based dispersal models. This functions uses a 
+maximum amount of energy for each individuals dispersing through the 
+landscape which is deminished by a fricition or cost map. Unlike the 
+related function <em>r.pi.energy</em> does this function allows 
+individuals to stay or move within a patch until the energy is 
+depleted.
+
+<h2>NOTES</h2>
+
+Amount of successful immigrants or emigrants are not taken individual 
+into account which emigrated from and immigrated into the same patch 
+(pseudo immigration).
+<p>
+The suitability matrix impacts the step direction, while the costmap 
+relates to the depletion of assigned energy.
+
+<h2>EXAMPLE</h2>
+
+An example for the North Carolina sample dataset:
+
+The amount (average) and variance with or without the respective patch 
+of successful emigrants (*_emi), immigrants (*_imi), the percentage of 
+immigrants per patch (*_imi_percent), the amount of lost indivuals 
+(*_lost), the amount of migrants (*_mig), successful (*_mig_succ) and 
+unsuccessful migrants (_mig_unsucc) can be retrieved using this 
+command:
+<div class="code"><pre>
+r.pi.energy.pr input=landclass96 output=energyiter1 keyval=5 n=1000 step_length=5 energy=10 percent=80 stats=average,variance
+</pre></div>
+
+introducing costs for movement results in different immigration counts:
+<div class="code"><pre>
+r.mapcalc "cost_raster = if(landclass96==5,1,if(landclass96 == 1, 10, if (landclass96==3,2, if(landclass96==4,1,if(landclass96==6,100)))))"
+r.pi.energy.pr input=landclass96 output=energy1 keyval=5 n=1000 step_length=5 energy=10 percent=80 stats=average costmap=cost_raster
+</pre></div>
+
+introducing a suitability for the movement:
+<div class="code"><pre>
+# the suitability for the next step selection is defined as: 
+# class 5 and 3 (forest and grassland) have a high suitability, 
+# while shrubland (class 4) only a moderate and water and developed 
+# areas (class 6 and 1) have a very low suitability:
+
+r.mapcalc "suit_raster = if(landclass96==5,100,if(landclass96 == 3, 100, if (landclass96==1,1, if(landclass96==6,1,if(landclass96==4,50)))))"
+r.pi.energy.pr input=landclass96 output=energyiter3 keyval=5 n=1000 step_length=5 energy=10 percent=80 suitability=suit_raster stats=average,variance
+</pre></div>
+
+further settings can be changed and information retrieved:
+
+setting the perception range to 10 pixel:
+<div class="code"><pre>
+r.pi.energy.pr input=landclass96 output=energyiter keyval=5 n=1000 step_length=5 energy=10 percent=80 perception=10 stats=average
+</pre></div>
+
+increasing the attraction to move towards patches to 10:
+<div class="code"><pre>
+r.pi.energy input=landclass96 output=energyiter keyval=5 n=1000 step_length=5 energy=10 percent=80 stats=average multiplicator=10
+</pre></div>
+
+output of each movement location for a defined step frequency. Here every 10th step is provided as output raster:
+<div class="code"><pre>
+r.pi.energy input=landclass96 output=energyiter keyval=5 n=1000 step_length=5 energy=10 percent=80 stats=average out_freq=10
+</pre></div>
+
+
+<h2>SEE ALSO</h2>
+
+<em>
+<a href="r.pi.energy.html">r.pi.energy</a>,
+<a href="r.pi.searchtime.html">r.pi.searchtime</a>,
+<a href="r.pi.html">r.pi</a>
+</em>
+
+<h2>AUTHORS</h2>
+Programming: Elshad Shirinov<br>
+Scientific concept: Dr. Martin Wegmann<br>
+Department of Remote Sensing<br>
+Remote Sensing and Biodiversity Unit<br>
+University of Wuerzburg, Germany
+
+<p>
+<i>Last changed: $Date$</i>

Modified: grass-addons/grass7/raster/r.pi/r.pi.enn/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.enn/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.enn/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -7,7 +7,7 @@
  * PURPOSE:      Analysis of n-th euclidean nearest neighbour distance
  *                               and spatial attributes of nearest neighbour patches
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.enn/r.pi.enn.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.enn/r.pi.enn.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.enn/r.pi.enn.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -117,7 +117,7 @@
 <a href="r.pi.index.html">r.pi.index</a>,
 <a href="r.fragment.dist.html">r.fragment.dist</a>,
 <a href="r.pi.enn.html">r.pi.enn</a>,
-<a href="r.pi.enn.iter.html">r.pi.enn.iter</a>,
+<a href="r.pi.enn.pr.html">r.pi.enn.pr</a>,
 <a href="r.fragment.neighbors.html">r.fragment.neighbors</a>,
 <a href="r.li.setup.html">r.li</a>
 </em>

Modified: grass-addons/grass7/raster/r.pi/r.pi.enn.pr/Makefile
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.enn.iter/Makefile	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.enn.pr/Makefile	2017-04-11 13:07:23 UTC (rev 70862)
@@ -1,6 +1,6 @@
 MODULE_TOPDIR = ../../..
 
-PGM = r.pi.enn.iter
+PGM = r.pi.enn.pr
 
 LIB_NAME = grass_rpi
 RPI_LIB  = -l$(LIB_NAME)

Modified: grass-addons/grass7/raster/r.pi/r.pi.enn.pr/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.enn.iter/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.enn.pr/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -1,12 +1,12 @@
 /*
  ****************************************************************************
  *
- * MODULE:       r.pi.enn.iter
+ * MODULE:       r.pi.enn.pr
  * AUTHOR(S):    Elshad Shirinov, Dr. Martin Wegmann
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Iterative removal of patches and analysis of patch relevance
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Deleted: grass-addons/grass7/raster/r.pi/r.pi.enn.pr/r.pi.enn.iter.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.enn.iter/r.pi.enn.iter.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.enn.pr/r.pi.enn.iter.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -1,48 +0,0 @@
-<h2>DESCRIPTION</h2>
-
-Patch relevance for Euclidean Nearest Neighbor patches.
-
-<em>r.pi.enn.iter</em> computes distance and area
-differences for the first NN after removal of patch i.
-
-
-<h2>NOTES</h2>
-
-The <em>keyval</em> operator determines which category value is taken for
-the Patch Index analysis.
-
-The <em>method</em> operators determine what measure is applied 
-on the nth NN (area or distance).
-
-Differences of distance/area after removal of patch i are provided as output as well as 
-the amount of patches to be affected by its removal (percent) (PP) and
-the amount of area in these patches (PA - Percent Area)
-
-<h2>EXAMPLE</h2>
-
-An example for the North Carolina sample dataset:
-
-Analysing the differences (average) in distance when patch i of class 5 is removed:
-<div class="code"><pre>
-r.pi.enn.iter input=landclass96 output=dist_iter keyval=5 method=distance statmethod=average 
-</pre></div>
-
-<h2>SEE ALSO</h2>
-
-<em>
-<a href="r.pi.index.html">r.pi.index</a>,
-<a href="r.pi.enn.html">r.pi.enn</a>,
-<a href="r.pi.fnn.html">r.pi.fnn</a>,
-<a href="r.pi.searchtime.iter.html">r.pi.searchtime.iter</a>,
-
-</em>
-
-<h2>AUTHORS</h2>
-Programming: Elshad Shirinov<br>
-Scientific concept: Dr. Martin Wegmann<br>
-Department of Remote Sensing<br>
-Remote Sensing and Biodiversity Unit<br>
-University of Wuerzburg, Germany
-
-<p>
-<i>Last changed: $Date$</i>

Copied: grass-addons/grass7/raster/r.pi/r.pi.enn.pr/r.pi.enn.pr.html (from rev 70857, grass-addons/grass7/raster/r.pi/r.pi.enn.iter/r.pi.enn.iter.html)
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.enn.pr/r.pi.enn.pr.html	                        (rev 0)
+++ grass-addons/grass7/raster/r.pi/r.pi.enn.pr/r.pi.enn.pr.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -0,0 +1,48 @@
+<h2>DESCRIPTION</h2>
+
+Patch relevance for Euclidean Nearest Neighbor patches.
+<p>
+<em>r.pi.enn.pr</em> computes distance and area
+differences for the first NN after removal of patch i.
+
+
+<h2>NOTES</h2>
+
+The <em>keyval</em> operator determines which category value is taken for
+the Patch Index analysis.
+<p>
+The <em>method</em> operators determine what measure is applied 
+on the nth NN (area or distance).
+<p>
+Differences of distance/area after removal of patch i are provided as output as well as 
+the amount of patches to be affected by its removal (percent) (PP) and
+the amount of area in these patches (PA - Percent Area)
+
+<h2>EXAMPLE</h2>
+
+An example for the North Carolina sample dataset:
+<p>
+Analysing the differences (average) in distance when patch i of class 5 is removed:
+<div class="code"><pre>
+r.pi.enn.pr input=landclass96 output=dist_iter keyval=5 method=distance statmethod=average 
+</pre></div>
+
+<h2>SEE ALSO</h2>
+
+<em>
+<a href="r.pi.index.html">r.pi.index</a>,
+<a href="r.pi.enn.html">r.pi.enn</a>,
+<a href="r.pi.fnn.html">r.pi.fnn</a>,
+<a href="r.pi.searchtime.pr.html">r.pi.searchtime.pr</a>,
+
+</em>
+
+<h2>AUTHORS</h2>
+Programming: Elshad Shirinov<br>
+Scientific concept: Dr. Martin Wegmann<br>
+Department of Remote Sensing<br>
+Remote Sensing and Biodiversity Unit<br>
+University of Wuerzburg, Germany
+
+<p>
+<i>Last changed: $Date$</i>

Modified: grass-addons/grass7/raster/r.pi/r.pi.export/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.export/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.export/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -6,7 +6,7 @@
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Export of patch based raster information
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.export/r.pi.export.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.export/r.pi.export.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.export/r.pi.export.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -35,7 +35,7 @@
 <a href="r.pi.csr.mw.html">r.pi.csr.mw</a>,
 <a href="r.pi.graph.html">r.pi.graph</a>,
 <a href="r.pi.graph.dec.html">r.pi.graph.dec</a>,
-<a href="r.pi.graph.iter.html">r.pi.graph.iter</a>,
+<a href="r.pi.graph.pr.html">r.pi.graph.pr</a>,
 <a href="r.pi.graph.red.html">r.pi.graph.red</a>,
 <a href="r.pi.grow.html">r.pi.grow</a>,
 <a href="r.pi.import.html">r.pi.import</a>,

Modified: grass-addons/grass7/raster/r.pi/r.pi.fnn/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.fnn/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.fnn/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -7,7 +7,7 @@
  * PURPOSE:      Analysis of n-th functional/ecological nearest neighbour
  *                               distance and spatial attributes of nearest neighbour patches
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.graph/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.graph/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.graph/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -6,7 +6,7 @@
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Graph Theory approach for connectivity analysis on patch level
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.graph/r.pi.graph.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.graph/r.pi.graph.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.graph/r.pi.graph.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -30,7 +30,7 @@
 <a href="r.pi.csr.mw.html">r.pi.csr.mw</a>,
 <a href="r.pi.export.html">r.pi.export</a>,
 <a href="r.pi.graph.dec.html">r.pi.graph.dec</a>,
-<a href="r.pi.graph.iter.html">r.pi.graph.iter</a>,
+<a href="r.pi.graph.pr.html">r.pi.graph.pr</a>,
 <a href="r.pi.graph.red.html">r.pi.graph.red</a>,
 <a href="r.pi.grow.html">r.pi.grow</a>,
 <a href="r.pi.import.html">r.pi.import</a>,

Modified: grass-addons/grass7/raster/r.pi/r.pi.graph.dec/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.graph.dec/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.graph.dec/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -7,7 +7,7 @@
  * PURPOSE:      Graph Theory approach for connectivity analysis on patch 
  *                      level - successive removal of patches based on defined criteria
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.graph.dec/r.pi.graph.dec.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.graph.dec/r.pi.graph.dec.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.graph.dec/r.pi.graph.dec.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -23,7 +23,7 @@
 <a href="r.pi.csr.mw.html">r.pi.csr.mw</a>,
 <a href="r.pi.export.html">r.pi.export</a>,
 <a href="r.pi.graph.html">r.pi.graph</a>,
-<a href="r.pi.graph.iter.html">r.pi.graph.iter</a>,
+<a href="r.pi.graph.pr.html">r.pi.graph.pr</a>,
 <a href="r.pi.graph.red.html">r.pi.graph.red</a>,
 <a href="r.pi.grow.html">r.pi.grow</a>,
 <a href="r.pi.import.html">r.pi.import</a>,

Modified: grass-addons/grass7/raster/r.pi/r.pi.graph.pr/Makefile
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.graph.iter/Makefile	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.graph.pr/Makefile	2017-04-11 13:07:23 UTC (rev 70862)
@@ -1,6 +1,6 @@
 MODULE_TOPDIR = ../../..
 
-PGM = r.pi.graph.iter
+PGM = r.pi.graph.pr
 
 LIB_NAME = grass_rpi
 RPI_LIB  = -l$(LIB_NAME)

Modified: grass-addons/grass7/raster/r.pi/r.pi.graph.pr/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.graph.iter/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.graph.pr/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -1,13 +1,13 @@
 /*
  ****************************************************************************
  *
- * MODULE:       r.pi.graph.iter
+ * MODULE:       r.pi.graph.pr
  * AUTHOR(S):    Elshad Shirinov, Dr. Martin Wegmann
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Graph Theory approach for connectivity analysis on patch 
  *                              level - iterative patch removal option (patch relevance)
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Deleted: grass-addons/grass7/raster/r.pi/r.pi.graph.pr/r.pi.graph.iter.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.graph.iter/r.pi.graph.iter.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.graph.pr/r.pi.graph.iter.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -1,46 +0,0 @@
-<h2>DESCRIPTION</h2>
-
-Graph Theory - iterative removal (patch relevance analysis).
-
-<h2>NOTES</h2>
-
-...
-
-<h2>EXAMPLE</h2>
-
-An example for the North Carolina sample dataset:
-
-<div class="code"><pre>
-g.region -d
-...
-</pre></div>
-
-<h2>SEE ALSO</h2>
-
-<em>
-<a href="r.pi.corearea.html">r.pi.corearea</a>,
-<a href="r.pi.corrwin.html">r.pi.corrwin</a>,
-<a href="r.pi.csr.mw.html">r.pi.csr.mw</a>,
-<a href="r.pi.export.html">r.pi.export</a>,
-<a href="r.pi.graph.html">r.pi.graph</a>,
-<a href="r.pi.graph.dec.html">r.pi.graph.dec</a>,
-<a href="r.pi.graph.red.html">r.pi.graph.red</a>,
-<a href="r.pi.grow.html">r.pi.grow</a>,
-<a href="r.pi.import.html">r.pi.import</a>,
-<a href="r.pi.index.html">r.pi.index</a>,
-<a href="r.pi.lm.html">r.pi.lm</a>,
-<a href="r.pi.odc.html">r.pi.odc</a>,
-<a href="r.pi.prob.mw.html">r.pi.prob.mw</a>,
-<a href="r.pi.rectangle.html">r.pi.rectangle</a>,
-<a href="r.pi.html">r.pi</a>
-</em>
-
-<h2>AUTHORS</h2>
-Programming: Elshad Shirinov<br>
-Scientific concept: Dr. Martin Wegmann<br>
-Department of Remote Sensing<br>
-Remote Sensing and Biodiversity Unit<br>
-University of Wuerzburg, Germany
-
-<p>
-<i>Last changed: $Date$</i>

Copied: grass-addons/grass7/raster/r.pi/r.pi.graph.pr/r.pi.graph.pr.html (from rev 70857, grass-addons/grass7/raster/r.pi/r.pi.graph.iter/r.pi.graph.iter.html)
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.graph.pr/r.pi.graph.pr.html	                        (rev 0)
+++ grass-addons/grass7/raster/r.pi/r.pi.graph.pr/r.pi.graph.pr.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -0,0 +1,46 @@
+<h2>DESCRIPTION</h2>
+
+Graph Theory - iterative removal (patch relevance analysis).
+
+<h2>NOTES</h2>
+
+...
+
+<h2>EXAMPLE</h2>
+
+An example for the North Carolina sample dataset:
+
+<div class="code"><pre>
+g.region -d
+...
+</pre></div>
+
+<h2>SEE ALSO</h2>
+
+<em>
+<a href="r.pi.corearea.html">r.pi.corearea</a>,
+<a href="r.pi.corrwin.html">r.pi.corrwin</a>,
+<a href="r.pi.csr.mw.html">r.pi.csr.mw</a>,
+<a href="r.pi.export.html">r.pi.export</a>,
+<a href="r.pi.graph.html">r.pi.graph</a>,
+<a href="r.pi.graph.dec.html">r.pi.graph.dec</a>,
+<a href="r.pi.graph.red.html">r.pi.graph.red</a>,
+<a href="r.pi.grow.html">r.pi.grow</a>,
+<a href="r.pi.import.html">r.pi.import</a>,
+<a href="r.pi.index.html">r.pi.index</a>,
+<a href="r.pi.lm.html">r.pi.lm</a>,
+<a href="r.pi.odc.html">r.pi.odc</a>,
+<a href="r.pi.prob.mw.html">r.pi.prob.mw</a>,
+<a href="r.pi.rectangle.html">r.pi.rectangle</a>,
+<a href="r.pi.html">r.pi</a>
+</em>
+
+<h2>AUTHORS</h2>
+Programming: Elshad Shirinov<br>
+Scientific concept: Dr. Martin Wegmann<br>
+Department of Remote Sensing<br>
+Remote Sensing and Biodiversity Unit<br>
+University of Wuerzburg, Germany
+
+<p>
+<i>Last changed: $Date$</i>

Modified: grass-addons/grass7/raster/r.pi/r.pi.graph.red/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.graph.red/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.graph.red/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -7,7 +7,7 @@
  * PURPOSE:      Graph Theory approach for connectivity analysis on patch 
  *                               level - decreasing distance threshold option
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.graph.red/r.pi.graph.red.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.graph.red/r.pi.graph.red.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.graph.red/r.pi.graph.red.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -24,7 +24,7 @@
 <a href="r.pi.export.html">r.pi.export</a>,
 <a href="r.pi.graph.html">r.pi.graph</a>,
 <a href="r.pi.graph.dec.html">r.pi.graph.dec</a>,
-<a href="r.pi.graph.iter.html">r.pi.graph.iter</a>,
+<a href="r.pi.graph.pr.html">r.pi.graph.pr</a>,
 <a href="r.pi.grow.html">r.pi.grow</a>,
 <a href="r.pi.import.html">r.pi.import</a>,
 <a href="r.pi.index.html">r.pi.index</a>,

Modified: grass-addons/grass7/raster/r.pi/r.pi.grow/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.grow/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.grow/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -6,7 +6,7 @@
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Size and landscape suitability based region growing
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.grow/r.pi.grow.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.grow/r.pi.grow.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.grow/r.pi.grow.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -24,7 +24,7 @@
 <a href="r.pi.export.html">r.pi.export</a>,
 <a href="r.pi.graph.html">r.pi.graph</a>,
 <a href="r.pi.graph.dec.html">r.pi.graph.dec</a>,
-<a href="r.pi.graph.iter.html">r.pi.graph.iter</a>,
+<a href="r.pi.graph.pr.html">r.pi.graph.pr</a>,
 <a href="r.pi.graph.red.html">r.pi.graph.red</a>,
 <a href="r.pi.import.html">r.pi.import</a>,
 <a href="r.pi.index.html">r.pi.index</a>,

Modified: grass-addons/grass7/raster/r.pi/r.pi.import/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.import/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.import/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -8,7 +8,7 @@
  *                               (Reads a text-file with Patch IDs and values and creates 
  *                               a raster file with these values for patches)
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.index/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.index/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.index/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -6,7 +6,7 @@
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Fragmentation analysis - basic spatial indices
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.lm/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.lm/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.lm/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -6,7 +6,7 @@
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Linear regression analysis for patches (not pixel based)
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.lm/r.pi.lm.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.lm/r.pi.lm.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.lm/r.pi.lm.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -24,7 +24,7 @@
 <a href="r.pi.export.html">r.pi.export</a>,
 <a href="r.pi.graph.html">r.pi.graph</a>,
 <a href="r.pi.graph.dec.html">r.pi.graph.dec</a>,
-<a href="r.pi.graph.iter.html">r.pi.graph.iter</a>,
+<a href="r.pi.graph.pr.html">r.pi.graph.pr</a>,
 <a href="r.pi.graph.red.html">r.pi.graph.red</a>,
 <a href="r.pi.grow.html">r.pi.grow</a>,
 <a href="r.pi.import.html">r.pi.import</a>,

Modified: grass-addons/grass7/raster/r.pi/r.pi.neigh/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.neigh/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.neigh/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -6,7 +6,7 @@
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Neighbourhood analysis - value of patches within a defined range
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.nlm.circ/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.nlm.circ/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.nlm.circ/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -6,7 +6,7 @@
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      a simple r.nlm (neutral landscape model) module based on circular growth
  * 
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS
@@ -204,7 +204,6 @@
     int rand_seed;
 
     /* helper variables */
-    RASTER_MAP_TYPE map_type;
     int *buffer;
     int i, j;
     CELL *result;
@@ -266,8 +265,6 @@
     if (G_legal_filename(newname) < 0)
 	G_fatal_error(_("<%s> is an illegal file name"), newname);
 
-    map_type = CELL_TYPE;
-
     /* get size */
     sscanf(parm.size->answers[0], "%d", &sx);
     sscanf(parm.size->answers[1], "%d", &sy);
@@ -328,7 +325,7 @@
        } */
 
     /* write output file */
-    out_fd = Rast_open_new(newname, map_type);
+    out_fd = Rast_open_new(newname, CELL_TYPE);
     if (out_fd < 0)
 	G_fatal_error(_("Cannot create raster map <%s>"), newname);
 

Modified: grass-addons/grass7/raster/r.pi/r.pi.odc/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.odc/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.odc/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -7,7 +7,7 @@
  * PURPOSE:      omnidirectional connectivity analysis based on polygons
  *                               (related to voronoi for points)
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.prob.mw/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.prob.mw/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.prob.mw/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -5,9 +5,9 @@
  * AUTHOR(S):    Elshad Shirinov, Dr. Martin Wegmann
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Probability analysis of 2 randomly set points to be 
- *              located within the same patch - patch-to-patch distance setting optional
+ *               located within the same patch - patch-to-patch distance setting optional
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.prob.mw/r.pi.prob.mw.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.prob.mw/r.pi.prob.mw.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.prob.mw/r.pi.prob.mw.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -24,7 +24,7 @@
 <a href="r.pi.export.html">r.pi.export</a>,
 <a href="r.pi.graph.html">r.pi.graph</a>,
 <a href="r.pi.graph.dec.html">r.pi.graph.dec</a>,
-<a href="r.pi.graph.iter.html">r.pi.graph.iter</a>,
+<a href="r.pi.graph.pr.html">r.pi.graph.pr</a>,
 <a href="r.pi.graph.red.html">r.pi.graph.red</a>,
 <a href="r.pi.grow.html">r.pi.grow</a>,
 <a href="r.pi.import.html">r.pi.import</a>,

Modified: grass-addons/grass7/raster/r.pi/r.pi.prox/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.prox/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.prox/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -6,7 +6,7 @@
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Proximity analysis - values of patches within a defined range
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.rectangle/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.rectangle/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.rectangle/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -7,7 +7,7 @@
  * PURPOSE:      Delineation of rectangular study areas based on GPS location
  *                               of the respective corners
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.rectangle/r.pi.rectangle.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.rectangle/r.pi.rectangle.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.rectangle/r.pi.rectangle.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -33,7 +33,7 @@
 <a href="r.pi.export.html">r.pi.export</a>,
 <a href="r.pi.graph.html">r.pi.graph</a>,
 <a href="r.pi.graph.dec.html">r.pi.graph.dec</a>,
-<a href="r.pi.graph.iter.html">r.pi.graph.iter</a>,
+<a href="r.pi.graph.pr.html">r.pi.graph.pr</a>,
 <a href="r.pi.graph.red.html">r.pi.graph.red</a>,
 <a href="r.pi.grow.html">r.pi.grow</a>,
 <a href="r.pi.import.html">r.pi.import</a>,

Modified: grass-addons/grass7/raster/r.pi/r.pi.searchtime/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.searchtime/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.searchtime/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -6,7 +6,7 @@
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Individual-based dispersal model for connectivity analysis - time-based
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.searchtime.mw/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.searchtime.mw/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.searchtime.mw/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -7,7 +7,7 @@
  * PURPOSE:      Individual-based dispersal model for connectivity analysis
  *                           - time-based - within a moving window. Based on r.pi.searchtime
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Modified: grass-addons/grass7/raster/r.pi/r.pi.searchtime.mw/r.pi.searchtime.mw.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.searchtime.mw/r.pi.searchtime.mw.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.searchtime.mw/r.pi.searchtime.mw.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -46,7 +46,7 @@
 
 <em>
 <a href="r.pi.searchtime.html">r.pi.searchtime</a>,
-<a href="r.pi.searchtime.iter.html">r.pi.searchtime.iter</a>,
+<a href="r.pi.searchtime.pr.html">r.pi.searchtime.pr</a>,
 <a href="r.pi.html">r.pi</a>
 </em>
 

Modified: grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/Makefile
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.searchtime.iter/Makefile	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/Makefile	2017-04-11 13:07:23 UTC (rev 70862)
@@ -1,6 +1,6 @@
 MODULE_TOPDIR = ../../..
 
-PGM = r.pi.searchtime.iter
+PGM = r.pi.searchtime.pr
 
 LIB_NAME = grass_rpi
 RPI_LIB  = -l$(LIB_NAME)

Modified: grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/main.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.searchtime.iter/main.c	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/main.c	2017-04-11 13:07:23 UTC (rev 70862)
@@ -1,13 +1,13 @@
 /*
  ****************************************************************************
  *
- * MODULE:       r.pi.searchtime.iter
+ * MODULE:       r.pi.searchtime.pr
  * AUTHOR(S):    Elshad Shirinov, Dr. Martin Wegmann
  *               Markus Metz (update to GRASS 7)
  * PURPOSE:      Individual-based dispersal model for connectivity analysis 
  *                              - time-based - within iterative removal of patches. Based on r.pi.searchtime
  *
- * COPYRIGHT:    (C) 2009-2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2009-2011,2017 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS

Deleted: grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/r.pi.searchtime.iter.html
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.searchtime.iter/r.pi.searchtime.iter.html	2017-04-11 13:05:55 UTC (rev 70861)
+++ grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/r.pi.searchtime.iter.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -1,65 +0,0 @@
-Analysis of patch relevance to maintain the landscape connectivity using individual-based dispersal model for connectivity analysis (time-based).
-
-<h2>DESCRIPTION</h2>
-
-This modules provides information about the importance of single patches for maintaining the connectivity of individual fragments derived of a landcover classification. Unlike <em>r.pi.energy.iter</em> this module provides information about the differences in time from emigration to immigration. The individual based dispersal model results are based on the step length and range, the perception distance and the attractivity to move towards patches.
-
-
-<h2>NOTES</h2>
-
-The suitability matrix impacts the step direction of individuals. If individuals are moving beyond the mapset borders the indivuals are set back to their original source patches.
-
-<h2>EXAMPLE</h2>
-
-An example for the North Carolina sample dataset:
-
-The patch relevance concerning connectivity are based on patches of the <em>landclass96</em> raster class 5 amd the time (amount of steps) from emigration to immigration is computed. The step length is set to 5 pixel, the output statistics are set to <em>average</em> time and <em>variance</em> of searchtime. For each patch 1000 individuals were released and the model stopped when at least 80% of all individuals sucessfully immigrated:<br>
-<div class="code"><pre>
-r.pi.searchtime.iter input=landclass96 output=searchtime_iter1 keyval=5 step_length=5 stats=average,variance percent=80 n=1000 dif_stats=average
-</pre></div>
-
-setting the perception range to 10 pixel:
-<div class="code"><pre>
-r.pi.searchtime.iter input=landclass96 output=searchtime_iter1 keyval=5 step_length=5 stats=average,variance percent=80 n=1000 dif_stats=average perception=10
-</pre></div>
-
-increasing the attraction to move towards patches to 10:
-<div class="code"><pre>
-r.pi.searchtime.iter input=landclass96 output=searchtime_iter1 keyval=5 step_length=5 stats=average,variance percent=80 n=1000 dif_stats=average multiplicator=10
-</pre></div>
-
-output of each movement location for a defined step frequency. Here every 10th step is provided as output raster:
-<div class="code"><pre>
-r.pi.searchtime.iter input=landclass96 output=searchtime_iter1 keyval=5 step_length=5 stats=average,variance percent=80 n=1000 dif_stats=average out_freq=10
-</pre></div>
-
-output of a raster which immigration counts:
-<div class="code"><pre>
-r.pi.searchtime.iter input=landclass96 output=searchtime1 keyval=5 step_length=5 stats=average,variance percent=80 n=1000 dif_stats=average out_immi=immi_counts
-</pre></div>
-
-the previous examples assumed a homogeneous matrix, a heterogenous matrix can be included using a raster file which values are taken as costs for movement (0-100):
-<div class="code"><pre>
-# it is assumed that our species is a forest species and cannot move through water, hence a cost of 100, does not like urban areas (class: 6, cost: 10) but can disperse through shrubland (class 4, cost=1) better than through grassland (class 3, cost: 2):
-r.mapcalc "suit_raster = if(landclass96==5,1,if(landclass96 == 1, 10, if (landclass96==3,2, if(landclass96==4,1,if(landclass96==6,100)))))"
-r.pi.searchtime.iter input=landclass96 output=searchtime1 keyval=5 step_length=5 stats=average,variance percent=80 n=1000 dif_stats=average suitability=suit_raster
-</pre></div>
-
-
-<h2>SEE ALSO</h2>
-
-<em>
-<a href="r.pi.searchtime.html">r.pi.searchtime</a>,
-<a href="r.pi.searchtime.mw.html">r.pi.searchtime.mw</a>,
-<a href="r.pi.html">r.pi</a>
-</em>
-
-<h2>AUTHORS</h2>
-Programming: Elshad Shirinov<br>
-Scientific concept: Dr. Martin Wegmann <br>
-Department of Remote Sensing <br>
-Remote Sensing and Biodiversity Unit<br>
-University of Wuerzburg, Germany
-
-<p>
-<i>Last changed: $Date$</i>

Copied: grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/r.pi.searchtime.pr.html (from rev 70857, grass-addons/grass7/raster/r.pi/r.pi.searchtime.iter/r.pi.searchtime.iter.html)
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/r.pi.searchtime.pr.html	                        (rev 0)
+++ grass-addons/grass7/raster/r.pi/r.pi.searchtime.pr/r.pi.searchtime.pr.html	2017-04-11 13:07:23 UTC (rev 70862)
@@ -0,0 +1,87 @@
+
+<h2>DESCRIPTION</h2>
+
+Analysis of patch relevance to maintain the landscape connectivity 
+using individual-based dispersal model for connectivity analysis 
+(time-based).
+<p>
+This modules provides information about the importance of single 
+patches for maintaining the connectivity of individual fragments 
+derived of a landcover classification. Unlike <em>r.pi.energy.pr</em> 
+this module provides information about the differences in time from 
+emigration to immigration. The individual based dispersal model results 
+are based on the step length and range, the perception distance and the 
+attractivity to move towards patches.
+
+<h2>NOTES</h2>
+
+The suitability matrix impacts the step direction of individuals. If 
+individuals are moving beyond the mapset borders the indivuals are set 
+back to their original source patches.
+
+<h2>EXAMPLE</h2>
+
+An example for the North Carolina sample dataset:
+<p>
+The patch relevance concerning connectivity are based on patches of the 
+<em>landclass96</em> raster class 5 amd the time (amount of steps) from 
+emigration to immigration is computed. The step length is set to 5 
+pixel, the output statistics are set to <em>average</em> time and 
+<em>variance</em> of searchtime. For each patch 1000 individuals were 
+released and the model stopped when at least 80% of all individuals 
+sucessfully immigrated:<br>
+<div class="code"><pre>
+r.pi.searchtime.pr input=landclass96 output=searchtime_iter1 keyval=5 step_length=5 stats=average,variance percent=80 n=1000 dif_stats=average
+</pre></div>
+
+setting the perception range to 10 pixel:
+<div class="code"><pre>
+r.pi.searchtime.pr input=landclass96 output=searchtime_iter1 keyval=5 step_length=5 stats=average,variance percent=80 n=1000 dif_stats=average perception=10
+</pre></div>
+
+increasing the attraction to move towards patches to 10:
+<div class="code"><pre>
+r.pi.searchtime.pr input=landclass96 output=searchtime_iter1 keyval=5 step_length=5 stats=average,variance percent=80 n=1000 dif_stats=average multiplicator=10
+</pre></div>
+
+output of each movement location for a defined step frequency. Here every 10th step is provided as output raster:
+<div class="code"><pre>
+r.pi.searchtime.pr input=landclass96 output=searchtime_iter1 keyval=5 step_length=5 stats=average,variance percent=80 n=1000 dif_stats=average out_freq=10
+</pre></div>
+
+output of a raster which immigration counts:
+<div class="code"><pre>
+r.pi.searchtime.pr input=landclass96 output=searchtime1 keyval=5 step_length=5 stats=average,variance percent=80 n=1000 dif_stats=average out_immi=immi_counts
+</pre></div>
+
+the previous examples assumed a homogeneous matrix, a heterogenous 
+matrix can be included using a raster file which values are taken as 
+costs for movement (0-100):
+<div class="code"><pre>
+# it is assumed that our species is a forest species and cannot move 
+# through water, hence a cost of 100, does not like urban areas 
+# (class: 6, cost: 10) but can disperse through shrubland (class 4, 
+# cost=1) better than through grassland (class 3, cost: 2):
+
+r.mapcalc "suit_raster = if(landclass96==5,1,if(landclass96 == 1, 10, if (landclass96==3,2, if(landclass96==4,1,if(landclass96==6,100)))))"
+r.pi.searchtime.pr input=landclass96 output=searchtime1 keyval=5 step_length=5 stats=average,variance percent=80 n=1000 dif_stats=average suitability=suit_raster
+</pre></div>
+
+
+<h2>SEE ALSO</h2>
+
+<em>
+<a href="r.pi.searchtime.html">r.pi.searchtime</a>,
+<a href="r.pi.searchtime.mw.html">r.pi.searchtime.mw</a>,
+<a href="r.pi.html">r.pi</a>
+</em>
+
+<h2>AUTHORS</h2>
+Programming: Elshad Shirinov<br>
+Scientific concept: Dr. Martin Wegmann <br>
+Department of Remote Sensing <br>
+Remote Sensing and Biodiversity Unit<br>
+University of Wuerzburg, Germany
+
+<p>
+<i>Last changed: $Date$</i>



More information about the grass-commit mailing list