findShortestPathways: Find shortest pathways between selected nodes

Description Usage Arguments Details Value See Also

View source: R/findShortestPathways.R

Description

This functions finds shortest pathways between selected nodes in a distance matrix.

Usage

1
findShortestPathways(BetweenNodesDistances, SelectedNodes)

Arguments

BetweenNodesDistances

A distance matric computed by convertToDistGraph()

SelectedNodes

The selected nodes to keep after shortest paths conversion

Details

The Dijkstra's algorithm from the igraph package is used to compute shortest paths.

Value

A list with distances, intermediates and number of intermediates given by the igraph package

See Also

getShortestPaths, convertToDistGraph


stringgaussnet documentation built on May 29, 2017, 10:50 a.m.