Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

Dijkstra vs A* Algorithm.

Description

A Level CS
Harriet Leplar
Slide Set by Harriet Leplar, updated more than 1 year ago
Harriet Leplar
Created by Harriet Leplar over 4 years ago
4
0
1 2 3 4 5 (0)

Resource summary

Slide 1

    Dijkstra's Algorithm
    Used for static data sets: those that are unlikely to change.  Used to navigate through a graph to find the best possible route from one node to another.  Is ridiculously long for large data sets and the organisation of open and closed sets (the nodes available that haven't been explored) is key to the run time and efficiency of the algorithm.  Works on weighted graphs, which can be directed or undirected.  Each node you decide to visit comes with a cost. This is not necessarily to do with geographical distance.  HOW IT WORKS: Set all node costs (except start) to infinite cost. Then the lowest cost is selected.   
    Caption: : Weighted graph: this is before the start and end of the graph is decided.

Slide 2

    A* Algorithm:
    Uses weights (costs) as well as heuristics (values separate to cost which make a predetermined assumption about how far it is going to take us to get to the next node. This heuristic is an all approximation and is used to solve solutions to path finding much quicker than Dijkstra but its not always the optimal solution. 

Slide 3

    A* vs Dijkstra
    Dijkstra   
    A* Uses heuristics as well as 
Show full summary Hide full summary

0 comments

There are no comments, be the first and leave one below:

Similar

GCSE History: The 2014 Source Paper
James McConnell
FCE Practice Fill In The Blank
Christine Sang
20 Study Hacks To Improve Your Memory
jen.sch.ca
Sociology: Crime and Deviance Flash cards
Beth Morley
GCSE AQA Biology 2 Plants & Photosynthesis
Lilac Potato
Electrolysis
lisawinkler10
Development of Cold War Tensions
c7jeremy
English spelling rules
Sarah Holmes
1PR101 2.test - Část 5.
Nikola Truong
Mapa Mental para Resumir y Conectar Ideas
Ricardo Padilla Alcantara