ITTC Science of Communication Networks The University of Kansas EECS 784 Graph Theory

Size: px
Start display at page:

Download "ITTC Science of Communication Networks The University of Kansas EECS 784 Graph Theory"

Transcription

1 Science of Communication Networks The University of Kansas EECS 784 Graph Theory James P.G. Sterbenz Department of Electrical Engineering & Computer Science Information Technology & Telecommunications Research Center The University of Kansas 24 January 2017 rev James P.G. Sterbenz

2 Graphs Theory Outline GT.1 Graph types and representation GT.2 Graph properties and metrics GT.3 Distance and connectivity GT.4 Centrality GT.5 Special graphs: fuzzy, time-varying, hypergraphs 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-2

3 Graph Theory Components Model network as a graph Vertex node: v (or n [L2009]) switch, Internet router, end system represented as Edge link: e i ={v j, v k } or e i =v j v k [GY2006] (or l i ={n j, n k } [L2009]) e i is joins and is incident to v j and v k v j v k denotes neighbours such that v j is adjacent to v k wired physical link, wireless link association, P2P relationship represented as or or or 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-3

4 Graph Theory Vertex Adjacency Adjacency: e i ={v j, v k } e i joins and is incident to v j and v k v j and v k are neighbours such that v j is adjacent to v k undirected adjacency v j v k or v j v k directed adjacency v j v k wired physical link, wireless link association, P2P relationship generally undirected bidirectional link may be directed unidirectional link later bidirectional link 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-4

5 Graph Theory Definition Graph G = (V; E ) E V V set of vertices V(G) = {,, } set of edges E(G) = {e 0, e 1, } mapping of e i {v j, v k } [ Bogdan Giuşcă] Example Königsberg graph with multiedges + (self-)loop V = {,,, } e 0 E = {e 0, e 1, e 2, e 3, e 4, e 5, e 6, e 7 } e 0,e 1 ={, }, e 2,e 3 ={, }, e 4 ={, }, e 5 ={, }, e 6 ={, }, e 7 ={, } 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-5 e 1 e 3 e 2 e 4 e 6 e 5 e 7

6 Graph Theory Terminology Edge and vertex functions edge set of a graph E(G) [D,W] or E G [G] vertex set of a graph V(G) [D,W] or V G [G] independent of names of edge or vertex set vertices & edges use distinct name space: E(G) V(G) = Ø may be indexed:,,, ; e 0, e 1, e 2, may use distinct symbols: v, w, x, ; e, f, g, Note: functions on vertices and edges omit subscript if graph to which they belong is obvious e.g. for G: E = E(G) = E G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-6 e 0 e 1 e 3 e 2 e 4 e 6 e 5 e 7

7 Graph Types Simple Simple graph contains no loops or multiedges in communication networks: loops generally not needed January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-7

8 Graph Types Multigraph Simple graph contains no loops or multiedges in communication networks: loops generally not needed Multigraph 1 contains multiedges 0 3 in communicatoin networks: represent trunk groups or multilink spans 2 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-8

9 Simple graph Graph Types Weighted contains no loops or multiedges Multigraph contains multiedges Weighted graph edges have a weight (scalar or vector) in communication networks: weight is a link attribute referred to as cost e.g. capacity, bandwidth utilised, delay, monetary cost (confusingly all refered to as link cost ) vector describes multiple attributes 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT

10 Graph Types Directed Simple graph contains no loops or multiedges Multigraph contains multiedges Weighted graph edges have a weight or cost Directed graph (or digraph) arcs are directed edges may be weighted digraph lecture NF in communication networks: needed for asymmetric links January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-10

11 Graph Types Mixed Simple graph 1 contains no loops or multiedges 0 3 Multigraph 1 2 contains multiedges 0 3 Weighted graph edges have a weight (scalar or vector) Directed graph (or digraph) edges are directed Mixed (partially directed) graph contains both undirected and directed edges January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-11

12 Forest graph with no cycles set of trees Tree T Graph Types Tree and Forest maximal component with no cycles vertices with d(t)=1 are leaves vertices with d(t)>1 are interior vertices any arbitrary vertex may be designated as the root T r in which case it is not a leaf even if d(t r )=1 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-12

13 Subgraph H G subset of vertices V H V G and edges E H E G Proper subgraph H G H G and H G Example? Set-Theoretic Operations Subgraph v 5 v 4 e 0 e 1 e 3 e 5 e 6 e 8 G e 2 e 4 e 7 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-13

14 Set-Theoretic Operations Subgraph Subgraph H G subset of vertices V H V G and edges E H E G Proper subgraph H G H G and H G Example: H 1 G v 5 v 5 v 4 e 0 e 1 e 3 e 5 e 6 e 8 G H 1 v 4 e 3 e 6 e 8 e 2 e 4 e 7 e 5 e 7 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-14

15 Induced subgraph H G, H =: G[V H ] all edges E H E G are included that incident to V H Example: H 1 =: G[V H2 ]? Set-Theoretic Operations Induced Subgraph v 5 v 5 v 4 e 0 e 1 e 3 e 5 e 6 e 8 G H 1 v 4 e 3 e 6 e 8 e 2 e 4 e 7 e 5 e 7 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-15

16 Set-Theoretic Operations Induced Subgraph Induced subgraph H G, H =: G[V H ] all edges E H E G are included that incident to V H Example: H 1 not induced subgraph because e 4 missing H 2 =: G[V H2 ] v 5 v 5 v 4 e 0 e 1 e 3 e 5 e 6 e 8 G H 2 v 4 e 3 e 5 e 4 e 6 e 8 e 2 e 4 e 7 e 7 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-16

17 Set-Theoretic Operations Spanning Subgraph Spanning subgraph H G subgraph contains all vertices V H = V G but only a subset of edges E H E G Example: H 2 spanning subgraph? v 5 v 5 v 4 e 0 e 1 e 3 e 5 e 6 e 8 G H 2 v 4 e 3 e 5 e4 e 6 e 8 e 2 e 4 e 7 e 7 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-17

18 Set-Theoretic Operations Spanning Subgraph Spanning subgraph H G subgraph contains all vertices V T = V G but only a subset of edges E T E G Example: H 2 not spanning subgraph because v 4 missing H 3 G; V H3 = V G v 5 v 5 v 4 e 0 e 1 e 3 e 5 e 6 e 8 G H 3 v 4 e 0 e 3 e 2 e 4 e 7 e 5 e 8 e 2 e 4 e 7 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-18

19 Set-Theoretic Operations Spanning Tree Spanning tree T G subgraph contains all vertices V T = V G and no cycles C T all connected graphs have at least one spanning tree Example: H 3 spanning tree? v 5 v 5 v 4 e 0 e 1 e 3 e 5 e 6 e 8 G H 3 v 4 e 0 e 3 e 2 e 4 e 7 e 5 e 8 e 2 e 4 e 7 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-19

20 Set-Theoretic Operations Spanning Tree Spanning tree T G subgraph contains all vertices V T = V G and no cycles C T all connected graphs have at least one spanning tree Example: H 3 not spanning tree, e.g.,, v 5 v 5 v 4 e 0 e 1 e 3 e 5 e 6 e 8 G H 3 v 4 e 0 e 3 e 2 e 4 e 7 e 5 e 8 e 2 e 4 e 7 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-20

21 Set-Theoretic Operations Spanning Tree Spanning tree T G subgraph contains all vertices V T = V G and no cycles C T all connected graphs have at least one spanning tree Example: H 3 not spanning tree, e.g.,, T 4 G; C T 4 after e 3, e 4 removed from H 3 v 5 v 5 v 4 e 0 e 1 e 3 e 5 e 6 e 8 G T 4 v 4 e 0 e 3 e 2 e 4 e 7 e 5 e 8 e 2 e 4 e 7 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-21

22 Set-Theoretic Operations Spanning Tree Spanning tree T G subgraph contains all vertices V T = V G and no cycles C T subgraph edges in G T are chords of the tree T Example: H 3 not spanning tree, e.g.,, T 4 G; C T 4 after e 3, e 4 removed; e 1, e 3, e 4, e 5 chords v 5 v 5 v 4 e 0 e 1 e 3 e 5 e 6 e 8 G T 4 v 4 e 1 e 0 e 3 e 2 e 4 e 7 e 5 e 8 e 2 e 4 e 7 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-22

23 Complement G Set-Theoretic Operations Complement identical vertices V G = V G only possible edges not in original graph: E G = V G V G E G Example: v 5 v 5 G G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-23

24 Set-Theoretic Operations Line Graph Line Graph L(G) graph formed by swapping vertices and edges not to be confused with linear graph or network lecture RN Example: e 0 e 2 e 0 v 4 e 3 e 1 e 4 e 3 e 1 e 2 e 3 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-24

25 Set-Theoretic Operations Edge Operations Set-theoretic operations with edges and vertices edge addition edge deletion e 1 1 G e 4 e 1 1 G+e 6 e 4 1 e 1 e 3 G e 2 e 4 0 e e e 6 3 e 2 2 e 5 e 2 2 e 5 2 e 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-25

26 Set-Theoretic Operations Graph Operations Set-theoretic operations on multiple graphs union intersection difference 0 H G 3 1 G H G H G H January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-26

27 Simple Graph Types Complete Complete graph full mesh k -regular where k = G 1 all vertex pairs adjacent denoted K n [W2001, GY2006] or K n [D2010] with n vertices 1 K 4 2 K n (n 1)/2 edges (undirected) n (n 1) edges (directed) 0 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-27

28 r-partite graph r classes of vertices Simple Graph Types r -Partite every edge s incident vertices are in different classes [D] K 2, January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-28

29 Complete bipartite graph Graph Theory Simple Graph Types all vertex pairs in different (disjoint) partite sets adjacent K r,s [W2001, GY2006, D2010] with r+s vertices 3 K 2,3 0 rs edges (undirected) 2rs edges (directed) January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-29

30 Graph Theory Simple Graph Types Complete bipartie graph K r,s all vertex pairs in different (disjoint) partite sets adjacent with n vertices with n (n 1)/2 edges 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-30

31 Graph Theory Isomorphism Isomorphic graphs G H structurally identical regardless of how drawn generally we consider them equal: G H G = H note that H appears to be non-planar (edges cross) G H v 4 v 4 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-31

32 Graph Theory Isomorphism Isomorphic graphs G H structurally identical regardless of how drawn generally we consider them equal: G H G = H but (isomorphic) H is planar (edges do not cross) G H v 4 v 4 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-32

33 Incidence matrix Q Graph Representation Data Structures rectangular matrix with a row/vertex and column/edge Adjacency matrix A square matrix with row, column entry for each vertex v i Path matrix P square matrix giving shortest path lengths between vertices 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-33

34 Graph Representation Incidence Matrix Incidence matrix Q (note: I refers to identity matrix) rectangular matrix rows r i are vertices v i columns c i are edges e i requires separate edge labelling Q(G) e 0 e 1 e 2 e 3 e 4 e 0 e 1 e 2 e 4 e 3 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-34

35 Graph Representation Incidence Matrix Incidence matrix Q (note: I refers to identity matrix) rectangular matrix rows r i are vertices v i columns c i are edges e i requires separate edge labelling Q(G) e 0 e 1 e 2 e 3 e e 0 e 1 e 2 e 4 e 3 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-35

36 Adjacency matrix A Graph Representation Adjacency Matrix square matrix with row, column entry for each vertex v i A(G) e 0 e 1 e 2 e 4 e 3 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-36

37 Adjacency matrix A Graph Representation Adjacency Matrix square matrix with row, column entry for each vertex v i defines edges e ij = v i v j between all vertex pairs for simple graph 0 = no edge, 1 = edge (simple graph) all diagonals 0 since no self-loops A(G) e 0 e 1 e 2 e 4 e 3 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-37

38 Adjacency matrix A Graph Representation Adjacency Matrix square matrix with row, column entry for each vertex v i defines edges e ij = v i v j between all vertex pairs for simple graph 0 = no edge, 1 = edge (simple graph) A(G) all diagonals 0 symmetric since undirected January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-38 e 0 e 1 e 2 e 4 e 3 G

39 Path matrix P Graph Representation Path Matrix square matrix with row, column entry for each vertex v i defines shortest path lengths d(v i v j ) between all vertex pairs all diagonals 0 P(G) e 0 e 1 e 2 e 4 e 3 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-39

40 Path matrix P Graph Representation Path Matrix square matrix with row, column entry for each vertex v i defines shortest path lengths d(v i v j ) between all vertex pairs all diagonals 0 for connected graphs all other entries nonzero p ij = min(pathlen(v i, v j )) P(G) symmetric since undirected _ 1 1 _ January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-40 e 0 e 1 e 2 e 4 e 3 G

41 Path matrix P Graph Representation Path Matrix square matrix with row, column entry for each vertex v i defines shortest path lengths d(v i v j ) between all vertex pairs all diagonals 0 for connected graphs all other entries nonzero p ij = min(pathlen(v i, v j )) P(G) symmetric since undirected January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-41 e 0 e 1 e 2 e 4 e 3 G

42 Graph Representation Laplacian Matrix Laplacian matrix L = D A square matrix with row, column entry for each vertex v i L e 0 e 3 e 1 e 2 e 4 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-42

43 Graph Representation Laplacian Matrix Laplacian matrix L = D A square matrix with row, column entry for each vertex v i degree matrix D ij = v i if i=j; 0 otherwise added to negative adjacency matrix A D A = L e 0 e 3 e 1 e 2 e 4 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-43

44 Graph Representation Laplacian Matrix Laplacian matrix L = D A square matrix with row, column entry for each vertex v i degree matrix D ij = v i if i=j; 0 otherwise added to negative adjacency matrix A D A _ _ _ _ = L e 0 e 3 e 1 e 2 e 4 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-44

45 Graph Representation Laplacian Matrix Laplacian matrix L = D A square matrix with row, column entry for each vertex v i degree matrix D ij = v i if i=j; 0 otherwise added to negative adjacency matrix A Property? D A L = e 0 e 3 e 1 e 2 e 4 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-45

46 Graph Representation Laplacian Matrix Laplacian matrix L = D A square matrix with row, column entry for each vertex v i degree matrix D ij = v i if i=j; 0 otherwise added to negative adjacency matrix A rows and columns sum to 0 D A L = e 0 e 3 e 1 e 2 e 4 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-46

47 Graphs Theory Graph Properties and Metrics GT.1 Graph types and representation GT.2 Graph properties and metrics GT.3 Distance and connectivity GT.4 Centrality GT.5 Special graphs: fuzzy, time-varying, hypergraphs 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-47

48 Graph Properties Scale Scale order of a graph: number of vertices G [D] or n(g) [W] empty graph Ø = (Ø, Ø) has G = 0 trivial graph has G = 1 infinite graph has G = size of a graph: number of edges G [D] or e(g) [W] Examples G =? G =? common in networking to use size for number of nodes = order 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-48 e 0 e 1 e 3 e 2 e 4 e 6 e 5 G e 7

49 Graph Properties Scale Scale order of a graph: number of vertices G [D] or n(g) [W] empty graph Ø = (Ø, Ø) has G = 0 trivial graph has G = 1 infinite graph has G = size of a graph: number of edges G [D] or e(g) [W] Examples G = 4 G = 8 common in networking to use size for number of nodes = order 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-49 e 0 e 1 e 3 e 2 e 4 e 6 e 5 G e 7

50 Graph Properties Neighbourhood Neighbourhood of a vertex (open) neighbourhood N G (v i ) or N(v i ) [W,GY,D] set of all vertices adjacent to v i closed neighbourhood N G [v i ] or N [v i ] [GY] N [v i ] = N G (v i ) {v i } Examples N( ) =? N [ ] =? 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-50 v 4 e 0 e 3 e 2 e 4 e 6 e 5 v 5 e 1 e 7

51 Graph Properties Neighbourhood Neighbourhood of a vertex (open) neighbourhood N G (v i ) or N(v i ) [W,GY,D] set of all vertices adjacent to v i closed neighbourhood N G [v i ] or N [v i ] [GY] N [v i ] = N G (v i ) {v i } Examples N( ) = {,,, v 4 } N( ) = 4 N [ ] = {,,,, v 4 } N [ ] = 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-51 v 4 e 0 e 3 e 2 e 4 e 6 e 5 v 5 e 1 e 7

52 Graph Properties Degree Degree of a vertex number of incident edges d(v i ) [D,W], deg(v i ) [GY] d( v ) a i i j V v 4 e 0 e 5 v 5 e 1 e 7 e 2 e 4 e 6 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-52 e 3

53 Graph Properties Degree Degree of a vertex number of incident edges d(v i ) [D,W], deg(v i ) [GY] min degree of graph: (G)=min(d G (v i )) [D,W], min (G) [GY] max degree of graph: (G)=max(d G (v i )) [D,W], max (G) [GY] avg degree of a graph: 1 d( ) d( v ) i V (G) d (G) (G) k-regular graph: d(v)=k v G Examples =? =? d =? 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-53 v 4 v V e 0 e 3 e 2 e 4 e 6 e 5 v 5 e 1 e 7

54 Graph Properties Degree Degree of a vertex number of incident edges d(v i ) [D,W], deg(v i ) [GY] min degree of graph: (G)=min(d G (v i )) [D,W], min (G) [GY] max degree of graph: (G)=max(d G (v i )) [D,W], max (G) [GY] avg degree of a graph: 1 d( ) d( v ) i V (G) d (G) (G) k-regular graph: d(v)=k v G Examples = d(v 5 ) = 1 = d( ) = d( ) = 4 d = (1+3(3)+2(4))/6 = 3 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-54 v 4 v V e 0 e 3 e 2 e 4 e 6 e 5 v 5 e 1 e 7

55 Graph Properties Degree Distribution Degree distribution of a graph distribution of degrees d(v i ) Example = 0 = 4 d = (1+3(3)+2(4))/6 = d v 6 v 4 e 0 e 3 e 2 e 4 e 6 e 5 v 5 e 1 e 7 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-55

56 Graph Properties k -Regular Graphs k-regular graph uniform degree distribution: d(v)=k v G Regular graph: all vertices have the same degree k d(v)=k v G denoted K n [W, GY] or K n [D] with n vertices 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-56

57 Degree of a digraph D vertex v i indegree d + (v i ) [D,W]: # of arcs whose head is incident to v i outdegree d (v i ) [D,W]: # of arcs whose tail is incident to v i {min, max} {in, out}degree relations: + (D) d + (D) + (D) Examples (D) d (D) (D) =? =? d =? + =? + =? d + =? Graph Properties Degree of a Digraph 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-57 v 4 e 0 e 3 e 2 e 4 e 6 e 5 v 5 e 1 e 7

58 Degree of a digraph D vertex v i indegree d + (v i ) [D,W]: # of arcs whose head is incident to v i outdegree d (v i ) [D,W]: # of arcs whose tail is incident to v i {min, max} {in, out}degree relations: + (D) d + (D) + (D) Examples (D) d (D) (D) + = 0 + = 4 d + = (0+2(1)+2+3+4)/6 = 1.83 = 1 = 3 Graph Properties Degree of a Digraph d = (2(1)+3(2)+3)/6 = January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-58 v 4 e 0 e 3 e 2 e 4 e 6 e 5 v 5 e 1 e 7

59 Assortativity Graph Theory Assortativity probability of attachment to similar vertices typically in degree distribution 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-59

60 Graph Theory Assortativity Assortativity probability of attachment to similar vertex degrees Example assortative? January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-60

61 Graph Theory Assortativity Assortativity probability of attachment to similar vertex degrees Example assortative 8 vertices d=4 8 vertices d= January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-61

62 Graph Theory Assortativity Assortativity probability of attachment to similar vertex degrees Example assortative: yes 8 vertices d=4 incident to 7 d=4 vertices 1 d=9 vertex 8 vertices d=8 incident to 7 d=8 vertices 1 d=4 vertex January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-62

63 Graphs Theory Connectivity GT.1 Graph types and representation GT.2 Graph properties and metrics GT.3 Distance and connectivity GT.3 Centrality GT.4 Special graphs: fuzzy, time-varying, hypergraphs 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-63

64 Graph Properties Walks, Paths, Cycles Walk through a graph nonempty alternating sequence e 0 e 1 e k 1 v k such that e i = {v k, v i+1 } length of walk is k [W2001, D2001] walk is closed iff = v k e 0 e 5 e 1 e 3 e 2 e 4 e 6 e 7 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-64

65 Graph Properties Walks, Paths, Cycles Walk through a graph nonempty alternating sequence e 0 e 1 e k 1 v k such that e i = {v k, v i+1 } length of walk is k [W2001, D2001] walk is closed iff = v k Paths and walks path P is a walk whose vertices are distinct cycle is a closed path trail is a walk whose edges are distinct Use in networks? only relevant for multigraphs 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-65 e 0 e 1 e 3 e 2 e 4 e 6 e 5 e 7

66 Graph Properties Walks, Paths, Cycles Walk through a graph nonempty alternating sequence e 0 e 1 e k 1 v k such that e i = {v k, v i+1 } length of walk is k [W2001, D2001] walk is closed iff = v k Paths and walks path P is a walk whose vertices are distinct cycle is a closed path trail is a walk whose edges are distinct only relevant for multigraphs communication along paths in networks no reason to traverse vertex more than once! 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-66 e 0 e 1 e 3 e 2 e 4 e 6 e 5 e 7

67 Graph Properties Shortest Paths Path P is a walk whose vertices are distinct also distinct edges for simple graphs Shortest path P with fewest vertices path P st between vertices v s and v t : v s v t path P sit between vertices v s and v t including v i : v s v i v t path P i between any vertices including v i : v x v i v y shortest path need not be unique generally want shortest path in comm. net Unique shortest path P* i th shortest path P i 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-67 e 0 e 1 e 3 e 2 e 4 e 6 e 5 e 7

68 Length hopcount Graph Properties Length and Distance number of edges links on a walk, path, or trail cycle of length k is a k-cycle C k Distance shortest path hopcount d G (v i,v j ) length of the shortest path from v i to v j if no such path exists d G (v i,v j ) = Average path length average hopcount mean distance over all vertex pairs i, j d( v, v ) i nn ( 1) e 4 most real-world complex networks have small APL e small world effect 2 e 6 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-68 j e 0 e 1 e 3 e 5 e 7

69 Distance Metrics Diameter and radius (very important in networking) eccentricity (v i ) is max distance to any other vertex max(d(v i, v j )) v j V G = E / V = ½ d (G) [W2001] radius rad(g) [D2010] shortest eccentricity in G, min( (v i ) v j V G ) length of shortest shortest path diameter diam(g) [D2010] greatest distance in G, max( (v i ) v j V G ) length of longest shortest path important network property rad(g) diam(g) 2 rad(g) 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-69 e 0 e 1 e 3 e 2 e 4 e 6 e 5 e 7

70 Distance Circumference and Girth Girth and circumference (limited use in networking) girth is length of shortest cycle g(g) is min(length(c k C G))) if C G then g(g) = circumference is length of longest cycle circim(g) is max(length(c k C G))) if C G then circum(g) = 0 e 0 e 5 v 5 v 4 e 1 e 3 e 2 e 4 e 6 e 7 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-70

71 Graph G is connected Connectivity Introduction if there exists a path between every vertex pair graph that is not connected is disconnected communication networks should generally be connected DTNs (disruption tolerant networks) are frequently disconn. Connected component of CC(G) connected subgraph of G Giant component of GC(G) maximal connected subgraph of G Strongly connected component of a digraph SCC(D) all v D reachable from one another 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-71

72 Graph G is k-connected Connectivity k-connected remains connected with removal of any k 1 edges or vertices 2-connected is normally called biconnected communication nets should generally be at least biconnected why? Connectivity of a graph (G) = max(k) such that G is k-connected 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-72

73 Graph G is k-connected Connectivity k-connected remains connected with removal of any k 1 edges or vertices 2-connected is normally called biconnected communication nets should generally be at least biconnected resilience: tolerance to removal of link or node Connectivity of a graph (G) = max(k) such that G is k-connected 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-73

74 Connectivity Articulation Points and Bridges Cut vertex or articulation point vertex whose removal disconnects a component Bridge edge whose removal disconnects a component 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-74

75 Connectivity Articulation Point Cut vertex or articulation point vertex whose removal disconnects a component Example articulation points? v4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-75

76 Connectivity Articulation Point Cut vertex or articulation point vertex whose removal disconnects a component Example articulation points:, v4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-76

77 Connectivity Articulation Point Cut vertex or articulation point vertex whose removal disconnects a component Example articulation points:, components? v 4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-77

78 Connectivity Articulation Point Cut vertex or articulation point vertex whose removal disconnects a component Example articulation points:, components: v 4, v 5, {v 4,v 5 },, {, } v 6 v 4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-78

79 Bridge Connectivity Bridge edge whose removal disconnects a component Example bridges? v4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-79

80 Bridge Connectivity Bridge edge whose removal disconnects a component Example bridge: {, v 6 } v4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-80

81 Bridge Connectivity Bridge edge whose removal disconnects a component Example bridge: {, v 6 } v 4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-81

82 Biconnected k-connected for k=2 Connectivity Biconnectivity Example: not biconnected articulation points:, bridge: {, v 6 } v4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-82

83 Connectivity Biconnectivity Biconnected k-connected for k=2 no single vertex or edge removal partitions the graph no single node or link failure disconnects the network Example: biconnected {v 5, } spans articulation point: {, v 6 } spans articulation point: {, v 6 } alternative to bridge: {, v 6 } v 4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-83

84 Connectivity Clique Clique C G fully connected set of vertices in a graph we normally ignore: single vertices (clique of order 1) pairs of vertices connected by an edge (clique of order 2) maximal clique cannot be extended by the addition of any adjacent vertex that forms a larger clique maximum clique is the largest clique in a given graph G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-84

85 Connectivity Clique Clique C G fully connected set of vertices in a graph Example: maximal cliques? Hint: there are 3 maximum clique? v4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-85

86 Connectivity Clique Clique C G fully connected set of vertices in a graph Example: maximal cliques: V C1 = {, v 4, v 5 }; V C2 = {,,, } ; V C3 = {, v 6 } maximum clique? v4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-86

87 Connectivity Clique Clique C G fully connected set of vertices in a graph Example: maximal cliques: V C1 = {, v 4, v 5 }; V C2 = {,,, } ; V C3 = {, v 6 } maximum clique: V C2 = 4 v4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-87

88 Connectivity Clustering Coëfficient Clustering coëfficient cc(g) measures degree to which nodes cluster with one another local: global: 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-88

89 Connectivity Clustering Coëfficient : Local Local clustering coëfficient cc(v i ) fraction of edges among neighbours to form a clique number of edges in clique: C(N(v i )) = k(k 1)/2; d(v i ) = k cc(v i ) = 2 N(v i ) /k(k 1)) 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-89

90 Connectivity Clustering Coëfficient : Local Local clustering coëfficient cc(v i ) fraction of edges among neighbours to form a clique number of edges in clique: C(N(v i )) = k(k 1)/2; d(v i ) = k cc(v i ) = 2 N(v i ) /k(k 1)) Examples cc(v i ) =? v 7 v 7 G 1 G 2 G 3 G 4 v 7 v 7 v 8 v 8 v 8 v 4 v 8 v 9 v 9 v 9 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-90

91 Connectivity Clustering Coëfficient : Local Local clustering coëfficient cc(v i ) fraction of edges among neighbours to form a clique number of edges in clique: C(N(v i )) = k(k 1)/2; d(v i ) = k cc(v i ) = 2 N(v i ) /k(k 1)) Examples cc( ) = 0; cc( ) = 1 / 3 ; cc( ) = 2 / 3 ; cc(v 4 ) = 1 v 7 v 7 G 1 G 2 G 3 G 4 v 7 v 7 v 8 v 8 v 8 v 4 v 8 v 9 v 9 v 9 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-91

92 Connectivity Clustering Coëfficient: Average Average clustering coëfficient cc(g) average clustering coëfficient across all vertices n 1 cc( v ) i i 0 cc( ) ; vi n if cc(g) cc(g rand ) of same order, G is small world network lecture SW 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-92

93 Connectivity Clustering Coëfficient: Global Global clustering coëfficient cc(g) degree to which graph contains triangular subgraphs (cliques) 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-93

94 Graphs Theory Centrality GT.1 Graph types and representation GT.2 Graph properties and metrics GT.3 Connectivity GT.3 Centrality GT.4 Special graphs: fuzzy, time-varying, hypergraphs 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-94

95 Centrality Introduction Centrality is a measure of vertex or edge importance how central is in the graph by some importance measure Multiple centrality measures degree centrality betweeness centrality closeness centrality 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-95

96 Centrality Degree Centrality Degree centrality : importance by degree degree of the vertex degree centrality of a graph G = i max[d(v i )] Degree centrality of G? v4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-96

97 Centrality Degree Centrality Degree centrality : importance by degree degree of the vertex degree centrality of a graph: C D (G) = i max[d(v i )] Degree centrality of C D (G) = d( ) = 5 v4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-97

98 Centrality Degree Centrality Degree centrality : importance by degree degree of the vertex degree centrality of a graph: C D (G) = i max[d(v i )] Degree centrality of C D (G) = d( ) = 5 Communication networks provide significant connectivity to other nodes {,,,v 4,v 5 } v4 v 6 v 5 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-98

99 Coreness of a graph Centrality Coreness notion of core vs. periphery more global form of centrality Non-iterative coreness k-core of a graph: removing all v i such that d(v i ) < k core(g) = 0 all vertices remain v4 v 7 v 6 v 5 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-99

100 Centrality Coreness Coreness of a graph (non-iterative) k-core of a graph: removing all v i such that d(v i ) < k core(g) = 1 all connected vertices remain v4 v 7 v 6 v 5 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-100

101 Centrality Coreness Coreness of a graph (non-iterative) k-core of a graph: removing all v i such that d(v i ) < k core(g) = 2 stub vertices (d =1) removed v4 v 6 v 5 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-101

102 Centrality Coreness Coreness of a graph (non-iterative) k-core of a graph: removing all v i such that d(v i ) < k core(g) = 3 moderate values represent backbone of network v4 v 6 v 5 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-102

103 Centrality Coreness Coreness of a graph (non-iterative) k-core of a graph: removing all v i such that d(v i ) < k core(g) = 4 higher values may be less useful for communication nets v4 v 6 v 5 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-103

104 Centrality Coreness Coreness of a graph (non-iterative) k-core of a graph: removing all v i such that d(v i ) < k subgraph representing core(g) = 5 v4 v 6 v 5 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-104

105 Centrality Coreness Coreness of a graph (non-iterative) k-core of a graph: removing all v i such that d(v i ) < k core(g) = 6 when core(g) = (G ) = Ø no vertices remain v4 v 6 v 5 G 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-105

106 Coreness of a graph Centrality Coreness iterative coreness: recompute on subgraph after each step core(h) = [HRI+2008] 3 H 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-106

107 Coreness of a graph Centrality Coreness iterative coreness: recompute on subgraph after each step core(h) = 2 stub vertices (d =1) removed [HRI+2008] 3 H 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-107

108 Coreness of a graph Centrality Coreness iterative coreness: recompute on subgraph after each step core(h) = 3 vertices (d 2) removed: backbone remains [HRI+2008] 3 H 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-108

109 Centrality Betweeness Betweeness centrality of a vertex or edge number of shortest paths passing through Communication networks these nodes and links will carry many end-to-end flows 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-109

110 Closeness centrality Centrality Closeness assumes that important vertices are close to all others Closeness of a vertex inverse of farness sum of the hopcounts to all other vertices close( v ) 1 / d( v, d ) Closeness of a graph 1 far( v ) far( v ) d( v, d ) 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-110 n 1 i i j j 0 j i i i j i j 0 j i 1 close( ) close( v ) i n v i G n 1

111 Graphs and Network Topology Special Graphs GT.1 Graph types and representation GT.2 Graph properties and metrics GT.3 Connectivity GT.3 Centrality GT.4 Special graphs: fuzzy, time-varying, hypergraphs 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-111

112 Special Graphs Multilevel Graph Multilevel graph G = (G 0, G 1, G L 1 ) [CPS2012] ordered from lowest to highest of L levels graph G i = (V I ; E i ) at level i level i is a numerical layer or descriptive label e.g. G 2, G 2.5, G 3, G 3.5, G 4 e.g. G HBH, G L3, G AS, G E2E (i, j) + i j: vertices at layer above are subset of layer below: V i V j edges at each level are arbitrary connection of vertices partition at lower layer forces partition at the layer above: (u, v) V j : conn i (u, v)=false conn j (u, v)=false 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-112

113 Multilevel Network Analysis Multilevel Graph Model Connected network Disconnected network Partitioned network Multilevel model for unweighted & undirected graphs Two requirements for multilevel graph model: nodes at the above level are subset of lower level nodes that are disconnected below are disconnected above 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-113

114 Special Graphs Multiprovider Graph Multilprovider graph G* = (G L3i, G AS ) [ÇPS2012] intradomain provider graphs G L3i interdomain AS graph G AS 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-114

115 Abstraction of Internet Topology Multilevel and Multiprovider View E2E topology users and apps AS 1 AS level topology AS 2 AS 3 AS 4 ISP 1 router level topology IXP 1 ISP 2 IXP 2 ISP 3 IXP 3 ISP 4 physical level topology 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-115

116 Special Graphs Time-Varying Graph Time-varying graph G = (V, E,,,, ) [CSQS2011] with labelled edges E V V L and vertices V set of vertices V(G) = {,, } correspond to links set of edges E(G) = {e 0, e 1, } correspond to nodes mapping of e i endpoint pairs {v j, v k } gives net topology lifetime of the system T presence of an edge at given time : E {0,1} latency of an edge at a given time : E T presence of an edge at given time : E {0,1} presence of an vertex at given time : V {0,1} vertex labelling added in [ZGB+2012] 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-116

117 Network and Challenge Modelling Representation of Dynamic MANET Topologies MANET model example [ZGB+2012] strong link weights represent high link availability January 5 October KU EECS Modelling 784 Science Wireless of Nets Challenges Graph Theory 117 SCN-GT-117

118 Fuzzy graph Special Graphs Fuzzy Graph fuzzy logic used to determine set membership 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-118

119 Hypergraph Special Graphs Hypergraph edges connect an arbitrary number of vertices may be greater than two 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-119

120 Graphs, Flows, and Net Topology References and Further Reading [L2009] Ted G. Lewis, Network Science, Wiley, 2009 [N2010] M.E.J. Newman, Networks: An Introduction, Oxford, January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-120

121 Graph Theory References and Further Reading [D2010] Reinhard Dietsel, Graph Theory, 4th ed., Graduate Texts in Mathematics 173, Springer, 2010 [GY2006] Jonathan L. Gross and Jay Yellen, Graph Theory and its Applications, 2nd ed., Chapan and Hall, 2006 [W2001] Douglas B. West, Introduction to Graph Theory, 2nd ed., Prentice Hall, 2001 [MN2000] John N. Mordeson and Premchand S. Nair, Fuzzy Graphs and Fuzzy Hypergraphs, Physica-Verlag Springer, 2000 [V2009] Vitaly I. Voloshin, Introduction to Graph and Hypergraph Theory, Nova Science Publishers, January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-121

122 Graph Theory References and Further Reading [CRTB2007] L. da F. Costa, F.A. Rodrigues, G. Travieso, and P.R. Villas Boas, Characterization of Complex Networks: A Survey of Measurements, Advances in Physics, Taylor & Francis, vol.56 no.1, Feb. 2007, pp [BLM+2006] S. Boccaletti, V. Latora, Y. Moreno, M. Chavez, and D.-U. Hwang, Complex Networks: Structure and Dynamics, Physics Reports, Elsevier, (424) 2006, pp January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-122

123 Graphs, Flows, and Net Topology References and Further Reading [AMO1993] Ravindra K. Ahuja, Thomas L. Magnanti, and James B. Orlin, Network Flows: Theory, Algorithms, and Applications, Prentice Hall, January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-123

124 End of Foils 24 January 2017 KU EECS 784 Science of Nets Graph Theory SCN-GT-124

Chapter 2 Graphs. 2.1 Definition of Graphs

Chapter 2 Graphs. 2.1 Definition of Graphs Chapter 2 Graphs Abstract Graphs are discrete structures that consist of vertices and edges connecting some of these vertices. Graphs have many applications in Mathematics, Computer Science, Engineering,

More information

Graph Theory S 1 I 2 I 1 S 2 I 1 I 2

Graph Theory S 1 I 2 I 1 S 2 I 1 I 2 Graph Theory S I I S S I I S Graphs Definition A graph G is a pair consisting of a vertex set V (G), and an edge set E(G) ( ) V (G). x and y are the endpoints of edge e = {x, y}. They are called adjacent

More information

CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS

CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS 1 UNIT I INTRODUCTION CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS 1. Define Graph. A graph G = (V, E) consists

More information

Graph Theory: Introduction

Graph Theory: Introduction Graph Theory: Introduction Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT Kharagpur pallab@cse.iitkgp.ernet.in Resources Copies of slides available at: http://www.facweb.iitkgp.ernet.in/~pallab

More information

Discrete mathematics II. - Graphs

Discrete mathematics II. - Graphs Emil Vatai April 25, 2018 Basic definitions Definition of an undirected graph Definition (Undirected graph) An undirected graph or (just) a graph is a triplet G = (ϕ, E, V ), where V is the set of vertices,

More information

Course Introduction / Review of Fundamentals of Graph Theory

Course Introduction / Review of Fundamentals of Graph Theory Course Introduction / Review of Fundamentals of Graph Theory Hiroki Sayama sayama@binghamton.edu Rise of Network Science (From Barabasi 2010) 2 Network models Many discrete parts involved Classic mean-field

More information

Graph and Digraph Glossary

Graph and Digraph Glossary 1 of 15 31.1.2004 14:45 Graph and Digraph Glossary A B C D E F G H I-J K L M N O P-Q R S T U V W-Z Acyclic Graph A graph is acyclic if it contains no cycles. Adjacency Matrix A 0-1 square matrix whose

More information

Graphs. Introduction To Graphs: Exercises. Definitions:

Graphs. Introduction To Graphs: Exercises. Definitions: Graphs Eng.Jehad Aldahdooh Introduction To Graphs: Definitions: A graph G = (V, E) consists of V, a nonempty set of vertices (or nodes) and E, a set of edges. Each edge has either one or two vertices associated

More information

Characterizing Graphs (3) Characterizing Graphs (1) Characterizing Graphs (2) Characterizing Graphs (4)

Characterizing Graphs (3) Characterizing Graphs (1) Characterizing Graphs (2) Characterizing Graphs (4) S-72.2420/T-79.5203 Basic Concepts 1 S-72.2420/T-79.5203 Basic Concepts 3 Characterizing Graphs (1) Characterizing Graphs (3) Characterizing a class G by a condition P means proving the equivalence G G

More information

Let G = (V, E) be a graph. If u, v V, then u is adjacent to v if {u, v} E. We also use the notation u v to denote that u is adjacent to v.

Let G = (V, E) be a graph. If u, v V, then u is adjacent to v if {u, v} E. We also use the notation u v to denote that u is adjacent to v. Graph Adjacent Endpoint of an edge Incident Neighbors of a vertex Degree of a vertex Theorem Graph relation Order of a graph Size of a graph Maximum and minimum degree Let G = (V, E) be a graph. If u,

More information

Graphs (MTAT , 6 EAP) Lectures: Mon 14-16, hall 404 Exercises: Wed 14-16, hall 402

Graphs (MTAT , 6 EAP) Lectures: Mon 14-16, hall 404 Exercises: Wed 14-16, hall 402 Graphs (MTAT.05.080, 6 EAP) Lectures: Mon 14-16, hall 404 Exercises: Wed 14-16, hall 402 homepage: http://courses.cs.ut.ee/2012/graafid (contains slides) For grade: Homework + three tests (during or after

More information

GRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS

GRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS GRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS DR. ANDREW SCHWARTZ, PH.D. 10.1 Graphs and Graph Models (1) A graph G = (V, E) consists of V, a nonempty set of vertices (or nodes)

More information

Graph Theory. ICT Theory Excerpt from various sources by Robert Pergl

Graph Theory. ICT Theory Excerpt from various sources by Robert Pergl Graph Theory ICT Theory Excerpt from various sources by Robert Pergl What can graphs model? Cost of wiring electronic components together. Shortest route between two cities. Finding the shortest distance

More information

Assignment 1 Introduction to Graph Theory CO342

Assignment 1 Introduction to Graph Theory CO342 Assignment 1 Introduction to Graph Theory CO342 This assignment will be marked out of a total of thirty points, and is due on Thursday 18th May at 10am in class. Throughout the assignment, the graphs are

More information

Math 776 Graph Theory Lecture Note 1 Basic concepts

Math 776 Graph Theory Lecture Note 1 Basic concepts Math 776 Graph Theory Lecture Note 1 Basic concepts Lectured by Lincoln Lu Transcribed by Lincoln Lu Graph theory was founded by the great Swiss mathematician Leonhard Euler (1707-178) after he solved

More information

Introduction to Graph Theory

Introduction to Graph Theory Introduction to Graph Theory Tandy Warnow January 20, 2017 Graphs Tandy Warnow Graphs A graph G = (V, E) is an object that contains a vertex set V and an edge set E. We also write V (G) to denote the vertex

More information

4. (a) Draw the Petersen graph. (b) Use Kuratowski s teorem to prove that the Petersen graph is non-planar.

4. (a) Draw the Petersen graph. (b) Use Kuratowski s teorem to prove that the Petersen graph is non-planar. UPPSALA UNIVERSITET Matematiska institutionen Anders Johansson Graph Theory Frist, KandMa, IT 010 10 1 Problem sheet 4 Exam questions Solve a subset of, say, four questions to the problem session on friday.

More information

Some Graph Theory for Network Analysis. CS 249B: Science of Networks Week 01: Thursday, 01/31/08 Daniel Bilar Wellesley College Spring 2008

Some Graph Theory for Network Analysis. CS 249B: Science of Networks Week 01: Thursday, 01/31/08 Daniel Bilar Wellesley College Spring 2008 Some Graph Theory for Network Analysis CS 9B: Science of Networks Week 0: Thursday, 0//08 Daniel Bilar Wellesley College Spring 008 Goals this lecture Introduce you to some jargon what we call things in

More information

Konigsberg Bridge Problem

Konigsberg Bridge Problem Graphs Konigsberg Bridge Problem c C d g A Kneiphof e D a B b f c A C d e g D a b f B Euler s Graph Degree of a vertex: the number of edges incident to it Euler showed that there is a walk starting at

More information

0.0.1 Network Analysis

0.0.1 Network Analysis Graph Theory 0.0.1 Network Analysis Prototype Example: In Algonquian Park the rangers have set up snowmobile trails with various stops along the way. The system of trails is our Network. The main entrance

More information

Chapter 4. Relations & Graphs. 4.1 Relations. Exercises For each of the relations specified below:

Chapter 4. Relations & Graphs. 4.1 Relations. Exercises For each of the relations specified below: Chapter 4 Relations & Graphs 4.1 Relations Definition: Let A and B be sets. A relation from A to B is a subset of A B. When we have a relation from A to A we often call it a relation on A. When we have

More information

Graph Theory. Part of Texas Counties.

Graph Theory. Part of Texas Counties. Graph Theory Part of Texas Counties. We would like to visit each of the above counties, crossing each county only once, starting from Harris county. Is this possible? This problem can be modeled as a graph.

More information

CS6702 GRAPH THEORY AND APPLICATIONS QUESTION BANK

CS6702 GRAPH THEORY AND APPLICATIONS QUESTION BANK CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS 1 UNIT I INTRODUCTION CS6702 GRAPH THEORY AND APPLICATIONS QUESTION BANK 1. Define Graph. 2. Define Simple graph. 3. Write few problems

More information

Outline. Introduction. Representations of Graphs Graph Traversals. Applications. Definitions and Basic Terminologies

Outline. Introduction. Representations of Graphs Graph Traversals. Applications. Definitions and Basic Terminologies Graph Chapter 9 Outline Introduction Definitions and Basic Terminologies Representations of Graphs Graph Traversals Breadth first traversal Depth first traversal Applications Single source shortest path

More information

Introduction to Engineering Systems, ESD.00. Networks. Lecturers: Professor Joseph Sussman Dr. Afreen Siddiqi TA: Regina Clewlow

Introduction to Engineering Systems, ESD.00. Networks. Lecturers: Professor Joseph Sussman Dr. Afreen Siddiqi TA: Regina Clewlow Introduction to Engineering Systems, ESD.00 Lecture 7 Networks Lecturers: Professor Joseph Sussman Dr. Afreen Siddiqi TA: Regina Clewlow The Bridges of Königsberg The town of Konigsberg in 18 th century

More information

Varying Applications (examples)

Varying Applications (examples) Graph Theory Varying Applications (examples) Computer networks Distinguish between two chemical compounds with the same molecular formula but different structures Solve shortest path problems between cities

More information

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. An Introduction to Graph Theory

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. An Introduction to Graph Theory SCHOOL OF ENGINEERING & BUILT ENVIRONMENT Mathematics An Introduction to Graph Theory. Introduction. Definitions.. Vertices and Edges... The Handshaking Lemma.. Connected Graphs... Cut-Points and Bridges.

More information

Alessandro Del Ponte, Weijia Ran PAD 637 Week 3 Summary January 31, Wasserman and Faust, Chapter 3: Notation for Social Network Data

Alessandro Del Ponte, Weijia Ran PAD 637 Week 3 Summary January 31, Wasserman and Faust, Chapter 3: Notation for Social Network Data Wasserman and Faust, Chapter 3: Notation for Social Network Data Three different network notational schemes Graph theoretic: the most useful for centrality and prestige methods, cohesive subgroup ideas,

More information

Unit 2: Graphs and Matrices. ICPSR University of Michigan, Ann Arbor Summer 2015 Instructor: Ann McCranie

Unit 2: Graphs and Matrices. ICPSR University of Michigan, Ann Arbor Summer 2015 Instructor: Ann McCranie Unit 2: Graphs and Matrices ICPSR University of Michigan, Ann Arbor Summer 2015 Instructor: Ann McCranie Four main ways to notate a social network There are a variety of ways to mathematize a social network,

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Graph theory G. Guérard Department of Nouvelles Energies Ecole Supérieur d Ingénieurs Léonard de Vinci Lecture 1 GG A.I. 1/37 Outline 1 Graph theory Undirected and directed graphs

More information

Network Basics. CMSC 498J: Social Media Computing. Department of Computer Science University of Maryland Spring Hadi Amiri

Network Basics. CMSC 498J: Social Media Computing. Department of Computer Science University of Maryland Spring Hadi Amiri Network Basics CMSC 498J: Social Media Computing Department of Computer Science University of Maryland Spring 2016 Hadi Amiri hadi@umd.edu Lecture Topics Graphs as Models of Networks Graph Theory Nodes,

More information

A graph is finite if its vertex set and edge set are finite. We call a graph with just one vertex trivial and all other graphs nontrivial.

A graph is finite if its vertex set and edge set are finite. We call a graph with just one vertex trivial and all other graphs nontrivial. 2301-670 Graph theory 1.1 What is a graph? 1 st semester 2550 1 1.1. What is a graph? 1.1.2. Definition. A graph G is a triple (V(G), E(G), ψ G ) consisting of V(G) of vertices, a set E(G), disjoint from

More information

CSCI5070 Advanced Topics in Social Computing

CSCI5070 Advanced Topics in Social Computing CSCI5070 Advanced Topics in Social Computing Irwin King The Chinese University of Hong Kong king@cse.cuhk.edu.hk!! 2012 All Rights Reserved. Outline Graphs Origins Definition Spectral Properties Type of

More information

Solving problems on graph algorithms

Solving problems on graph algorithms Solving problems on graph algorithms Workshop Organized by: ACM Unit, Indian Statistical Institute, Kolkata. Tutorial-3 Date: 06.07.2017 Let G = (V, E) be an undirected graph. For a vertex v V, G {v} is

More information

Contents. Bibliography 19. List of Symbols and Abbreviations 21. Index 22

Contents. Bibliography 19. List of Symbols and Abbreviations 21. Index 22 Contents Contents v 1 Basics of Graph Theory 1 1.1 Introduction.................................... 1 1.2 Basic Definitions................................. 2 1.3 Paths and Cycles.................................

More information

DEFINITION OF GRAPH GRAPH THEORY GRAPHS ACCORDING TO THEIR VERTICES AND EDGES EXAMPLE GRAPHS ACCORDING TO THEIR VERTICES AND EDGES

DEFINITION OF GRAPH GRAPH THEORY GRAPHS ACCORDING TO THEIR VERTICES AND EDGES EXAMPLE GRAPHS ACCORDING TO THEIR VERTICES AND EDGES DEFINITION OF GRAPH GRAPH THEORY Prepared by Engr. JP Timola Reference: Discrete Math by Kenneth H. Rosen A graph G = (V,E) consists of V, a nonempty set of vertices (or nodes) and E, a set of edges. Each

More information

Social Network Analysis

Social Network Analysis Social Network Analysis Mathematics of Networks Manar Mohaisen Department of EEC Engineering Adjacency matrix Network types Edge list Adjacency list Graph representation 2 Adjacency matrix Adjacency matrix

More information

Chapter 4 Graphs and Matrices. PAD637 Week 3 Presentation Prepared by Weijia Ran & Alessandro Del Ponte

Chapter 4 Graphs and Matrices. PAD637 Week 3 Presentation Prepared by Weijia Ran & Alessandro Del Ponte Chapter 4 Graphs and Matrices PAD637 Week 3 Presentation Prepared by Weijia Ran & Alessandro Del Ponte 1 Outline Graphs: Basic Graph Theory Concepts Directed Graphs Signed Graphs & Signed Directed Graphs

More information

CS 311 Discrete Math for Computer Science Dr. William C. Bulko. Graphs

CS 311 Discrete Math for Computer Science Dr. William C. Bulko. Graphs CS 311 Discrete Math for Computer Science Dr. William C. Bulko Graphs 2014 Definitions Definition: A graph G = (V,E) consists of a nonempty set V of vertices (or nodes) and a set E of edges. Each edge

More information

MATH 350 GRAPH THEORY & COMBINATORICS. Contents

MATH 350 GRAPH THEORY & COMBINATORICS. Contents MATH 350 GRAPH THEORY & COMBINATORICS PROF. SERGEY NORIN, FALL 2013 Contents 1. Basic definitions 1 2. Connectivity 2 3. Trees 3 4. Spanning Trees 3 5. Shortest paths 4 6. Eulerian & Hamiltonian cycles

More information

Ordinary Differential Equation (ODE)

Ordinary Differential Equation (ODE) Ordinary Differential Equation (ODE) INTRODUCTION: Ordinary Differential Equations play an important role in different branches of science and technology In the practical field of application problems

More information

Lecture 3: Recap. Administrivia. Graph theory: Historical Motivation. COMP9020 Lecture 4 Session 2, 2017 Graphs and Trees

Lecture 3: Recap. Administrivia. Graph theory: Historical Motivation. COMP9020 Lecture 4 Session 2, 2017 Graphs and Trees Administrivia Lecture 3: Recap Assignment 1 due 23:59 tomorrow. Quiz 4 up tonight, due 15:00 Thursday 31 August. Equivalence relations: (S), (R), (T) Total orders: (AS), (R), (T), (L) Partial orders: (AS),

More information

Graphs. Pseudograph: multiple edges and loops allowed

Graphs. Pseudograph: multiple edges and loops allowed Graphs G = (V, E) V - set of vertices, E - set of edges Undirected graphs Simple graph: V - nonempty set of vertices, E - set of unordered pairs of distinct vertices (no multiple edges or loops) Multigraph:

More information

Introduction III. Graphs. Motivations I. Introduction IV

Introduction III. Graphs. Motivations I. Introduction IV Introduction I Graphs Computer Science & Engineering 235: Discrete Mathematics Christopher M. Bourke cbourke@cse.unl.edu Graph theory was introduced in the 18th century by Leonhard Euler via the Königsberg

More information

Fundamental Properties of Graphs

Fundamental Properties of Graphs Chapter three In many real-life situations we need to know how robust a graph that represents a certain network is, how edges or vertices can be removed without completely destroying the overall connectivity,

More information

Inf 496/596 Topics in Informatics: Analysis of Social Network Data

Inf 496/596 Topics in Informatics: Analysis of Social Network Data Inf 496/596 Topics in Informatics: Analysis of Social Network Data Jagdish S. Gangolly Department of Informatics College of Computing & Information State University of New York at Albany Lecture 1B (Graphs)

More information

CS388C: Combinatorics and Graph Theory

CS388C: Combinatorics and Graph Theory CS388C: Combinatorics and Graph Theory David Zuckerman Review Sheet 2003 TA: Ned Dimitrov updated: September 19, 2007 These are some of the concepts we assume in the class. If you have never learned them

More information

CS473-Algorithms I. Lecture 13-A. Graphs. Cevdet Aykanat - Bilkent University Computer Engineering Department

CS473-Algorithms I. Lecture 13-A. Graphs. Cevdet Aykanat - Bilkent University Computer Engineering Department CS473-Algorithms I Lecture 3-A Graphs Graphs A directed graph (or digraph) G is a pair (V, E), where V is a finite set, and E is a binary relation on V The set V: Vertex set of G The set E: Edge set of

More information

Algorithms: Graphs. Amotz Bar-Noy. Spring 2012 CUNY. Amotz Bar-Noy (CUNY) Graphs Spring / 95

Algorithms: Graphs. Amotz Bar-Noy. Spring 2012 CUNY. Amotz Bar-Noy (CUNY) Graphs Spring / 95 Algorithms: Graphs Amotz Bar-Noy CUNY Spring 2012 Amotz Bar-Noy (CUNY) Graphs Spring 2012 1 / 95 Graphs Definition: A graph is a collection of edges and vertices. Each edge connects two vertices. Amotz

More information

Graph Theory Review. January 30, Network Science Analytics Graph Theory Review 1

Graph Theory Review. January 30, Network Science Analytics Graph Theory Review 1 Graph Theory Review Gonzalo Mateos Dept. of ECE and Goergen Institute for Data Science University of Rochester gmateosb@ece.rochester.edu http://www.ece.rochester.edu/~gmateosb/ January 30, 2018 Network

More information

Module 11. Directed Graphs. Contents

Module 11. Directed Graphs. Contents Module 11 Directed Graphs Contents 11.1 Basic concepts......................... 256 Underlying graph of a digraph................ 257 Out-degrees and in-degrees.................. 258 Isomorphism..........................

More information

Graph Theory and Network Measurment

Graph Theory and Network Measurment Graph Theory and Network Measurment Social and Economic Networks MohammadAmin Fazli Social and Economic Networks 1 ToC Network Representation Basic Graph Theory Definitions (SE) Network Statistics and

More information

1 Digraphs. Definition 1

1 Digraphs. Definition 1 1 Digraphs Definition 1 Adigraphordirected graphgisatriplecomprisedofavertex set V(G), edge set E(G), and a function assigning each edge an ordered pair of vertices (tail, head); these vertices together

More information

Lecture 8: PATHS, CYCLES AND CONNECTEDNESS

Lecture 8: PATHS, CYCLES AND CONNECTEDNESS Discrete Mathematics August 20, 2014 Lecture 8: PATHS, CYCLES AND CONNECTEDNESS Instructor: Sushmita Ruj Scribe: Ishan Sahu & Arnab Biswas 1 Paths, Cycles and Connectedness 1.1 Paths and Cycles 1. Paths

More information

Lecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1

Lecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1 CME 305: Discrete Mathematics and Algorithms Instructor: Professor Aaron Sidford (sidford@stanford.edu) January 11, 2018 Lecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1 In this lecture

More information

BIL694-Lecture 1: Introduction to Graphs

BIL694-Lecture 1: Introduction to Graphs BIL694-Lecture 1: Introduction to Graphs Lecturer: Lale Özkahya Resources for the presentation: http://www.math.ucsd.edu/ gptesler/184a/calendar.html http://www.inf.ed.ac.uk/teaching/courses/dmmr/ Outline

More information

MATH 682 Notes Combinatorics and Graph Theory II. One interesting class of graphs rather akin to trees and acyclic graphs is the bipartite graph:

MATH 682 Notes Combinatorics and Graph Theory II. One interesting class of graphs rather akin to trees and acyclic graphs is the bipartite graph: 1 Bipartite graphs One interesting class of graphs rather akin to trees and acyclic graphs is the bipartite graph: Definition 1. A graph G is bipartite if the vertex-set of G can be partitioned into two

More information

Number Theory and Graph Theory

Number Theory and Graph Theory 1 Number Theory and Graph Theory Chapter 6 Basic concepts and definitions of graph theory By A. Satyanarayana Reddy Department of Mathematics Shiv Nadar University Uttar Pradesh, India E-mail: satya8118@gmail.com

More information

Math 778S Spectral Graph Theory Handout #2: Basic graph theory

Math 778S Spectral Graph Theory Handout #2: Basic graph theory Math 778S Spectral Graph Theory Handout #: Basic graph theory Graph theory was founded by the great Swiss mathematician Leonhard Euler (1707-178) after he solved the Königsberg Bridge problem: Is it possible

More information

IMO Training 2008: Graph Theory

IMO Training 2008: Graph Theory IMO Training 2008: Graph Theory by: Adrian Tang Email: tang @ math.ucalgary.ca This is a compilation of math problems (with motivation towards the training for the International Mathematical Olympiad)

More information

Studying Graph Connectivity

Studying Graph Connectivity Studying Graph Connectivity Freeman Yufei Huang July 1, 2002 Submitted for CISC-871 Instructor: Dr. Robin Dawes Studying Graph Connectivity Freeman Yufei Huang Submitted July 1, 2002 for CISC-871 In some

More information

Algorithms. Graphs. Algorithms

Algorithms. Graphs. Algorithms Algorithms Graphs Algorithms Graphs Definition: A graph is a collection of edges and vertices. Each edge connects two vertices. Algorithms 1 Graphs Vertices: Nodes, points, computers, users, items,...

More information

Eccentric Coloring of a Graph

Eccentric Coloring of a Graph Eccentric Coloring of a Graph Medha Itagi Huilgol 1 & Syed Asif Ulla S. 1 Journal of Mathematics Research; Vol. 7, No. 1; 2015 ISSN 1916-9795 E-ISSN 1916-909 Published by Canadian Center of Science and

More information

MATH 363 Final Wednesday, April 28. Final exam. You may use lemmas and theorems that were proven in class and on assignments unless stated otherwise.

MATH 363 Final Wednesday, April 28. Final exam. You may use lemmas and theorems that were proven in class and on assignments unless stated otherwise. Final exam This is a closed book exam. No calculators are allowed. Unless stated otherwise, justify all your steps. You may use lemmas and theorems that were proven in class and on assignments unless stated

More information

Directed Graph and Binary Trees

Directed Graph and Binary Trees and Dr. Nahid Sultana December 19, 2012 and Degrees Paths and Directed graphs are graphs in which the edges are one-way. This type of graphs are frequently more useful in various dynamic systems such as

More information

Discrete Mathematics

Discrete Mathematics Discrete Mathematics Lecturer: Mgr. Tereza Kovářová, Ph.D. tereza.kovarova@vsb.cz Guarantor: doc. Mgr. Petr Kovář, Ph.D. Department of Applied Mathematics, VŠB Technical University of Ostrava About this

More information

CMSC 380. Graph Terminology and Representation

CMSC 380. Graph Terminology and Representation CMSC 380 Graph Terminology and Representation GRAPH BASICS 2 Basic Graph Definitions n A graph G = (V,E) consists of a finite set of vertices, V, and a finite set of edges, E. n Each edge is a pair (v,w)

More information

Chapter 1 Graph Theory

Chapter 1 Graph Theory Chapter Graph Theory - Representations of Graphs Graph, G=(V,E): It consists of the set V of vertices and the set E of edges. If each edge has its direction, the graph is called the directed graph (digraph).

More information

Communication Networks I December 4, 2001 Agenda Graph theory notation Trees Shortest path algorithms Distributed, asynchronous algorithms Page 1

Communication Networks I December 4, 2001 Agenda Graph theory notation Trees Shortest path algorithms Distributed, asynchronous algorithms Page 1 Communication Networks I December, Agenda Graph theory notation Trees Shortest path algorithms Distributed, asynchronous algorithms Page Communication Networks I December, Notation G = (V,E) denotes a

More information

MAT 280: Laplacian Eigenfunctions: Theory, Applications, and Computations Lecture 18: Introduction to Spectral Graph Theory I. Basics of Graph Theory

MAT 280: Laplacian Eigenfunctions: Theory, Applications, and Computations Lecture 18: Introduction to Spectral Graph Theory I. Basics of Graph Theory MAT 280: Laplacian Eigenfunctions: Theory, Applications, and Computations Lecture 18: Introduction to Spectral Graph Theory I. Basics of Graph Theory Lecturer: Naoki Saito Scribe: Adam Dobrin/Allen Xue

More information

Elements of Graph Theory

Elements of Graph Theory Elements of Graph Theory Quick review of Chapters 9.1 9.5, 9.7 (studied in Mt1348/2008) = all basic concepts must be known New topics we will mostly skip shortest paths (Chapter 9.6), as that was covered

More information

Characterizations of Trees

Characterizations of Trees Characterizations of Trees Lemma Every tree with at least two vertices has at least two leaves. Proof. 1. A connected graph with at least two vertices has an edge. 2. In an acyclic graph, an end point

More information

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE Professor Kindred Math 104, Graph Theory Homework 3 Solutions February 14, 2013 Introduction to Graph Theory, West Section 2.1: 37, 62 Section 2.2: 6, 7, 15 Section 2.3: 7, 10, 14 DO NOT RE-DISTRIBUTE

More information

Some Strong Connectivity Concepts in Weighted Graphs

Some Strong Connectivity Concepts in Weighted Graphs Annals of Pure and Applied Mathematics Vol. 16, No. 1, 2018, 37-46 ISSN: 2279-087X (P), 2279-0888(online) Published on 1 January 2018 www.researchmathsci.org DOI: http://dx.doi.org/10.22457/apam.v16n1a5

More information

Part II. Graph Theory. Year

Part II. Graph Theory. Year Part II Year 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2017 53 Paper 3, Section II 15H Define the Ramsey numbers R(s, t) for integers s, t 2. Show that R(s, t) exists for all s,

More information

Lecture 22 Tuesday, April 10

Lecture 22 Tuesday, April 10 CIS 160 - Spring 2018 (instructor Val Tannen) Lecture 22 Tuesday, April 10 GRAPH THEORY Directed Graphs Directed graphs (a.k.a. digraphs) are an important mathematical modeling tool in Computer Science,

More information

Graph Algorithms Using Depth First Search

Graph Algorithms Using Depth First Search Graph Algorithms Using Depth First Search Analysis of Algorithms Week 8, Lecture 1 Prepared by John Reif, Ph.D. Distinguished Professor of Computer Science Duke University Graph Algorithms Using Depth

More information

Algorithm Design (8) Graph Algorithms 1/2

Algorithm Design (8) Graph Algorithms 1/2 Graph Algorithm Design (8) Graph Algorithms / Graph:, : A finite set of vertices (or nodes) : A finite set of edges (or arcs or branches) each of which connect two vertices Takashi Chikayama School of

More information

Combinatorics Summary Sheet for Exam 1 Material 2019

Combinatorics Summary Sheet for Exam 1 Material 2019 Combinatorics Summary Sheet for Exam 1 Material 2019 1 Graphs Graph An ordered three-tuple (V, E, F ) where V is a set representing the vertices, E is a set representing the edges, and F is a function

More information

Lecture 1: Examples, connectedness, paths and cycles

Lecture 1: Examples, connectedness, paths and cycles Lecture 1: Examples, connectedness, paths and cycles Anders Johansson 2011-10-22 lör Outline The course plan Examples and applications of graphs Relations The definition of graphs as relations Connectedness,

More information

Introduction to Mathematical Programming IE406. Lecture 16. Dr. Ted Ralphs

Introduction to Mathematical Programming IE406. Lecture 16. Dr. Ted Ralphs Introduction to Mathematical Programming IE406 Lecture 16 Dr. Ted Ralphs IE406 Lecture 16 1 Reading for This Lecture Bertsimas 7.1-7.3 IE406 Lecture 16 2 Network Flow Problems Networks are used to model

More information

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. Graph Theory

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. Graph Theory About the Tutorial This tutorial offers a brief introduction to the fundamentals of graph theory. Written in a reader-friendly style, it covers the types of graphs, their properties, trees, graph traversability,

More information

Basics of Graph Theory

Basics of Graph Theory Basics of Graph Theory 1 Basic notions A simple graph G = (V, E) consists of V, a nonempty set of vertices, and E, a set of unordered pairs of distinct elements of V called edges. Simple graphs have their

More information

Graph Theory. Probabilistic Graphical Models. L. Enrique Sucar, INAOE. Definitions. Types of Graphs. Trajectories and Circuits.

Graph Theory. Probabilistic Graphical Models. L. Enrique Sucar, INAOE. Definitions. Types of Graphs. Trajectories and Circuits. Theory Probabilistic ical Models L. Enrique Sucar, INAOE and (INAOE) 1 / 32 Outline and 1 2 3 4 5 6 7 8 and 9 (INAOE) 2 / 32 A graph provides a compact way to represent binary relations between a set of

More information

Graphs. Edges may be directed (from u to v) or undirected. Undirected edge eqvt to pair of directed edges

Graphs. Edges may be directed (from u to v) or undirected. Undirected edge eqvt to pair of directed edges (p 186) Graphs G = (V,E) Graphs set V of vertices, each with a unique name Note: book calls vertices as nodes set E of edges between vertices, each encoded as tuple of 2 vertices as in (u,v) Edges may

More information

2. CONNECTIVITY Connectivity

2. CONNECTIVITY Connectivity 2. CONNECTIVITY 70 2. Connectivity 2.1. Connectivity. Definition 2.1.1. (1) A path in a graph G = (V, E) is a sequence of vertices v 0, v 1, v 2,..., v n such that {v i 1, v i } is an edge of G for i =

More information

Bipartite Roots of Graphs

Bipartite Roots of Graphs Bipartite Roots of Graphs Lap Chi Lau Department of Computer Science University of Toronto Graph H is a root of graph G if there exists a positive integer k such that x and y are adjacent in G if and only

More information

22 Elementary Graph Algorithms. There are two standard ways to represent a

22 Elementary Graph Algorithms. There are two standard ways to represent a VI Graph Algorithms Elementary Graph Algorithms Minimum Spanning Trees Single-Source Shortest Paths All-Pairs Shortest Paths 22 Elementary Graph Algorithms There are two standard ways to represent a graph

More information

Undirected Graphs. Hwansoo Han

Undirected Graphs. Hwansoo Han Undirected Graphs Hwansoo Han Definitions Undirected graph (simply graph) G = (V, E) V : set of vertexes (vertices, nodes, points) E : set of edges (lines) An edge is an unordered pair Edge (v, w) = (w,

More information

UNDIRECTED GRAPH: a set of vertices and a set of undirected edges each of which is associated with a set of one or two of these vertices.

UNDIRECTED GRAPH: a set of vertices and a set of undirected edges each of which is associated with a set of one or two of these vertices. Graphs 1 Graph: A graph G = (V, E) consists of a nonempty set of vertices (or nodes) V and a set of edges E. Each edge has either one or two vertices associated with it, called its endpoints. An edge is

More information

GRAPH THEORY LECTURE 3 STRUCTURE AND REPRESENTATION PART B

GRAPH THEORY LECTURE 3 STRUCTURE AND REPRESENTATION PART B GRAPH THEORY LECTURE 3 STRUCTURE AND REPRESENTATION PART B Abstract. We continue 2.3 on subgraphs. 2.4 introduces some basic graph operations. 2.5 describes some tests for graph isomorphism. Outline 2.3

More information

Treewidth and graph minors

Treewidth and graph minors Treewidth and graph minors Lectures 9 and 10, December 29, 2011, January 5, 2012 We shall touch upon the theory of Graph Minors by Robertson and Seymour. This theory gives a very general condition under

More information

TWO CONTRIBUTIONS OF EULER

TWO CONTRIBUTIONS OF EULER TWO CONTRIBUTIONS OF EULER SIEMION FAJTLOWICZ. MATH 4315 Eulerian Tours. Although some mathematical problems which now can be thought of as graph-theoretical, go back to the times of Euclid, the invention

More information

Graphs: Introduction. Ali Shokoufandeh, Department of Computer Science, Drexel University

Graphs: Introduction. Ali Shokoufandeh, Department of Computer Science, Drexel University Graphs: Introduction Ali Shokoufandeh, Department of Computer Science, Drexel University Overview of this talk Introduction: Notations and Definitions Graphs and Modeling Algorithmic Graph Theory and Combinatorial

More information

K 4 C 5. Figure 4.5: Some well known family of graphs

K 4 C 5. Figure 4.5: Some well known family of graphs 08 CHAPTER. TOPICS IN CLASSICAL GRAPH THEORY K, K K K, K K, K K, K C C C C 6 6 P P P P P. Graph Operations Figure.: Some well known family of graphs A graph Y = (V,E ) is said to be a subgraph of a graph

More information

Graph. Vertex. edge. Directed Graph. Undirected Graph

Graph. Vertex. edge. Directed Graph. Undirected Graph Module : Graphs Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS E-mail: natarajan.meghanathan@jsums.edu Graph Graph is a data structure that is a collection

More information

context. (Similarly, we write ν for ν(g), etc. if there is no risk of confusion.) For a subset A V we write N G (A) = {v V ( w A)(v w)} (the set of

context. (Similarly, we write ν for ν(g), etc. if there is no risk of confusion.) For a subset A V we write N G (A) = {v V ( w A)(v w)} (the set of Graph Theory CMSC-27500 Spring 2015 http://people.cs.uchicago.edu/ laci/15graphs Homework set #4. First batch posted 4-9, 8am, updated 10:20am. Problems 4.16 4.31 added at 11:30pm. Due Tuesday, April 14

More information

An Introduction to Graph Theory

An Introduction to Graph Theory An Introduction to Graph Theory CIS008-2 Logic and Foundations of Mathematics David Goodwin david.goodwin@perisic.com 12:00, Friday 17 th February 2012 Outline 1 Graphs 2 Paths and cycles 3 Graphs and

More information

Theory of Computing. Lecture 10 MAS 714 Hartmut Klauck

Theory of Computing. Lecture 10 MAS 714 Hartmut Klauck Theory of Computing Lecture 10 MAS 714 Hartmut Klauck Seven Bridges of Königsberg Can one take a walk that crosses each bridge exactly once? Seven Bridges of Königsberg Model as a graph Is there a path

More information

Graph Theory. Connectivity, Coloring, Matching. Arjun Suresh 1. 1 GATE Overflow

Graph Theory. Connectivity, Coloring, Matching. Arjun Suresh 1. 1 GATE Overflow Graph Theory Connectivity, Coloring, Matching Arjun Suresh 1 1 GATE Overflow GO Classroom, August 2018 Thanks to Subarna/Sukanya Das for wonderful figures Arjun, Suresh (GO) Graph Theory GATE 2019 1 /

More information