Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Chapter 8 Topics in Graph Theory
Chapter 9 Graphs.
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
MCA 202: Discrete Mathematics under construction Instructor Neelima Gupta
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
13 May 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
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.
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.
1 Representing Graphs. 2 Adjacency Matrix Suppose we have a graph G with n nodes. The adjacency matrix is the n x n matrix A=[a ij ] with: a ij = 1 if.
Lists A list is a finite, ordered sequence of data items. Two Implementations –Arrays –Linked Lists.
Graphs and Trees This handout: Eulerian Cycles: Sufficiency of the condition Hamiltonian tour.
Representing Graphs Wade Trappe. Lecture Overview Introduction Some Terminology –Paths Adjacency Matrix.
IEOR266 © Classification of MCNF problems.
Discrete Structures Chapter 7A Graphs Nurul Amelina Nasharuddin Multimedia Department.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
W. D. Grover TRLabs & University of Alberta © Wayne D. Grover 2002, 2003 Graph theory and routing (initial background) E E Lecture 4.
Drawing of G. Planar Embedding of G Proposition Proof. 1. Consider a drawing of K 5 or K 3,3 in the plane. Let C be a spanning cycle. 2. If the.
Graphs. Graph A “graph” is a collection of “nodes” that are connected to each other Graph Theory: This novel way of solving problems was invented by a.
MCA 520: Graph Theory Instructor Neelima Gupta
Chapter 11 Graphs and Trees This handout: Terminology of Graphs Eulerian Cycles.
Graphs and Trees This handout: Terminology of Graphs Applications of Graphs.
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Eulerian Graphs CSE 331 Section 2 James Daly. Reminders Project 3 is out Covers graphs Due Friday.
GRAPH Learning Outcomes Students should be able to:
Graphs Chapter 10.
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,
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.
Can you connect the dots as shown without taking your pen off the page or drawing the same line twice.
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
Chapter 2: Graphs and Networks Lesson 2: Hello Mr Euler…
Mathematics of Networks (Cont)
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.
Basic Notions on Graphs. The House-and-Utilities Problem.
1 12/2/2015 MATH 224 – Discrete Mathematics Formally a graph is just a collection of unordered or ordered pairs, where for example, if {a,b} G if a, b.
Introduction to Graph Theory
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.
1.5 Graph Theory. Graph Theory The Branch of mathematics in which graphs and networks are used to solve problems.
An Introduction to Graph Theory
Discrete Mathematical Structures: Theory and Applications
Graph Theory and Applications
Graph Theory. A branch of math in which graphs are used to solve a problem. It is unlike a Cartesian graph that we used throughout our younger years of.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
Chapter 6: Graphs 6.1 Euler Circuits
Review Euler Graph Theory: DEFINITION: A NETWORK IS A FIGURE MADE UP OF POINTS (VERTICES) CONNECTED BY NON-INTERSECTING CURVES (ARCS). DEFINITION: A VERTEX.
Graph Concepts and Algorithms Using LEDA By Caroline Moore and Carmen Frerichs (252a-at and 252a-ao) each graph in the presentation was created using gw_basic_graph_algorithms.
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.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
+ GRAPH Algorithm 2 Dikompilasi dari banyak sumber.
STARTER: CAN YOU FIND A WAY OF CROSSING ALL THE BRIDGES EXACTLY ONCE? Here’s what this question would look like drawn as a graph.
Graphs: Definitions and Basic Properties
Graph Theory CSRU1400, Fall 2007 Ellen Zhang.
Grade 11 AP Mathematics Graph Theory
Graph theory Definitions Trees, cycles, directed graphs.
Agenda Lecture Content: Introduction to Graph Path and Cycle
Spanning Trees Discrete Mathematics.
Can you draw this picture without lifting up your pen/pencil?
Graph.
Lecture 15: Graph Theory II
Walks, Paths, and Circuits
Decision Maths Graphs.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Euler and Hamilton Paths
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Chapter 10 Graphs and Trees
Agenda Review Lecture Content: Shortest Path Algorithm
Presentation transcript:

Graph theory and networks

Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins one vertex to another, or a vertex to itself. A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins one vertex to another, or a vertex to itself.  The degree or order of a node is the number of ends of arcs at the vertex.  A connected graph is one where every vertex is linked (by a single arc or a sequence of arcs) to every other.  A subgraph of a graph is another graph that can be seen within it (i.e. another graph consisting of some of the original vertices and arcs).

Special Graphs  The complete graph K n is a simple graph consisting of n vertices with each joined to each of the others by an edge. Each vertex in K n has degree n – 1.  The complete bi-partite graph K m,n consists of two groups of vertices, illustrated with m vertices in one group and n in the other. Each of the m vertices is joined to each of the n vertices.  A connected graph with n vertices and n-1 arcs is called a tree.

Paths and cycles  A walk is a sequence of edges such that the end node of one edge in the sequence is the start node of the next edge in the sequence.  A trail is a walk such that no edge is included more than once (in either direction).  A path is a trail such that no vertex is visited more than once (except that the first vertex may be the same as the last).  A walk, trail or path is closed if the first vertex is the same as the last. A cycle (or circuit) is a closed path. If a cycle visits every node in the graph it is known as a Hamiltonian cycle.

Eulerian and semi-Eulerian graphs  A trail that uses all the edges of a graph is called a Eulerian trail.  If a graph possesses a closed Eulerian trail, then the graph itself is called Eulerian (i.e. a graph is called Eulerian if it is possible to start at a node, traverse each arc exactly once and end up where you started). This is possible if and only if every node has even order.  If a graph possesses an Eulerian trail that is not closed, the graph is called semi-Eulerian (i.e. a graph is semi-Eulerian if it’s possible to start at a node, traverse each arc exactly once and end up somewhere different to the starting point). This is possible if and only if the graph has exactly two odd nodes.

Result  In any graph, the sum of all the degrees = 2 × no. of edges. [By adding up all the degrees you are in effect counting all the ends of the edges. Since each edge has 2 ends, the total number of ends will be twice the number of edges]. [By adding up all the degrees you are in effect counting all the ends of the edges. Since each edge has 2 ends, the total number of ends will be twice the number of edges].

Planar Graphs  A graph is called planar if it can be drawn in the plane with no two edges crossing (except at a node).  Euler’s theorem For any connected graph drawn in the plane with R regions, N nodes and A arcs: R + N = A + 2