For Monday - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

For Monday

Description:

For Monday Read chapter 9, section 4 Homework: Chapter 8, exercises 1-2 Program 3 Any questions? Paper 2 Any questions? Graph Representation Adjacency matrix Graph is ... – PowerPoint PPT presentation

Number of Views:46
Avg rating:3.0/5.0
Slides: 12
Provided by: ils63
Category:

less

Transcript and Presenter's Notes

Title: For Monday


1
For Monday
  • Read chapter 9, section 4
  • Homework
  • Chapter 8, exercises 1-2

2
Program 3
  • Any questions?

3
Paper 2
  • Any questions?

4
Graph Representation
  • Adjacency matrix
  • Graph is represented using an 2-d array
  • Indices of array represent nodes in the graph
  • Cells of the matrix represent edges
  • Adjacency lists

5
Graph Applications
  • ???

6
Graph Applications
  • Parallel computing
  • Scheduling
  • Games
  • Problem solving
  • Mapquest
  • Networks (of wires, pipes, etc.)
  • Knowledge representation

7
Topological Sorting
8
Shortest Path Problem
  • Single source
  • Two points
  • All shortest paths

9
Unweighted Graphs
  • Breadth-first search

10
Weighted Graphs
  • Dykstras algorithm
  • A greedy algorithm
  • A form of best-first search

11
Negative Weights Problem
Write a Comment
User Comments (0)
About PowerShow.com