














































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















































































Ikram Syed Discrete Mathematics 1 /
Kousha Etessami (U. of Edinburgh, Discrete Mathematics 2 /
A directed graph ( digraph ), G = ( V, E ), consists of a non-empty set, V , of vertices (or nodes ), and a set E ⊆ V × V of directed edges (or arcs ). Each directed edge ( u, v ) ∈ E has a start ( tail ) vertex u , and a end ( head ) vertex v. Note: a directed graph G = ( V, E ) is simply a set V together with a binary relation E on V. Kousha Etessami (U. of Edinburgh, Discrete Mathematics
For a set V , let [ V ] k denote the set of k -element subsets of V. (Equivalently, [ V ] k is the set of all k - combinationsof V .) A (simple,undirected) graph , G = ( V, E ), consists of a non-empty set V of vertices (or nodes ), and a set E ⊆ [ V ] 2 of (undirected) edges. Every edge {u, v} ∈ E has two distinct vertices u ƒ = v as endpoints , and such vertices u and v are then said to be adjacent in the graph G. Note : the above definitions allow for infinite graphs, where |V | = ∞. In this course we will focus on finite graphs. Kousha Etessami (U. of Edinburgh, Discrete Mathematics
SF NY ED LA Onlydirectededges;at most one directed edgefromany nodenode;to andanyloops are allowed. Kousha Etessami (U. of Edinburgh, Discrete Mathematics 7 /
SF NY ED LA Onlydirectededges;at most one directed edgefrom any nodeother node;to any^ andno^ loops allowed. Kousha Etessami (U. of Edinburgh, Discrete Mathematics 8 /
LA SF NY ED Onlyundirectededges; may containmultiple edgesbetween a pair of nodes; andmay contain loops(even multiple loops on the same node). Kousha Etessami (U. of Edinburgh, Discrete Mathematics 10 /
SF NY ED LA Onlydirectededges; may containmultiple edgesfrom one node to another; butno loops allowed. Warning: this differs slightly from the Rosen book terminology. The book’s notion of “directed multigraph” Kousha would Etessami allow (U. of loo Edinburgh, ps. Discrete Mathematics 9 /
Type Edges Multi-Edges? Loops?
1 differs from Kousha^ book. Etessami (U. of Edinburgh, Discrete Mathematics
Degree and neighborhood of a vertex Definition 3. The degree of a vertex v in a undirected graph is the number of edges incident with it. The degree of the vertex v is denoted by deg( v ). Definition 3. The neighborhood (neighbor set) of a vertex v in a undirected graph, denoted N(v) is the set of vertices adjacent to v.
Graph Models: Computer Networks
(^) “ E V E RY T H I N G IS A GRAPH” (labeled, directed, etc., ...) (^) graph theory can be used in modelling o:f
Graph Models: Social Networks Example : A friendship graph: two people are connected if they are Facebook friends. Example : An influence graph
Information Networks (^) I n a web graph , web pages are represented by vertices and links are represented by directed edges. (^) I n a citation network :