CMU 15-251 Graphs: Basics Teachers: Anil Ada Ariel Procaccia - - PowerPoint PPT Presentation

β–Ά
cmu 15 251
SMART_READER_LITE
LIVE PREVIEW

CMU 15-251 Graphs: Basics Teachers: Anil Ada Ariel Procaccia - - PowerPoint PPT Presentation

CMU 15-251 Graphs: Basics Teachers: Anil Ada Ariel Procaccia (this time) Zachary Karate Club 2 Zachary Karate Club CLUB networkkarate.tumblr.com 3 Facebook 4 Facebook = 10 9 = 10 12 5 6 Donor 2 Exchange Patient 2 Kidney


slide-1
SLIDE 1

CMU 15-251

Graphs: Basics

Teachers: Anil Ada Ariel Procaccia (this time)

slide-2
SLIDE 2

Zachary Karate Club

2

slide-3
SLIDE 3

Zachary Karate Club CLUB

3

networkkarate.tumblr.com

slide-4
SLIDE 4

Facebook

4

slide-5
SLIDE 5

Facebook

5

π‘œ = 109 𝑛 = 1012

slide-6
SLIDE 6

6

Donor 2 Patient 2 Donor 1 Patient 1

Kidney Exchange

slide-7
SLIDE 7

Kidney Exchange

7

slide-8
SLIDE 8

World Wide Web

8

slide-9
SLIDE 9

9

slide-10
SLIDE 10

Types of graphs

10

𝑏 𝑐 𝑑 𝑒 𝑏 𝑐 𝑑 𝑒 𝑏 𝑑 𝑐 𝑒

slide-11
SLIDE 11

Retronym

11

slide-12
SLIDE 12

Basic Definitions

  • 𝐻
  • π‘Š

π‘Š = π‘œ

  • 𝐹

𝐹 = 𝑛

  • {𝑣, 𝑀}

𝑣 β‰  𝑀

  • π‘Š = 𝑏, 𝑐, 𝑑, 𝑒
  • 𝐹 = { {𝑏, 𝑐}, {𝑏, 𝑑}, {𝑐, 𝑑}, 𝑑, 𝑒 }

12

𝑏 𝑐 𝑑 𝑒

slide-13
SLIDE 13

Edge Cases

  • π‘Š = 1,2,3,4
  • 𝐹 = βˆ…

13

slide-14
SLIDE 14

The Null Graph

14

slide-15
SLIDE 15

The Null Graph

15

slide-16
SLIDE 16
  • Mr. Vertex’s Neighborhood
  • 𝑣, 𝑀 ∈ 𝐹 𝑣

𝑀

  • 𝑂(𝑣)

𝑣 𝑀 ∈ π‘Š 𝑣, 𝑀 ∈ 𝐹}

  • deg(𝑣)

𝑣 𝑂 𝑣

16

𝑏 𝑐 𝑑 𝑒 𝑂 𝑐 = 𝑏, 𝑑 deg 𝑐 = 2

slide-17
SLIDE 17
  • π‘£βˆˆπ‘Š deg(𝑣) = 2𝑛
  • π‘£βˆˆπ‘Š deg(𝑣)
  • 2𝑛 ∎

17

  • β€’
  • β€’
  • 2 + 2 + 3 + 1 = 2 β‹… 4
slide-18
SLIDE 18

Facebook, revisited

18

π‘œ = 109 𝑛 = 1012

slide-19
SLIDE 19

Regular Graphs

  • 𝑒

𝑒

  • 1
  • 2

π‘Š = {𝑏, 𝑐, 𝑑, 𝑒}

19

1 3 6 12 1

slide-20
SLIDE 20

3-regular graphs

20

slide-21
SLIDE 21

Connectedness

  • 𝐻

𝑣, 𝑀 ∈ π‘Š 𝑣 𝑀

21

slide-22
SLIDE 22

Connectedness

22

slide-23
SLIDE 23

23

π‘œ = 1 𝑛 = 0 π‘œ = 2 𝑛 = 1 π‘œ = 3 𝑛 = 2 π‘œ = 4 𝑛 = 3

slide-24
SLIDE 24

24

π‘œ βˆ’ 1 π‘œ

slide-25
SLIDE 25
  • π‘œ βˆ’ 1

π‘œ

  • 𝐻

𝑙 𝐻′ 𝐻 𝐻′ 𝑙 βˆ’ 1

  • π‘œ βˆ’ 1

∎

25

slide-26
SLIDE 26

Acyclic graphs

  • 𝐻

26

𝑛 = π‘œ βˆ’ 1 β‡’ 𝐻 𝐻 β‡’ 𝑛 = π‘œ βˆ’ 1 𝐻 ⇔ 𝑛 = π‘œ βˆ’ 1

slide-27
SLIDE 27

Trees

27

slide-28
SLIDE 28

Graph Theory Haiku

28

slide-29
SLIDE 29

Hamiltonian Cycle *

  • 𝐻

𝑀 ∈ π‘Š

  • 𝐻

π‘œ β‰₯ 3 deg 𝑣 + deg 𝑀 β‰₯ π‘œ 𝑣, 𝑀 ∈ π‘Š 𝐻

29

slide-30
SLIDE 30

Proof *

  • 𝐻

𝐷

  • 𝐷

𝐷′

30

slide-31
SLIDE 31

Proof *

  • {𝑏, 𝑐}

𝐷

  • 𝑇

𝑂(𝑏) 𝐷

  • deg 𝑐 β‰₯ π‘œ βˆ’ deg(a)

31

𝑐 𝑏

= π‘Š βˆ’ 𝑂 𝑏 = π‘Š βˆ’ S > |π‘Š βˆ– (𝑇 βˆͺ 𝑐 )|

  • 𝑐

𝑑 ∈ 𝑇

  • ∎

𝑑 𝑏

slide-32
SLIDE 32

Summary

  • 𝐻

, 𝐹 = π‘œ βˆ’ 1 ⇔

  • π‘£βˆˆπ‘Š deg(𝑣) = 2𝑛
  • 32