THE CHINESE POSTMAN PROBLEM Liz Biz and Hells Bells.

Slides:



Advertisements
Similar presentations
Decision Maths Networks Kruskals Algorithm Wiltshire Networks A Network is a weighted graph, which just means there is a number associated with each.
Advertisements

The Chinese Postman Problem Route Planning Map Colouring
Coloring Warm-Up. A graph is 2-colorable iff it has no odd length cycles 1: If G has an odd-length cycle then G is not 2- colorable Proof: Let v 0, …,
Graphs: basic definitions and notation Definition A (undirected, unweighted) graph is a pair G = (V, E), where V = {v 1, v 2,..., v n } is a set of vertices,
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
Discrete Maths Chapter 5: Route Inspection Lesson 1: Chinese Postman.
Koenigsberg bridge problem It is the Pregel River divided Koenigsberg into four distinct sections. Seven bridges connected the four portions of Koenigsberg.
Decision Maths Graphs Wiltshire Graphs A graph is just a diagram made up of “dots” and “lines”. These are all graphs. The dots are called “nodes” or.
What is the first line of the proof? a). Assume G has an Eulerian circuit. b). Assume every vertex has even degree. c). Let v be any vertex in G. d). Let.
1 Routing Algorithms. 2 Outline zBellaman-Ford Algorithm zDijkstra Algorithm.
Chapter 4 Graphs.
The Travelling Salesman Algorithm A Salesman has to visit lots of different stores and return to the starting base On a graph this means visiting every.
Graphs and Euler cycles Let Maths take you Further…
Management Science 461 Lecture 9 – Arc Routing November 18, 2008.
5.7 Eulerizing Graphs. Euler circuit and Euler path do not always exist. There are many graphs (in real life) that have more than 2 odd vertices. Instead.
© Nuffield Foundation 2011 Nuffield Free-Standing Mathematics Activity Chinese postman problems What route can I take to avoid going along the same street.
Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we can find a path that goes over all.
CSE, IIT KGP Euler Graphs and Digraphs. CSE, IIT KGP Euler Circuit We use the term circuit as another name for closed trail.We use the term circuit as.
Chinese Postman Algorithm Aims: To be able to use the Chinese Postman Algorithm for: all even vertices. 2 odd vertices. Starting and ending at the same.
There is a Postman who delivers mail to a certain neighborhood of streets. The postman is unwilling to walk far so he wants to find the shortest route.
Chinese postman problem
Structures 7 Decision Maths: Graph Theory, Networks and Algorithms.
Can you connect the dots as shown without taking your pen off the page or drawing the same line twice.
Chapter 2: Graphs and Networks Lesson 2: Hello Mr Euler…
Graphs Edge(arc) Vertices can be even or odd or undirected (two-way) Edges can be directed (one-way) This graph is connected. Degree(order) = 3 Odd vertex.
The Travelling Salesperson Problem A salesperson needs to visit London, Nottingham, Manchester and Leeds, he lives in Birmingham. Find the shortest route.
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
Eulerian Paths and Cycles. What is a Eulerian Path Given an graph. Find a path which uses every edge exactly once. This path is called an Eulerian Path.
Review Euler Graph Theory: DEFINITION: A NETWORK IS A FIGURE MADE UP OF POINTS (VERTICES) CONNECTED BY NON-INTERSECTING CURVES (ARCS). DEFINITION: A VERTEX.
M Clements Formal Network Theory. Introduction Practical problem – The Seven Bridges of Königsberg Network graphs Nodes & edges Degrees Rules/ axioms.
By Meli & Amy & Meggie & Bex. What is route inspection hmmmm??? Objective: Is to go along every single edge and end up back to where you started from.
Introduction to Graph Theory
Decision Maths 1 Shortest path algorithm Dijkstra’s Algorithm A V Ali :
EULER PATHS & CHINESE POSTMAN SOL: DM.2 CLASSWORK WORKSHEET HOMEWORK (DAY 59) WORKSHEET.
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
Grade 11 AP Mathematics Graph Theory Definition: A graph, G, is a set of vertices v(G) = {v 1, v 2, v 3, …, v n } and edges e(G) = {v i v j where 1 ≤ i,
Unit 3 Chinese Postman. Non - Eulerian Semi - Eulerian Eulerian.
Map Coloring Vertex Drawing Txt: mini excursion 2 (p ) & SOL: DM.1 Classwork Project Assigned due in two blocks (print the rubric at the end of.
The graph is neither Eulerian or Semi – Eulerian as it has 4 ODD vertices.
Chinese Postman Problem
Cycles and Rings Hans-Joachim Klein Institut f
Shortest Path from G to C Using Dijkstra’s Algorithm
Graph theory Definitions Trees, cycles, directed graphs.
Section 2: Multiple choice
Can you draw this picture without lifting up your pen/pencil?
Party-by-Night Problem
Spanning Trees.
Network Notes Ms Allan 2012 AS91260 (2.5) Designed to teach from,
R F Z D W X C E Y M S V N G T I A L H Q P J O U
Nuffield Free-Standing Mathematics Activity
Decision Maths Dijkstra’s Algorithm.
Shortest Path.
Chapter 1: Urban Services Lesson Plan
Section 2: Multiple choice
Konigsberg- in days past.
Route Inspection The first method mark is for three distinct pairings of the correct four odd nodes. Get this wrong and you lose all say (five) marks.
Decision Maths Graphs.
Route Inspection Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we introduce a vertex.
Networks Kruskal’s Algorithm
Lecture 11 CSE 331 Sep 21, 2017.
Lecture 12 CSE 331 Sep 22, 2014.
Chapter 1: Urban Services Management Science
Lecture 11 CSE 331 Sep 22, 2016.
Warm Up – Tuesday Find the critical times for each vertex.
Graph Theory Relations, graphs
Weighted Graphs AQR.
Graph Theory: Euler Graphs and Digraphs
Chapter 1: Urban Services Lesson Plan
Graph Theory Proof In Class Exercise.
Homework Solutions.
Presentation transcript:

THE CHINESE POSTMAN PROBLEM Liz Biz and Hells Bells

The Problem Walking the same way again and again Taking all day to do his round Time and money “Money is the route of all evil” Kiara Dec 04

Definitions Nodes: Where edges meet Edge Member of U2! Non-directive Arc Directive Non-directive means you can go in both directions. Directive means you can only go in one direction along the line.

Graphs Eulerian Graph: All nodes are even Start and finish at same place Semi-Eulerian: Two odd nodes, the rest are even Start and finish at different places

How to make a graph Eulerian Count and label the odd nodes If there is an odd number, this will not work. List the possible combinations of pairings Pair up the shortest routes A B C D

How to make a graph Eulerian List the possible combinations for joining the nodes Odd nodes Combinations 2 1=1 4 3*1=3 6 5*3*1=15 8 7*5*3*1=105 n n-1*n-3…*1

A B C D 7 5 6 4

How to find the total distance Add up all the edges on the graph Then add on the length of the extra edges created by the odd vertices

A B C D 7 5 6 4 2 7+5+5+6+2+2+2+2+4+4=39

The End