Code
- Program.cs
Algorithm
- Dijkstra
- Consider distance cost
- Search minimum distance cost first
-1
0
can be distance cost-1
means two nodes are not linked
- Int32.MaxValue
- Every unvisited nodes has
Int32.MaxValue
- For updating minimum distance cost
- Every unvisited nodes has
Array
- Array.Fill(Array arrayName, int value)
- Fill all array to value
Int32
- MaxValue
- Max value of Int32