Skip to content

Commit c88890b

Browse files
Fixed method naming convention.
1 parent 4624758 commit c88890b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Algorithms/Graphs/DijkstraShortestPaths.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ public DijkstraShortestPaths(TGraph graph, TVertex source)
4444
_graph = graph;
4545
_source = source;
4646

47-
Initialize();
48-
Dijkstra();
47+
_initialize();
48+
_dijkstra();
4949
}
5050

5151
/// <summary>
5252
/// The Dijkstra's algorithm.
5353
/// </summary>
54-
private void Dijkstra()
54+
private void _dijkstra()
5555
{
5656
while (!_minPriorityQueue.IsEmpty)
5757
{
@@ -82,7 +82,7 @@ private void Dijkstra()
8282
}
8383
}
8484

85-
private void Initialize()
85+
private void _initialize()
8686
{
8787
var verticesCount = _graph.VerticesCount;
8888

0 commit comments

Comments
 (0)