iota-0.1.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Graph.Dense.Dijkstra

Synopsis

Documentation

dijkstraDense Source #

Arguments

:: (Unbox w, Num w, Ord w, Bounded w) 
=> Int

n

-> Int

src

-> Vector w

adjacent matrix (n x n)

-> Vector w 

O(V^2)