getShortestPaths: Get the shortest path between two vertices.

Description Usage Arguments Methods (by class)

View source: R/getShortestPaths.R

Description

Get the shortest path between two vertices.

Usage

1
2
3
4
5
6
7
getShortestPaths(x, from = x$from, to = x$to)

## S3 method for class 'spresults'
getShortestPaths(x, from = x$from, to = x$to)

## S3 method for class 'spgraph'
getShortestPaths(x, from = x$from, to = x$to)

Arguments

x

A spgraph or a spresults object.

from

the source vertex

to

the target vertex

Methods (by class)


huoston/shortestpath documentation built on May 25, 2019, 8:18 a.m.