About 7,000,000 results
Open links in new tab
  1. Difference and advantages between dijkstra & A star

    Oct 23, 2012 · It says A* is faster than using dijkstra and uses best-first-search to speed things up. A* is basically an informed variation of Dijkstra. A* is considered a "best first search" …

  2. Dijkstra's Algorithm and Cycles - Stack Overflow

    May 7, 2017 · It's stated in a book that "Dijkstra's algorithm only works with Directed Acyclic Graphs". It appears the algorithm works for graphs with cycles too as long as there are no …

  3. Why does Dijkstra's algorithm work? - Stack Overflow

    Aug 15, 2015 · I understand what Dijkstra's algorithm is, but I don't understand why it works. When selecting the next vertex to examine, why does Dijkstra's algorithm select the one with …

  4. Understanding Time complexity calculation for Dijkstra Algorithm

    Jun 27, 2016 · As per my understanding, I have calculated time complexity of Dijkstra Algorithm as big-O notation using adjacency list given below. It didn't come out as it was supposed to …

  5. Newest 'dijkstra' Questions - Stack Overflow

    Apr 30, 2017 · [dijkstra] For a given source vertex (node) in the connected graph, the algorithm finds the path with lowest cost (i.e. Sign up to watch this tag and see more personalized content

  6. is dijkstra an A* algorithm? - Stack Overflow

    May 23, 2025 · Dijkstra's algorithm and A* are both examples of "best-first" graph searches, where a node is expanded when it is currently the "best" open node, as measured by some …

  7. dijkstra's algorithm - in c++? - Stack Overflow

    41 Dijkstra’s algorithm In English: This is an algorithm for finding the shortest route from point A to point B. In computing terms we simplify the route to a graph consisting of nodes and arcs.

  8. Dijkstra Time Complexity using Binary Heap - Stack Overflow

    May 22, 2018 · Let G (V, E)be an undirected graph with positive edge weights. Dijkstra’s single source shortest path algorithm can be implemented using the binary heap data structure with …

  9. Is Dijkstra's algorithm deterministic? - Stack Overflow

    Dijkstra's algorithm is a greedy algorithm, the main goal of a Dijsktra's algorithm is to find the shortest path between two nodes of a weighted graph. Wikipedia does a great job with …

  10. Performance improvement for Dijkstra algorithm using heaps in …

    Mar 29, 2022 · Below is my implementation for Dijkstra's algorithm using heaps (for undirected graphs). This works just fine for reasonably sized graphs however I am not satisfied by my …