1.1. Graph Models Two basic notions: Graphs Directed Graphs.

Slides:



Advertisements
Similar presentations
Lecture 15. Graph Algorithms
Advertisements

22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
9.3: Representing Graphs and Graph Isomorphism. Graphs, Edge tables, and adjacency matrices a bababab cdcdcdc edge lists Vertex adjacency vertexinitial.
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
1 Section 8.2 Graph Terminology. 2 Terms related to undirected graphs Adjacent: 2 vertices u & v in an undirected graph G are adjacent (neighbors) in.
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
1/25/2005Tucker, Sec Applied Combinatorics, 4th Ed. Alan Tucker Section 1.2 Isomorphism Prepared by Jo Ellis-Monaghan.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 3, Friday, September 5.
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set SV(G) such that S has more than one component. Connectivity of G ((G)): The.
Chapter 9: Graphs Basic Concepts
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set SV(G) such that G-S has more than one component. d f b e a g c i h.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 4, Monday, September 8.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 10, Monday, September 22.
Section 1.2 Isomorphisms By Christina Touhey and Sarah Graham.
9.3 Representing Graphs and Graph Isomorphism
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
9.2 Graph Terminology and Special Types Graphs
GRAPHS CSE, POSTECH. Chapter 16 covers the following topics Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component,
 期中测验时间:  11 月 4 日  课件 集合,关系,函数,基数, 组合数学.  Ⅰ Introduction to Set Theory  1. Sets and Subsets  Representation of set:  Listing elements, Set builder.
1 ELEC692 Fall 2004 Lecture 1b ELEC692 Lecture 1a Introduction to graph theory and algorithm.
Graphs Simple graph G=(V,E) V = V(G) ={1,2,3,4} – vertices E = E(G) = {a,b,c,d,e} – edges Edge a has end- vertices 1 and 2. Vertices 1 and 2 are adjacent:
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.
Lecture 10: Graphs Graph Terminology Special Types of Graphs
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 9 (Part 2): Graphs  Graph Terminology (9.2)
ساختمانهای گسسته دانشگاه صنعتی شاهرود – فروردین 1392.
1 CS104 : Discrete Structures Chapter V Graph Theory.
Graph pattern matching Graph GGraph Qisomorphism f(a) = 1 f(b) = 6 f(c) = 8 f(d) = 3 f(g) = 5 f(h) = 2 f(i) = 4 f(j) = 7.
Computing the chromatic number for block intersection graphs of Latin squares Ed Sykes CS 721 project McMaster University, December 2004 Slide 1.
GRAPHS THEROY. 2 –Graphs Graph basics and definitions Vertices/nodes, edges, adjacency, incidence Degree, in-degree, out-degree Subgraphs, unions, isomorphism.
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.
Chapter 10 Graph Theory Eulerian Cycle and the property of graph theory 10.3 The important property of graph theory and its representation 10.4.
Chapter 5 Graphs  the puzzle of the seven bridge in the Königsberg,  on the Pregel.
Graph.
1 Graphs Theory UNIT IV. 2Contents  Basic terminology,  Multi graphs and weighted graphs  Paths and circuits  Shortest path in weighted graph  Hamiltonian.
Introduction to Graph Theory
ساختمانهای گسسته دانشگاه صنعتی شاهرود – فروردین 1392.
EMIS 8373: Integer Programming Combinatorial Relaxations and Duals Updated 8 February 2005.
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. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
 Quotient graph  Definition 13: Suppose G(V,E) is a graph and R is a equivalence relation on the set V. We construct the quotient graph G R in the follow.
Walks, Paths and Circuits. A graph is a connected graph if it is possible to travel from one vertex to any other vertex by moving along successive edges.
Graphs Basic properties.
Introduction to Graph Theory
Basic Operations on Graphs Lecture 5.. Basic Operations on Graphs Deletion of edges Deletion of vertices Addition of edges Union Complement Join.
Graphs. Contents Terminology Graphs as ADTs Applications of Graphs.
Chapter 9: Graphs.
CS 261 – Nov. 17 Graph properties – Bipartiteness – Isomorphic to another graph – Pseudograph, multigraph, subgraph Path Cycle – Hamiltonian – Euler.
1 Data Structures and Algorithms Graphs. 2 Graphs Basic Definitions Paths and Cycles Connectivity Other Properties Representation Examples of Graph Algorithms:
MAT 2720 Discrete Mathematics Section 8.1 Introduction
Subgraphs Lecture 4.
Lecture 19: CONNECTIVITY Sections
5.9.2 Characterizations of Planar Graphs
Graph theory Definitions Trees, cycles, directed graphs.
Connected Components Minimum Spanning Tree
G-v, or G-{v} When we remove a vertex v from a graph, we must remove all edges incident with the vertex v. When a edge is removed from a graph, without.
Connectivity Section 10.4.
Shortest path algorithm
Discrete Mathematics Lecture 12: Graph Theory
Discrete Mathematics Lecture 13_14: Graph Theory and Tree
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Lecture 10: Graphs Graph Terminology Special Types of Graphs
Chapter 5 Graphs the puzzle of the seven bridge in the Königsberg,
N(S) ={vV|uS,{u,v}E(G)}
Simple Graphs: Connectedness, Trees
Bipartite graphs and Planar Graphs
Graph Algorithms DS.GR.1 Chapter 9 Overview Representation
GRAPHS.
Chapter 14 Graphs © 2011 Pearson Addison-Wesley. All rights reserved.
For Friday Read chapter 9, sections 2-3 No homework
Presentation transcript:

1.1. Graph Models Two basic notions: Graphs Directed Graphs

Graphs (Simple) graph G=(V,E) V = {1,2,3,4} – vertices E = {a,b,c,d,e} – edges Vertices 1 and 2 are adjacent: 1 ~ 2; a = (1,2) a e cb d

Directed Graphs Directed edges, such as (a !,b) a cd b

Example 1: Matching A-E, people a-e, jobs Can each person get a job? Answer: No! Why? Bipartite graph B Dd b Aa Cc Ee

Example 2: Spelling Checker Testing if letter x is in the tree. Say x = Q x · M or x > M. x · S or x > S. x · P or x > P. G PZ S M D J

Example 3: Network Reliabiliy. Two questions: What is the minimal number of edges whose removal will disconnect the graph? What is the minimum number of edges needed to link together the eleven vertices? i g ad efh k cb j

Example 6: Interval Graph Modeling. A competition graph used in ecology, has a vertex for each pair of species that feed on a comon prey. One may sometimes consider competition graphs as interval graphs. b ac d e f

1.2. Isomorphism Homework: Read 1.3. Do Exercises1.2: 3,4,8,10,16 Volunteers: ____________ Problem: 16. News: News: We have a class website at: We have a class website at: Warning: In 1.1.#5 use Figure 1.5(a) [and NOT figure 1.3] Warning: In 1.1.#5 use Figure 1.5(a) [and NOT figure 1.3]

Isomorphism Two graphs G and G’ are isomorphic if there exists a one-to-one correspondence between the vertices in G and the vertices in G’ such that a pair of vertices are adjacent in G if and only if the corresponding pair of vertices is adjacent in G’. Such a correspondence is called an isomorphism.

Subgraph A subgraph G’ of a graph G is a graph formed by a subset of vertices and edges of G.

Complete graph K n. A graph on n vertices in which each vertex is adjacent to all other vertices is called a complete graph on n vertices, denoted by K n. K 20