Optimal Paths (Leaving Cert Applied Maths): Flashcards

📚Flashcards
Dijkstra Algorithm
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

12 cards from this deck

Show

What is Dijkstra's Algorithm?

A method to find the shortest path between nodes in a weighted graph

3 meanings of 'shortest' in context

Distance, time, or cost

Weights in graph

Numbers on edges connecting nodes

Dijkstra's real-world applications

GPS, network routing, transport planning, emergency services

Starting node's initial value

00

Rule for selecting next node

Choose smallest working value

Table components in Dijkstra's

Node, order, final value, working values

How to trace shortest path

Work backwards using 'came from' data

When to update working values

After completing a node, for connected nodes

Meaning of final value

Shortest distance from start node

Algorithm completion condition

All nodes completed

Multiple paths to same node rule

Keep smallest working value

Explore Leaving Cert Applied Maths Revision Notes by Topics

Explore Leaving Cert Applied Maths Model Answers by Topics

Explore Leaving Cert Applied Maths Quizzes by Topics

Explore Leaving Cert Applied Maths Exam Questions by Topics

Join 100,000+ Leaving Cert students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.