Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

A Fast Priority Queue Implementation of the Dijkstra Shortest Path Algorithm

, 4 Aug 2013 CPOL
Anyone needs a fast, efficient algorithm to compute the shortest path in C#? This article provides one.
FastDijkstra-noexe.zip
DataStructTest
Backup
DataStructTest
Properties
Settings.settings
DataStructTest
bin
Debug
DataStructTest.vshost.exe.manifest
Properties
Settings.settings
DataStructTest.suo
_UpgradeReport_Files
UpgradeReport_Minus.gif
UpgradeReport_Plus.gif
FastDijkstra.zip
Settings.settings
DataStructTest.vshost.exe
DataStructTest.vshost.exe.manifest
Release
DataStructTest.exe
obj
Debug
Refactor
TempPE
Properties.Resources.Designer.cs.dll
Release
TempPE
Settings.settings
DataStructTest.suo
UpgradeReport_Minus.gif
UpgradeReport_Plus.gif
using System;
using System.Collections.Generic;
using System.Text;

namespace DataStructTest
{
    public struct HeapNode
    {
        public HeapNode(int i, float w)
        {
            index = i;
            weight = w;

        }
        public int index;
        public float weight;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Tolga Birdal
CEO Gravi Information Technologies and Consultancy Ltd
Turkey Turkey
Currently, also an MSc. student in Technical University of Munich, I develop practical application in computer vision for more than 5 years. I design real-time solutions to industrial and practical vision problems, both 3D and 2D. Very interested in developing algorithms in C relating math and vision.
 
Please visit Gravi's web page (http://www.gravi.com.tr) and my page (http://www.tbirdal.me) to learn more about what we develop.
 
I admire performance in algorithms.
 
"Great minds never die, they just tend to infinity..."
Follow on   LinkedIn

| Advertise | Privacy | Mobile
Web03 | 2.8.141015.1 | Last Updated 5 Aug 2013
Article Copyright 2008 by Tolga Birdal
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid