leastcostpath
LeastCostPath refers to an algorithm used in geographical information systems (GIS) and other fields to find the path of least accumulative cost between a starting point and a destination, or from a starting point to all other reachable cells within a raster dataset. This cost is typically derived from a cost raster, where each cell has a value representing the difficulty or expense of traversing it. For instance, in a terrain analysis context, the cost might represent the effort required to move over different slopes or land cover types.
The algorithm works by considering the cost of moving from one cell to an adjacent cell. It
The output of a LeastCostPath analysis is typically a raster that shows the accumulative cost to reach