Graph theory at work.  Examine the procedure utilized by snow plows in Iowa City  Systemize and minimize routes  Review mathematical concepts involved.

Slides:



Advertisements
Similar presentations
Discrete math Objectives: To learn vocabulary, vertex/edge patterns in discrete math. Vertex Edge Graph - A collection of points some of which are joined.
Advertisements

CSE 211 Discrete Mathematics
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Graph-02.
Introduction to Graphs
Lecture 21 Paths and Circuits CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Section 14.1 Intro to Graph Theory. Beginnings of Graph Theory Euler’s Konigsberg Bridge Problem (18 th c.)  Can one walk through town and cross all.
Euler Circuits and Paths
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.
Applied Discrete Mathematics Week 12: Trees
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 5,Wednesday, September 10.
MTH118 Sanchita Mal-Sarkar. Routing Problems The fundamental questions: Is there any proper route for the particular problem? If there are many possible.
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
Graphs and Euler cycles Let Maths take you Further…
Math for Liberal Studies.  Here is a map of the parking meters in a small neighborhood  Our goal is to start at an intersection, check the meters, and.
GRAPH Learning Outcomes Students should be able to:
Graph Theoretic Concepts. What is a graph? A set of vertices (or nodes) linked by edges Mathematically, we often write G = (V,E)  V: set of vertices,
Graph Theory Topics to be covered:
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.
Euler and Hamilton Paths
Chinese postman problem
Euler and Hamilton Paths. Euler Paths and Circuits The Seven bridges of Königsberg a b c d A B C D.
Nyhoff, ADTs, Data Structures and Problem Solving with C++, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Graphs.
1 CS104 : Discrete Structures Chapter V Graph Theory.
CS 200 Algorithms and Data Structures
Nyhoff, ADTs, Data Structures and Problem Solving with C++, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Graphs.
Graphs.  Definition A simple graph G= (V, E) consists of vertices, V, a nonempty set of vertices, and E, a set of unordered pairs of distinct elements.
5.4 Graph Models (part I – simple graphs). Graph is the tool for describing real-life situation. The process of using mathematical concept to solve real-life.
Data Structures & Algorithms Graphs
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Examples Euler Circuit Problems Unicursal Drawings Graph Theory
Introduction to Graph Theory
Aim: What is an Euler Path and Circuit?
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.
© Jalal Kawash 2010 Graphs Peeking into Computer Science.
Lecture 10: Graph-Path-Circuit
1 Directed Graphs Chapter 8. 2 Objectives You will be able to: Say what a directed graph is. Describe two ways to represent a directed graph: Adjacency.
© Nuffield Foundation 2012 Nuffield Free-Standing Mathematics Activity Networks © Rudolf Stricker.
1.Quiz 5 due tomorrow afternoon in E309 from 1pm to 4pm. 2.Homework grades will be based on ten graded homework assignments (dropping the lowest one).
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
Chapter 6: Graphs 6.1 Euler Circuits
Basic properties Continuation
Review Euler Graph Theory: DEFINITION: A NETWORK IS A FIGURE MADE UP OF POINTS (VERTICES) CONNECTED BY NON-INTERSECTING CURVES (ARCS). DEFINITION: A VERTEX.
Class 2: Graph Theory IST402. Can one walk across the seven bridges and never cross the same bridge twice? Network Science: Graph Theory THE BRIDGES OF.
Introduction to Graph Theory
Chapter 9: Graphs.
Class 2: Graph Theory IST402.
EULER PATHS & CHINESE POSTMAN SOL: DM.2 CLASSWORK WORKSHEET HOMEWORK (DAY 59) WORKSHEET.
1) Find and label the degree of each vertex in the graph.
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.
Graphs. Graph Definitions A graph G is denoted by G = (V, E) where  V is the set of vertices or nodes of the graph  E is the set of edges or arcs connecting.
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
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,
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
15. Directed graphs and networks
Discrete Structures – CNS2300
Can you draw this picture without lifting up your pen/pencil?
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Walks, Paths, and Circuits
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.
Hamiltonian Circuits and Paths Vocabulary
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Euler and Hamilton Paths
GRAPHS G=<V,E> Adjacent vertices Undirected graph
Graph Theory Relations, graphs
Presentation transcript:

Graph theory at work

 Examine the procedure utilized by snow plows in Iowa City  Systemize and minimize routes  Review mathematical concepts involved  Look into how math concepts apply to this problem  Model  Apply to example section  Conclusions/Recommendations

 Winter of  Unplowed areas  Results  Uneven roads  Unable to plow  Cracks and potholes

 Environmental  Reduce Gas Consumption  Greenhouse gas emissions  Save money  Public  Complaints  City website  Safety

 System  Current process  Downtown/Bus routes  Steep slopes  Flat secondary roads  Easy to teach  Little confusion

 Seven Bridges of Könisburg  Euler

 Traverse each edge exactly once  Circuits exist if all vertices of even degree  Digraph: indegree equals outdegree for all vertices  Use here  If one exists, will be optimal route  More than one truck

 Multigraph  Vertices - intersections of roads  Edges – bidirectional streets  Directed arcs – one-way streets  For snow plows  Must traverse each lane of each road at least once  Digraph  Vertices – intersections of roads  Arcs – directed lanes

 Kwan Mei-Ko 1960’s  Goal: traverse every street in least distance  More general than bridge problem  If contains eulerian circuit, this is the shortest route  If not, solution can be found

 If not using city’s current priorities  Weights represent distance  Want Mininimum  Find degrees of all vertices in graph  Must be even number of vertices of odd degree  Handshake lemma  Find shortest weighted paths between these vertices  Draw duplicate edges along path  Will then have all even degrees  Create Eulerian Circuit

 If I choose to comply with current process  Assign weights to streets  Weights represent grade of street  Find maximal weighted paths first  Represent steep slopes  Follow by lower weighted paths  Flatter streets

 Square matrix  Each row and column represents a vertex  ‘1’ in X ij if arc (edge) exists from i to j  ‘0’ otherwise  Will be used to find degree of vertex in multigraph  Sum of ones in vertex row/column (digraph)

 Traverse bus routes  Simple because already circuits  Divide city into sections (10)  Within each section, split roads into phases  Maintain city’s current priorities  Each phase  Create adjacency matrix  For vertices of odd degree, create connected graph with weights of shortest distance between  Find perfect matching  New edges along path  Find Eulerian circuit  Repeat for steep roads, flat roads

Vertices 2,3,4,5,6,7 have odd degree

Assign weights (shortest distance) Find minimal matching

Duplicate red edges

 Divide the city into sections  Determine which streets fall into which phase  Determine distances between vertices  Create computer program  Takes in vertices/edges  Forms adjacency matrices  Finds degrees  Forms weighted matrix for vertices of odd degree  Minimizes matching  Duplicates these edges  Results in minimal distance path for each phase