Skip to content

Commit 64f84bf

Browse files
authored
update readme
1 parent 08636c2 commit 64f84bf

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
# Dijkstra.NET Dijkstra algorithm in [C#]
1+
# Dijkstra.NET Dijkstra algorithm in [C#] [![NuGet Version](https://img.shields.io/badge/nuget-v1.0.3-blue.svg?style=flat)](https://www.nuget.org/packages/Dijkstra.NET)
22

33
Dijkstra algorithm which use priority queue thus complexity is equal O(ElogV) where E is number of edges and V is number of vertices. Used data structures are based on interfaces so you can implement your own or reused present. Simply example below. More information about algorithm you can find on the [wikipedia](https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm).
44

5-
## Installation
5+
## Get Started
6+
Install the latest version from NuGet
67

7-
From [Nuget](https://www.nuget.org/packages/Dijkstra.NET)
8+
```
9+
Install-Package Dijkstra.NET
10+
```
811

912
## Simple example
1013

@@ -20,6 +23,7 @@ var dijkstra = new Dijkstra<int, string>(graph);
2023
DijkstraResult result = dijkstra.Process(0, 1); //result contains the shortest path
2124
result.GetPath();
2225
```
26+
2327
## License
2428

2529
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=plastic)](https://github.com/matiii/Dijkstra.NET/blob/master/LICENSE)

0 commit comments

Comments
 (0)