dijkstra: dijkstra

Description Usage Arguments Value

View source: R/dijkstra.R

Description

See: # https://en.wikipedia.org/wiki/Dijkstra%27s_algorithmDijkstra

Usage

1
dijkstra(graph, init_node)

Arguments

graph

A datafram containing 3 columns ("v1", "v2", "w").

init_node

A numeric scalar.

Value

The dijkstra of graph and init_node.


OLGJ/easyalgorithms documentation built on Dec. 18, 2021, 4:41 a.m.