Module 5 – Networks and Decision Mathematics Chapter 24 – Directed Graphs.

Slides:



Advertisements
Similar presentations
Graph Theory Arnold Mesa. Basic Concepts n A graph G = (V,E) is defined by a set of vertices and edges v3 v1 v2Vertex (v1) Edge (e1) A Graph with 3 vertices.
Advertisements

8.3 Representing Relations Connection Matrices Let R be a relation from A = {a 1, a 2,..., a m } to B = {b 1, b 2,..., b n }. Definition: A n m  n connection.
Review Binary Search Trees Operations on Binary Search Tree
13 May 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
Hamiltonian Circuits and Paths
Directed graphs Reachability A graph where direction is indicated for every edge is called a directed graph or digraph. Reachability is about reaching.
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.
Module 5 – Networks and Decision Mathematics Chapter 24 – Directed Graphs.
Euler Circuits and Paths
Introduction to Graph Theory Lecture 19: Digraphs and Networks.
Introduction to Graphs
Shortest path algorithm. Introduction 4 The graphs we have seen so far have edges that are unweighted. 4 Many graph situations involve weighted edges.
Discrete Math for CS Chapter 8: Directed Graphs. Discrete Math for CS digraph: A digraph is a graph G = (V,E) where V is a finite set of vertices and.
Algorithms on graphs In Decision Mathematics, a graph consists of points (called vertices or nodes) which are connected by lines (edges or arcs). Eg in.
WB13 Define the terms bipartite graph,
The Mathematics of Networks Chapter 7. Trees A tree is a graph that –Is connected –Has no circuits Tree.
Chapter 9: Graphs Basic Concepts
Graphs, relations and matrices
DynaTraffic – Models and mathematical prognosis
C o n f i d e n t i a l HOME NEXT Subject Name: Data Structure Using C Unit Title: Graphs.
Module 5 – Networks and Decision Mathematics Chapter 24 – Directed Graphs.
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,
Chapter 2 Graph Algorithms.
CO1301: Games Concepts Dr Nick Mitchell (Room CM 226) Material originally prepared by Gareth Bellaby.
Networks.
Module 5 – Networks and Decision Mathematics Chapter 23 – Undirected Graphs.
Introduction to Graphs. Introduction Graphs are a generalization of trees –Nodes or verticies –Edges or arcs Two kinds of graphs –Directed –Undirected.
Vertices and Edges Introduction to Graphs and Networks Mills College Spring 2012.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 8 The Mathematics of Scheduling 8.1The Basic Elements of Scheduling.
1 CS104 : Discrete Structures Chapter V Graph Theory.
Module 5 – Networks and Decision Mathematics Chapter 23 – Undirected Graphs.
Linear Algebra (Aljabar Linier) Week 6 Universitas Multimedia Nusantara Serpong, Tangerang Dr. Ananda Kusuma Ph: ,
Linear Algebra (Aljabar Linier) Week 5 Universitas Multimedia Nusantara Serpong, Tangerang Dr. Ananda Kusuma Ph: ,
Computer Science: A Structured Programming Approach Using C Graphs A graph is a collection of nodes, called vertices, and a collection of segments,
COSC 2007 Data Structures II Chapter 14 Graphs I.
Data Structures CSCI 132, Spring 2014 Lecture 38 Graphs
Graphs A ‘Graph’ is a diagram that shows how things are connected together. It makes no attempt to draw actual paths or routes and scale is generally inconsequential.
Graphs 9.1 Graphs and Graph Models أ. زينب آل كاظم 1.
Representing Relations Using Matrices A relation between finite sets can be represented using a zero-one matrix Suppose R is a relation from A = {a 1,
Graphs Upon completion you will be able to:
Chapter Graphs and Graph Models
Chapter 9: Graphs.
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.
Chapter 05 Introduction to Graph And Search Algorithms.
DECISION 1. How do you do a Bubble Sort? Bubble Sort:  You compare adjacent items in a list;  If they are in order, leave them.  If they are not in.
Global Constraints for Strategy Graphs Gary Gengo COM 3220 June 9, 1998.
Hamiltonian Circuits and Paths
15. Directed graphs and networks
Basic Concepts Graphs For more notes and topics visit:
CSNB 143 Discrete Mathematical Structures
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 10 Graphs Slides are adopted from “Discrete.
Mathematical Structures for Computer Science Chapter 6
Network Notes Ms Allan 2012 AS91260 (2.5) Designed to teach from,
Graphs Chapter 11 Objectives Upon completion you will be able to:
Chapter 9: Graphs Basic Concepts
Graphs.
Graph Theory By Amy C. and John M..
Graphs.
Discrete Math 2 Shortest Paths Using Matrix
Representing Relations
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.
Graphs By Rajanikanth B.
Network Flows – Minimum capacities
Graphs G = (V, E) V are the vertices; E are the edges.
GRAPHS G=<V,E> Adjacent vertices Undirected graph
12 Further mathematics Adjacency Matrices.
Graph Vocabulary.
Chapter 9: Graphs Basic Concepts
GRAPHS.
Presentation transcript:

Module 5 – Networks and Decision Mathematics Chapter 24 – Directed Graphs

24.1 Introduction, reachability and dominance 0 A graph where direction is indicated for every edge is called a directed graph (or digraph). 0 Alternative terms commonly used are network for digraph, node for vertex and arc for edge.

0 E.g. The results of a competition can be represented by the figure below: 0 D defeats A 0 D defeats C 0 A defeats B 0 A defeats C 0 B defeats C 0 This information can be represented with an adjacency matrix.

Reachability 0 As the name suggests, reachability is the concept of how it is possible to go from one vertex in a directed network to another. 0 One point in a network is said to be reachable from another point in a directed graph if a path exists between the two points. 0 For example, in the directed graph shown previously: B is reachable from A in one step along the path AB. C is reachable from A in one step along the path AC. C is also reachable from A in two steps along the path A-B-C. D is not reachable from A.

0 Finally, we can combine this information into a single reachability matrix R 0 We can then calculate the total reachability of each of the vertices by adding each of the columns and recording the sums in table. 3

There is only one way you can get to vertex A. There are two different ways that you can get to B. There are six different ways you can get to C from other vertices. D with a total reachability of 0 is not reachable from any other vertex in the matrix. 6

Dominance 0 If an edge in a directed network moves from A to B, then it can be said that A is dominant, or has a greater influence, over B. 0 We often wish to find the dominant vertex in a network; that is, the vertex that holds the most influence over all the other vertices. 0 This may be clearly seen by inspection, by examining the pathways between the vertices. It is generally the vertex that has the most edges moving away from it. 0 However, the dominant vertex in a directed network isn’t always easily determined by inspection.

0 For example: A group of five tennis players A, B, C, D and E, play each other in a round-robin competition to see who is the best player. 0 The results are as follows: 0 A defeated C and D 0 B defeated A, C and E 0 C defeated D 0 D defeated B 0 E defeated A, C and D 1. Who is the best player? B or E? 2. Note: B and E each had three wins (i.e. there are three arrows leaving each). Who is the best player?

0 Matrix D1 records the number of one-step dominances between the players. 0 Matrix D2 records the number of two-steps dominances between the players. 0 Matrix D3 is not necessary as the top players (B or E) have just three wins. 0 B is the best player (highest dominance)