Top Banner
I've just found the internet
51

I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Dec 15, 2015

Download

Documents

Fernando Atmore
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

I've just found the internet

Page 2: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

History of the internet

• Digital computers: 1950s• ARPA, ARPANET: developed in 1960s• 1980s: NSF funds CSNET, TCP/IP developed• Late 1980s: commercial ISPs; • 1990: Arpanet decommissioned• 1990s: email, primitive VoIP• 2000s: social networks• 2010s: cloud computing• 2020s: embedded devices?

Page 3: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

How does information travel across the internet?

• TCP/IP• TCP wiki• IP wiki• Request generated by user (“click”)• Response sent as set of packets with time

stamps• Receipt acknowledged• Response regenerated if ack not received.

Page 4: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Bandwidth

• Packets seek shortest/fastest path• Determined by number of hops • Queues form at hubs; bottlenecks can occur• Repeat requests can add to traffic

Page 5: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Main problem

• Determining the shortest path• Presumes: lookup table of possible routes• Presumes: knowledge of structure of internet• Mathematical structure: directed, weighted

graph.• Other related problems: railroad networks,

interstate network, google search problem, etc.

Page 6: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Graph theory

A graph consists of:• set of vertices • A set of edges connecting vertex pair• Incidence matrix: which edges are connected

Page 7: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

The incidence matrix of a graph gives the (0,1)-matrix which has a row for each vertex and column for each edge, and (v,e)=1 iff

vertex v is incident upon edge e

Page 8: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

These are all equivalent

Page 9: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Al qaeda graph

Page 10: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Euler and the Konigsberg bridges

Page 11: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Types of graphs

• Eulerian: circuit that traverses each edge exactly once

• Which graphs possess Euler circuits?

Page 12: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Problem: does this graph have an Euler cycle?

Page 13: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Theorem: If every vertex has even degree then there is an Eulerian path

Page 14: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Clicker question:The following graph is Eulerian

A) TrueB) False

Page 15: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Heuristic argument

• An argument that appeals to intuition, but may not be compelling by itself.

• In the case of the Eulerian graph theorem, think of the vertex as a room and the edges as hallways connecting rooms.

• If you leave using one hallway then you have to return using a different one.

• “Induction argument”

Page 16: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Hamilton’s puzzle: find a path in the dodecahedron graph that traverses each of the

twenty vertices exactly once

Page 17: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Hamiltonian graph

• A graph is said to be Hamiltonian if, starting from a vertex v, it is possible to visit each vertex of the graph exactly once, and end up back at v

• Such a path is called a Hamiltonian cycle

Page 18: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Hamilton’s puzzle: find a path in the dodecahedron graph that traverses each vertex

exactly once

Page 19: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Hamiltonian graph

Page 20: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.
Page 21: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Clicker Question:Is the following graph

Hamiltonian?A) YesB) No

Page 22: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Rhetorical question:Is the following graph

Hamiltonian?

Page 23: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Fullerenes

Page 24: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.
Page 25: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Petersen graph: symmetry

Page 26: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Other types of graphs

Page 27: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Other properties• Diameter• Girth• Chromatic number• etc

Page 28: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Graph colorings

Page 29: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Graph coloring and map coloring

• The four color problem

Page 30: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Which continent is this?

Page 31: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

[Clicker Question: What continent does this graph represent? ]

A. [Asia]B. [Africa]C. [Europe]D. [North America]E. [South America]F. [Australia]G. [Antarctica]

Page 32: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.
Page 33: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.
Page 34: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.
Page 35: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.
Page 36: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.
Page 37: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Boss’s dilemna

• Six employees, A,B,C,D,E,F• Some do not get along with others• Find smallest number of compatible work

groups

Worker A B C D E F

Doesn’t like

B,C A,C A,B,D,E C,F C,F D,E

Page 38: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Other examples of problems whose solutions are simplified using graph

theory

Page 39: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

What does this graph have to do with the Boss’s dilemma?

Page 40: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Complementary graph

Page 41: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Complete subgraph

• Subgraph: vertices subset of vertex set, edges subset of edge set

• Complete: every vertex is connected to every other vertex.

Page 42: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Complementary graph

Page 43: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Clicker question: How many men are in the room

• There are several men and 15 women in a room. Each man shakes hands with exactly 6 women, and each woman shakes hands with exactly 8 men.

• How many men are in the room?

Page 44: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Clicker question

• There are several men and 15 women in a room. Each man shakes hands with exactly 6 women, and each woman shakes hands with exactly 8 men. How many men are in the room?

• A) 15• B) 8• C) 20• D) 6

Page 45: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Visualize whirled peas

• Samantha the sculptress wishes to make “world peace” sculpture based on the following idea: she will sculpt 7 pillars, one for each continent, placing them in circle. Then she will string gold thread between the pillars so that each pillar is connected to exactly 3 others.

• Can Samantha do this?

Page 46: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Clicker Question: Can Samantha do this?

• A) Yes• B) No

Page 47: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Solution:

• Think of the “continents” as vertices of a graph• Think of the strings as edges• Is it possible to have a graph with seven

vertices each with degree 3?• No: Each edge joins two vertices, so contribute

one to each vertex degree. The sum of the vertex degree over all vertices equals twice the number of edges, so has to be even.

Page 48: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

7personsEach limb that is connected to another represents an edge. Some have four connections, some have three.

Page 49: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Some additional exercises in graph theory

• There are 7 guests at a formal dinner party. The host wishes each person to shake hands with each other person, for a total of 21 handshakes, according to:

• Each handshake should involve someone from the previous handshake

• No person should be involved in 3 consecutive handshakes

• Is this possible?

Page 50: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Clicker question: Is this possible

• A) Yes• B) No

Page 51: I've just found the internet. History of the internet Digital computers: 1950s ARPA, ARPANET: developed in 1960s 1980s: NSF funds CSNET, TCP/IP developed.

Camelot

• King Arthur and his knights wish to sit at the round table every evening in such a way that each person has different neighbors on each occasion. If KA has 10 knights, for how long can he do this?

• Suppose he wants to do this for 7 nights. How many knights does he need, at a minimum?