Nearest neighbors within radius
uses additional options specified by one or more name-value pair arguments. For
example, if nodeIDs
= nearest(G
,s
,d
,Name,Value
)G
is a weighted graph, then
nearest(G,s,d,'Method','unweighted')
ignores the edge weights
in graph G
and instead treats all edge weights as
1
.
distances
| neighbors
| predecessors
| shortestpath
| shortestpathtree
| successors