Week 14 Euler & Hamiltonian cicuit and path Flashcards
(23 cards)
What is this?
- Starts and ends at the same dot.
- Uses every line only once.
Circuit
The path D → B → E → G → D → A → B → C → E → H → G → F → D is an ___________
Euler Circuit
If it repeats a line or skips one, it’s NOT an ________ circuit.
Euler
A graph has an __________Circuit if all the dots have even degrees (an even number of lines attached).
Euler
If some dots have 3 or 5 lines, ______ Euler Circuit.
❌ no
If all dots have 2, 4, 6, etc. lines, _ Euler Circuit is possible.
✅
A _____ is like a route, but it doesn’t need to come back to where it started.
path
You can have an Euler Path if:
The graph has exactly _____ dots with an ____ number of lines (odd degrees).
two
odd
This time, it’s not about lines, but about dots (vertices)
Hamilton Path and Hamilton Circuit
A ________ goes through every dot once and comes back to the start.
Hamiltonian Circuit
A _________ goes through every dot once, but doesn’t return to the start.
Hamiltonian Path
______→ every line once, ends where you started. All dots have even degrees.
_______ → every line once, starts and ends at different dots. Two dots have odd degrees.
___________ → every dot once, returns to start.
__________ → every dot once, doesn’t return to start.
Euler Circuit
Euler Path
Hamiltonian Circuit
Hamiltonian Path
Try walking:
A → B → C → D → A
🎯 You used every line once, and you ended where you started =_________
Euler Circuit
Try walking:
B → A → D → C → B → D
🎯 You used every edge once, and you started and ended at the odd-degree dots = _______
Euler Path
Now try walking:
A → B → C → D → E → A
🎯 You visited every vertex once and came back = _________
Hamiltonian Circuit
A path that contains every vertex of the graph but does not return to the starting point is called _______________
Hamiltonian Path
what is this?
Tanan maagian, edges and vertices
Euler
A path that contains every vertex of the graph but does not return to the starting point is called _________
Hamiltonian path.
every line once, ends where you started. All dots have even degrees.
Euler Circuit
every line once, starts and ends at different dots. Two dots have odd degrees.
Euler Path
every dot once, returns to start.
Hamiltonian Circuit
every dot once, doesn’t return to start
Hamiltonian Path