CSCI 115 Chapter 8 Topics in Graph Theory. CSCI 115 §8.1 Graphs.

Slides:



Advertisements
Similar presentations
Chapter 8 Topics in Graph Theory
Advertisements

Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
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.
Walks, Paths and Circuits Walks, Paths and Circuits Sanjay Jain, Lecturer, School of Computing.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Graph-02.
 期中测验时间:本周五上午 9 : 40  教师 TA 答疑时间 : 周三晚上 6 : 00—8 : 30  地点:软件楼 315 房间,  教师 TA :李弋老师  开卷考试.
13 May 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
1 Slides based on those of Kenneth H. Rosen Slides by Sylvia Sorkin, Community College of Baltimore County - Essex Campus Graphs.
Discrete Mathematics and Its Applications
© 2006 Pearson Addison-Wesley. All rights reserved14 A-1 Chapter 14 excerpts Graphs (breadth-first-search)
Edited by Malak Abdullah Jordan University of Science and Technology Data Structures Using C++ 2E Chapter 12 Graphs.
Graphs – Basic Concepts
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.
Discrete Structures Chapter 7B Graphs Nurul Amelina Nasharuddin Multimedia Department.
Discrete Structures Chapter 7A Graphs Nurul Amelina Nasharuddin Multimedia Department.
1 CMSC 250 Discrete Structures CMSC 250 Lecture 1 January 28, 2008.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
MCA 520: Graph Theory Instructor Neelima Gupta
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
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,
© 2006 Pearson Addison-Wesley. All rights reserved14 A-1 Chapter 14 Graphs.
GRAPHS CSE, POSTECH. Chapter 16 covers the following topics Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component,
Chapter 4 Relations and Digraphs
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Chapter 1 Fundamental Concepts II Pao-Lien Lai 1.
 What is a graph? What is a graph?  Directed vs. undirected graphs Directed vs. undirected graphs  Trees vs graphs Trees vs graphs  Terminology: Degree.
CSNB143 – Discrete Structure Topic 9 – Graph. Learning Outcomes Student should be able to identify graphs and its components. Students should know how.
Chapter 6 Graph Theory R. Johnsonbaugh Discrete Mathematics 5 th edition, 2001.
1 CS104 : Discrete Structures Chapter V Graph Theory.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Introduction Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
COSC 2007 Data Structures II Chapter 14 Graphs I.
September1999 CMSC 203 / 0201 Fall 2002 Week #13 – 18/20/22 November 2002 Prof. Marie desJardins.
Chapter 5 Graphs  the puzzle of the seven bridge in the Königsberg,  on the Pregel.
Mathematical Preliminaries
Topics Paths and Circuits (11.2) A B C D E F G.
Unit – V Graph theory. Representation of Graphs Graph G (V, E,  ) V Set of vertices ESet of edges  Function that assigns vertices {v, w} to each edge.
An Introduction to Graph Theory
Graph Theory and Applications
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.
Basic properties Continuation
Introduction to Graph Theory
Implicit Representation of Graphs Paper by Sampath Kannan, Moni Naor, Steven Rudich.
Chapter 11 - Graph CSNB 143 Discrete Mathematical Structures.
Chapter 9: Graphs.
CSCI 115 Course Review.
Conceptual Foundations © 2008 Pearson Education Australia Lecture slides for this course are based on teaching materials provided/referred by: (1) Statistics.
Lecture 5.3: Graph Isomorphism and Connectivity CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures by Zeph Grunschlag.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
Leda Demos By: Kelley Louie Credits: definitions from Algorithms Lectures and Discrete Mathematics with Algorithms by Albertson and Hutchinson graphics.
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 10.
CSNB 143 Discrete Mathematical Structures
Graphs: Definitions and Basic Properties
Graph Graphs and graph theory can be used to model:
CSE 373, Copyright S. Tanimoto, 2001 Graphs 1 -
10.3 Finite State Machines.
Grade 11 AP Mathematics Graph Theory
Chapter 5 Fundamental Concept
Graph theory Definitions Trees, cycles, directed graphs.
Can you draw this picture without lifting up your pen/pencil?
CSE 373, Copyright S. Tanimoto, 2002 Graphs 1 -
Graphs, Trees and Algorithms 1
CS100: Discrete structures
Chapter 14 Graphs © 2006 Pearson Addison-Wesley. All rights reserved.
Graphs G = (V, E) V are the vertices; E are the edges.
CHAPTER 15 Graph Theory.
Chapter 14 Graphs © 2011 Pearson Addison-Wesley. All rights reserved.
Presentation transcript:

CSCI 115 Chapter 8 Topics in Graph Theory

CSCI 115 §8.1 Graphs

§8.1 – Graphs Graph –A graph G consists of a finite set of vertices V, a finite set of edges E, and a function γ that assigns a subset of vertices {v, w} to each edge (v may equal w) –If e is an edge, and γ(e) = {v, w} we say e is the edge between v & w, and that v & w are the endpoints of e

§8.1 – Graphs Terminology –Degree of a vertex Number of edges having that vertex as an endpoint –Loop Edge from a vertex to itself Contributes 2 to the degree of a vertex –Isolated vertex Vertex with degree 0 –Adjacent vertices Vertices that share an edge

§8.1 – Graphs Path –A path  in a graph G consists of a pair of sequences (V , E  ), V  : v 1, v 2, …, v k and E  : e 1, e 2, …, e k–1 s.t.: 1.γ(e i ) = {v i, v i+1 }  i 2.e i  e j  i, j

§8.1 – Graphs More terminology –Circuit Path that begins and ends at the same vertex –Simple path No vertex appears more than once (except possibly the first and last) –Simple circuit Simple path where first and last vertices are equal

§8.1 – Graphs Special types of graphs –Connected graph  path from every vertex to every other (different) vertex –Disconnected graph There are at least 2 vertices which do not have a path between them components –Regular Graph All vertices have the same degree

§8.1 – Graphs Special families of graphs (n  Z + ) –U n : The discrete graph on n vertices The graph with n vertices and no edges –K n : The complete graph on n vertices The graph with n vertices, and an edge between every pair of vertices –L n : The linear graph on n vertices The graph with n vertices and edges {v i, v i+1 }  i  {1, 2, …, n – 1}

§8.1 – Graphs Subgraphs –If G = (V, E, γ) and E 1  E, V 1  V s.t. V 1 contains (at least) all of the end points of edges in E 1, then H = (V 1, E 1, γ) is a subgraph of G –If G = (V, E, γ) and e  E, then G e is the subgraph found by deleting e from G and keeping all vertices

§8.1 – Graphs Quotient graphs –If G = (V, E, γ) and R is an equivalence relation on V, then G R is the quotient graph found by merging all vertices within the same equivalence classes.

CSCI 115 Chapter 10 Languages and Finite State Machines

CSCI 115 §10.3 Finite State Machines

§10.3 – Finite State Machines Machine –A machine is a system that accepts input, produces output, and has memory to keep track of previous inputs (which many be manipulated) State –A state is the complete internal condition of the machine (i.e. the memory) Affects reaction to subsequent I/O

§10.3 – Finite State Machines Finite State Machine (FSM) –A machine that has a finite number of states –Example: computer

§10.3 – Finite State Machines Assume we have the following: –S = {s 0, s 1, …, s n } is a set with n elements –A finite set I –  x  I,  f x :S  S. Let F = {f x | x  I} Then (S, I, F) is a finite state machine

§10.3 – Finite State Machines Given (S, I, F) is a FSM, we have the following: –S is the state set –s i is a state  s i  S –I is the input set –  x  I, f x describes the effect the input x has on the state of the machine State transition function –If the machine is in state s i and the input x occurs, the next state is f x (s i ) –State transition table – matrix showing the effects of the various inputs on the various states

§10.3 – Finite State Machines Relation arising from finite state machines –If M is the FSM (S, I, F) then define R M as follows: R M is a relation on S s i R M s j iff  x  I s.t. f x (s i ) = s j –Edges in the digraph of R M are labeled with all inputs that create that state transition –We will not be covering Moore Machines, Machine Congruences, or Quotient Machines