B cd a e f g h i j k One answer is; a-g-c-b-f-e-i-k-h-d-j-a Year 2 Warm Up 10/21/10 State a Hamilton Circuit for the following figure:

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
Graph-02.
Hamiltonian Circuits and Paths
Module 5 – Networks and Decision Mathematics Chapter 24 – Directed Graphs.
Graphs Graphs are the most general data structures we will study in this course. A graph is a more general version of connected nodes than the tree. Both.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
1-11 Round Robin Scheduling Round Robin Each entry plays all other entries in their league at least ONCE Wins and losses do not affect participation.
Graphs. Overview What is a graph? Some terminology Types of graph Implementing graphs (briefly) Some graph algorithms Graphs 2/18.
Homework collection Read Pages 175 – 184 Page 188: 21 – 26, 29 – 36, 41 – 44, 47 – 49, 51, 52, 59, 62, 63.
Shortest path algorithm. Introduction 4 The graphs we have seen so far have edges that are unweighted. 4 Many graph situations involve weighted edges.
A traveling salesman has customers in 5 cities which we will call A, B, C, D, and E. The salesman needs to travel to all 5 cities with his trip starting.
§ Hamiltonian Circuits and Paths; Complete Graphs A sample-return mission sent to discover signs of microbial life on Mars is scheduled to be launched.
Chapter 4 Graphs.
Can you find a way to cross every bridge only once?
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
Graph Theory Hamilton Paths and Hamilton Circuits.
Ch. 15: Graph Theory Some practical uses Degree of separation- Hollywood, acquaintance, collaboration Travel between cities Konigsberg bridge Shortest.
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.
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.
Structures 7 Decision Maths: Graph Theory, Networks and Algorithms.
6.1 Hamilton Circuits and Paths: Hamilton Circuits and Paths: Hamilton Path: Travels to each vertex once and only once… Hamilton Path: Travels to each.
Euler and Hamilton Paths. Euler Paths and Circuits The Seven bridges of Königsberg a b c d A B C D.
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.
Discrete Mathematical Structures: Theory and Applications
6.1 Hamilton Circuits and Hamilton Path
CIRCUITS, PATHS, AND SCHEDULES Euler and Königsberg.
Graph Theory Hamilton Paths Hamilton Circuits and.
Directed Graphs AZ Standard Use directed graphs to solve problems.
© Nuffield Foundation 2012 Nuffield Free-Standing Mathematics Activity Networks © Rudolf Stricker.
1 Graphs Terminology By: Sandeep Tuli Astt. Prof. CSE.
Chapter Graphs and Graph Models
Chapter 9: Graphs.
Warm up Mr. Euler and Mr. Hamilton sit down one day to invent a game. They call their new game “baseball.” They argued about whether it was.
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.
Operational Research (O.R.) case studies. What’s the problem?
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Spanning Trees Dijkstra (Unit 10) SOL: DM.2 Classwork worksheet Homework (day 70) Worksheet Quiz next block.
Graphs David Kauchak cs302 Spring Admin HW 12 and 13 (and likely 14) You can submit revised solutions to any problem you missed Also submit your.
© 2006 Pearson Addison-Wesley. All rights reserved14 B-1 Chapter 14 (continued) Graphs.
Hamiltonian Circuits and Paths
Hamilton Paths and Hamilton Circuits
Weighted Graphs and traveling Salesperson problem
Graphs Chapter 20.
Routing Through Networks - 1
Task Tables Draw a graph for the following task table.
Discrete Structures – CNS2300
Shortest Path Graph represents highway system Edges have weights
Can you draw this picture without lifting up your pen/pencil?
Euler Paths and Circuits
Hamiltonian Circuit/Paths:
* Hamiltonian Circuits introduction
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Graph Theory.
Lecture 15: Graph Theory II
4-4 Graph Theory Trees.
6.1 Hamilton Circuits and Hamilton Path
Connectivity Section 10.4.
A path that uses every vertex of the graph exactly once.
Konigsberg- in days past.
Hamiltonian Circuits and Paths
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.
Cornell Notes: Euler Paths and Circuits
Hamiltonian Circuits and Paths Vocabulary
Discrete math Objectives: To learn vocabulary, vertex/edge patterns in discrete math. Vertex Edge Graph - A collection of points some of which are joined.
Discrete Mathematics Lecture 13_14: Graph Theory and Tree
Graphs G = (V, E) V are the vertices; E are the edges.
Warm Up – Tuesday Find the critical times for each vertex.
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Presentation transcript:

b cd a e f g h i j k One answer is; a-g-c-b-f-e-i-k-h-d-j-a Year 2 Warm Up 10/21/10 State a Hamilton Circuit for the following figure:

Directed and Weighted Graphs and Tournaments Objective: S2C4PO1

Weighted Paths and Circuits _________ network paths and circuits have values along the edges. To find the shortest network path you look for the path that travels the shortest distance but goes to all the vertices. To find the shortest network circuit you look for the circuit that travels the shortest distance, remember a network circuit will start and end at the same point. Weighted

g f e d c b a What is the shortest distance from point a to e? 2.Name the shortest Euler path. How long is it? 3. Is there an Euler Circuit?No Ex: CBDCAGDEFG = 38 GDEFGACDBC = 38 All Euler Paths will have the same length. 10 Applications: Trucking Routes, Toll Roads, Fastest routes for running errands, Resistance on power lines

Directed Graphs The graphs we have looked at so far have been ______________. ___________ give the _____ a ______ that must be traveled from one vertex to another. Think about the difference between a regular 2-way street (undirected) and a 1-way street (directed). undirected graphs Directed graphs edges direction

Yesterday you found several different Euler Circuits in this figure. Let’s look at how adding direction to a graph changes the number of solutions we can find. A B C D E F Our first possible solution from yesterday was: D,E,F,A,D,C,A,B,D Now that the graph is directed, is that still a solution? NO Which solutions work now that the graph is directed? ACDABDEFA ABDEFACDA

Tournament Graphs Directed graphs are often used in looking at ____________. Specifically, round-robin tournaments where each person/team plays every other person/team with no ties. In a tournament graph, the vertices correspond to the players. The edge between each pair of players is oriented from the _______ to the _____. tournaments winner loser

Tournaments 1.Assume that the vertex-edge graph below is a representation of a Mathlete round-robin tournament. 2.The winner of a tournament is defined by any vertex that comes ____ in a _____________. Josie Alessandro Salim Amanda Amanda is the winner of the Tournament!!! first Hamilton Path 1.The arrow always points from the winner to the loser of the game. 2.A Hamilton Path touches every vertex once and only once.

Tournaments 1.You can also put the information in the graph into a matrix to find the winner. 2.A win is worth 1 and a loss is worth 0. K J D A K A A D D J J K X X X X = 3 = 1 = 0 A is the winner of the tournament!

Examples Which team wins the tournament? Ex. 1 Perry HS Hamilton HS Chandler HS Perry HS GO PUMAS! Ex. 2 Team A Team B Team C Team D Team E Team D

Creating a Tournament Graph There is a “HORSE” tournament between Shaq, Kobe, Dwayne, and Kevin. The tournament is a round robin. Create a tournament graph that has Dwayne winning the tournament and Shaq beating Kobe in their one-on-one game. Shaq Kevin Kobe Dwayne Step 1: Create a graph that has a vertex for every player. Step 2: Mark the given information.

Creating a Tournament Graph Shaq Kevin Kobe Dwayne Step 3: The Winner of the tourney is the start of a Hamilton Path. So starting at Dwayne, make a directed path that touches every vertex once. There are a few ways you can do this. Step 4: Fill in the other arrows carefully. Make sure the “winner” has the most wins and that there aren’t any other Hamilton paths that start with another player.

Summary… How do you determine the winner of a tournament using a vertex edge graph?

Homework: Directed Graph/Tournament WS #2