rs_shortest_path: Shortest path (0-based node indices) between 'source' and...

View source: R/extendr-wrappers.R

rs_shortest_pathR Documentation

Shortest path (0-based node indices) between source and target. Returns an empty vector when the target is unreachable.

Description

Shortest path (0-based node indices) between source and target. Returns an empty vector when the target is unreachable.

Usage

rs_shortest_path(from, to, weight, n_nodes, source, target)

osmnxr documentation built on Oct. 20, 2026, 1:07 a.m.