On Wed, Jan 7, 2015 at 7:27 AM, Takenori KANAI <[email protected]> wrote: > Hello. I'm sorry by my poor English. > > I have analyzed distribution of wild animals using r.drain now > (http://grass.osgeo.org/grass65/manuals/r.drain.html). > > Some examples have been described to "EXAMPLES" in an > online manual. In "EXAMPLES", there are two ways of cost > value though the Cost value of fifith step is 10. In this case, > I do not think that there is a problem because there is a > smaller cost value since six steps even if the fifth step > selects either. > However, by what algorithm has the cell been selected > when there are two or more end points in route > (There is a minimum same cost value as surroundings of cell. )?
To my knowledge there is no scientific paper available related to the r.drain algorithm. It has been written by Roger S. Miller in 2001 (replacing an older and less functional version). You may see the internals here in the code base: http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.drain Maybe other users know more about this algorithm family? Best Markus _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
