note

84 downloads 98695 Views 1MB Size Report
Rubik's cube, Pocket cube, Game space. • Graph definitions ... Today: Solving Rubik s cube… youtube: ... Cracking the 3x3 Rubik's cube. • Increasingly efficient  ...
6 006 Introduction to Algorithms 6.006-

Lecture 11 - Searching I P f Manolis Prof. M li Kellis K lli CLRS 22.1-22.3, B.4

Unit #4 – Games, Graphs, Searching, Networks

2

Unit #4 Overview: Searching g Today: Introduction to Games and Graphs • Rubik’s cube, Pocket cube, Game space • Graph p definitions, representation, p searchingg Tuesday: Graph algorithms and analysis • Breadth First Search, Search Depth First Search • Queues, Stacks, Augmentation, Topological sort Thursday: Networks in biology and real world • Network/node properties, metrics, motifs, clusters • Dynamic processes, epidemics, growth, resilience

Graph p Applications pp • Web – crawling • Social Network – friend finder • Computer Networks – internet routing – connectivity ti it • Game states – rubik’s bik cube, b chess h

Today: Solving Rubik’s Rubik s cube cube… youtube: 5inASBBYpWU

… and finding God’s number

Cracking the 3x3 Rubik’s cube • Increasingly efficient algorithms exist for solving the cube using a fixed set of moves – 1981: 52 moves. Today: