dijkstra: Applying Dijkstra algorithm to a given graph and initial node

Description Usage Arguments Value References

Description

Applying Dijkstra algorithm to a given graph and initial node

Usage

1
dijkstra(graph, init_node)

Arguments

graph

A data.frame that contains 3 vectors named v1, v2, w

init_node

Numeric representation of initial node

Value

Solution of the Dijkstra algorithm from the given initial node

References

https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm


gyommy15/lab3git documentation built on May 3, 2019, 2:58 p.m.