Download presentation
Presentation is loading. Please wait.
Published byBernard Ray Modified over 5 years ago
1
Some graphs you may have met under different circumstances.
2
Course prerequisites Topological sort gives order to take classes
3
Maze
4
Depth first search – Web as graph
Avoid loops: don’t repeat nodes. Use some kind of Set ADT
5
Electronic circuits Edges labelled (resistors, switch, etc)
Analyze Zasha’s incompetence in EE
6
Profiler call frequency info
7
Compiler analysis – Common Subexpression Elimination
8
Proofs – best case correct sorting by comparison
List is x1,…,x8 Edge is comparison <7 edges graph not connected Connected components could be on either side. How would the algorithm know?
9
(small part of) Java class hierarchy
10
Cheapest Computer Network – Minimum Spanning Tree
11
Capacity of highways – max flow
12
TA assignments Bipartite graph – 2 node types (TAs and Courses)
Maximal matching (assign as many TAs to as many courses as possible)
13
Six degrees of Kevin Bacon
14
Six degrees of Kevin Bacon
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.