Graphs Graphs Definitions Implementation/Representation of graphs - - PowerPoint PPT Presentation

graphs graphs
SMART_READER_LITE
LIVE PREVIEW

Graphs Graphs Definitions Implementation/Representation of graphs - - PowerPoint PPT Presentation

CS171 Introduction to Computer Science II Science II Graphs Graphs Definitions Implementation/Representation of graphs Search Depth-first search Depth-first search Breadth-first search Applications Find a path


slide-1
SLIDE 1

CS171 Introduction to Computer Science II Science II

Graphs

slide-2
SLIDE 2

Graphs

Definitions Implementation/Representation of graphs Search

Depth-first search Depth-first search Breadth-first search

Applications

Find a path Connected component Shortest path

slide-3
SLIDE 3
slide-4
SLIDE 4
slide-5
SLIDE 5
slide-6
SLIDE 6
slide-7
SLIDE 7
slide-8
SLIDE 8
slide-9
SLIDE 9
slide-10
SLIDE 10
slide-11
SLIDE 11
slide-12
SLIDE 12
slide-13
SLIDE 13
slide-14
SLIDE 14
slide-15
SLIDE 15
slide-16
SLIDE 16
slide-17
SLIDE 17

Graph Search

Depth-first search

Finding a path Connected components

Breadth-first search Breadth-first search

slide-18
SLIDE 18
slide-19
SLIDE 19
slide-20
SLIDE 20
slide-21
SLIDE 21

Six degrees of separation

Everyone is on average approximately six steps away, by way of introduction, from any other person on Earth Online social networks Online social networks

Facebook: average distance is 4.74 (Nov 2011) Twitter: average distance is 4.67

Erdos number Bacon number

slide-22
SLIDE 22
slide-23
SLIDE 23
slide-24
SLIDE 24

Map Routing (Shortest Path)

slide-25
SLIDE 25

Application: Web Search Engines

i. Gather the contents of all web pages (using a program called a crawler or spider)

  • a program called a crawler or spider)

ii. Organize the contents of the pages in a way that allows efficient retrieval (indexing) iii. Take in a query, determine which pages match, and show the results (ranking and display of results)

slide-26
SLIDE 26
slide-27
SLIDE 27
  • !
  • "

# #

slide-28
SLIDE 28

#$

  • # %&'

# %&'

  • #

#

slide-29
SLIDE 29

Project

Option 1: The Emory MapQuest Project (TEMP) Option 2: FaceSpace Option 3: Oracle of Bacon (?) Project workshop: May 1, 2012

slide-30
SLIDE 30

Midterm Exam

Maximum: 101 Mean: 86.57 Median: 90.5