dijkstra: dijkstra algorithm.

Description Usage Arguments References

Description

This function uses dijkstra algorithm to find the shortest connection.

Usage

1
dijkstra(cost, v)

Arguments

cost

the data frame.

v

the start point.

References

adapted from https://en.wikipedia.org/wiki/Dijkstra


boxizhang/boxlab1 documentation built on May 9, 2019, 6:03 p.m.