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

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

Networks in economics and finance. Lecture 1 - Measuring networks

Ma/CS 6a Class 8: Eulerian Cycles

Mathematics of Networks II

Discrete Mathematics for CS Spring 2008 David Wagner Note 13. An Introduction to Graphs

Mathematical Foundations

Social Network Analysis

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

Introduction III. Graphs. Motivations I. Introduction IV

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 7

Centralities (4) By: Ralucca Gera, NPS. Excellence Through Knowledge

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

L Modelling and Simulating Social Systems with MATLAB

Introduction to Graphs

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

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note 8

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

15 Graph Theory Counting the Number of Relations. 2. onto (surjective).

Section 2.7 BIPARTITE NETWORKS

Today s Outline. CSE 326: Data Structures. Topic #15: Cool Graphs n Pretty Pictures. A Great Mathematician. The Bridges of Königsberg

Graphs. Data Structures and Algorithms CSE 373 SU 18 BEN JONES 1

Lecture 5: Graphs & their Representation

Preliminaries: networks and graphs

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

EECS 1028 M: Discrete Mathematics for Engineers

Chapter 2 Graphs. 2.1 Definition of Graphs

Math/Stat 2300 Modeling using Graph Theory (March 23/25) from text A First Course in Mathematical Modeling, Giordano, Fox, Horton, Weir, 2009.

Theory of Computing. Lecture 10 MAS 714 Hartmut Klauck

Notes slides from before lecture. CSE 21, Winter 2017, Section A00. Lecture 9 Notes. Class URL:

Graphs. Introduction To Graphs: Exercises. Definitions:

Algorithms and Applications in Social Networks. 2017/2018, Semester B Slava Novgorodov

EECS 203 Lecture 20. More Graphs

Course Introduction / Review of Fundamentals of Graph Theory

An Exploratory Journey Into Network Analysis A Gentle Introduction to Network Science and Graph Visualization

Graphs. Pseudograph: multiple edges and loops allowed

Introduction aux Systèmes Collaboratifs Multi-Agents

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

Lesson 4. Random graphs. Sergio Barbarossa. UPC - Barcelona - July 2008

Lecture 1: Examples, connectedness, paths and cycles

Graphs and Genetics. Outline. Computational Biology IST. Ana Teresa Freitas 2015/2016. Slides source: AED (MEEC/IST); Jones and Pevzner (book)

CSCI5070 Advanced Topics in Social Computing

Varying Applications (examples)

Math 776 Graph Theory Lecture Note 1 Basic concepts

Design and Analysis of Algorithms

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

Graph and Digraph Glossary

Paths. Path is a sequence of edges that begins at a vertex of a graph and travels from vertex to vertex along edges of the graph.

Lecture 22 Tuesday, April 10

CS 206 Introduction to Computer Science II

Advanced Data Structures and Algorithms

Material handling and Transportation in Logistics. Paolo Detti Dipartimento di Ingegneria dell Informazione e Scienze Matematiche Università di Siena

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

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

2. CONNECTIVITY Connectivity

Worksheet for the Final Exam - Part I. Graphs

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

Crossing bridges. Crossing bridges Great Ideas in Theoretical Computer Science. Lecture 12: Graphs I: The Basics. Königsberg (Prussia)

CS200: Graphs. Prichard Ch. 14 Rosen Ch. 10. CS200 - Graphs 1

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

Complex-Network Modelling and Inference

The Critical-Path Algorithm

Introduction to Graph Theory

Chapter 1 Graph Theory

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

6.2. Paths and Cycles

Discrete Mathematics and Probability Theory Spring 2015 Vazirani Note 5

Algorithms. Graphs. Algorithms

Introduction to Graphs

Graphs and Isomorphisms

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

CS 361 Data Structures & Algs Lecture 15. Prof. Tom Hayes University of New Mexico

1 Graphs and networks

UNIT 5 GRAPH. Application of Graph Structure in real world:- Graph Terminologies:

TELCOM2125: Network Science and Analysis

L20-21: Graph Data Structure

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

Graph Theory. Network Science: Graph theory. Graph theory Terminology and notation. Graph theory Graph visualization

Solving Linear Recurrence Relations (8.2)

CS 151. Graphs. Monday, November 19, 12

Monday, November 19, 12. Test #2 is Wednesday. For each data structure, you should know: the supported operations

Unweighted Graphs & Algorithms

CS 4407 Algorithms Lecture 5: Graphs an Introduction

CSE 101, Winter Discussion Section Week 1. January 8 - January 15

SI Networks: Theory and Application, Fall 2008

Solving problems on graph algorithms

Chapter 9 Graph Algorithms

1 Digraphs. Definition 1

CS70 - Lecture 6. Graphs: Coloring; Special Graphs. 1. Review of L5 2. Planar Five Color Theorem 3. Special Graphs:

CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS

CS7540 Spectral Algorithms, Spring 2017 Lecture #2. Matrix Tree Theorem. Presenter: Richard Peng Jan 12, 2017

Directed acyclic graphs

Graph (1A) Young Won Lim 4/19/18

On Finding Dense Subgraphs

Logic: The Big Picture. Axiomatizing Arithmetic. Tautologies and Valid Arguments. Graphs and Trees

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

BIL694-Lecture 1: Introduction to Graphs

Chapter 14 Section 3 - Slide 1

Graph theory: basic concepts

Lecture 9 Graph Traversal

GRAPHS Lecture 19 CS2110 Spring 2013

Transcription:

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 this field (general) graph theory Terms Representation (more specialized) network theory Node degree Clustering coefficient Geodesic path and diameter

Some general graph theory Undirected, directed graph Paths, lengths of paths Representation of graphs via Adjacency list Adjacency matrix

Graphs In mathematics, networks are called graphs, the entities are nodes, and the links are edges Graph theory starts in the 8th century, with Leonhard Euler The problem of Königsberg bridges Since then graphs have been studied extensively.

Graph Theory Graph G=(V,E) V = set of vertices E = set of edges An edge is defined by the two vertices which it connects optionally: A direction and/or a weight Two vertices are adjacent if they are connected by an edge A vertex s degree is the number of its edges

Graph Theory Graph G=(V,E) V = set of vertices E = set of edges Each edge is now an arrow, not just a line -> direction The indegree of a vertex is the number of incoming edges The outdegree of a vertex is the number of outgoing edges 6

Undirected graph degree d(i) of node i number of edges incident on node i degree sequence [d(),d(),d(),d(),d()] [,,,,] degree distribution [(,)(,) (,)] 7

Directed Graph in-degree d in (i) of node i number of edges pointing to node i out-degree d out (i) of node i number of edges leaving node i in-degree sequence [,,,,] out-degree sequence [,,,,0] 8

Directed Graph Strongly connected graph: there exists a path from every i to every j Weakly connected graph: If edges are made to be undirected the graph is connected 9

Undirected graph Connected graph: a graph where there every pair of nodes is connected Disconnected graph: a graph that is not connected Connected Components: subsets of vertices that are connected 0

Paths Path from node i to node j: a sequence of edges (directed or undirected from node i to node j) path length: number of edges on the path nodes i and j are connected cycle: a path that starts and ends at the same node

Shortest Paths Shortest Path from node i to node j also known geodesic path

Diameter The longest shortest path in the graph

Fully Connected Graph Clique K n A graph that has all possible n(n-)/ edges

Two abstract graph representations Adjacency matrix n vertices need a n x n matrix (where n = V, i.e. the number of vertices in the graph) - can store as an array Each position in the matrix is if the two vertices are connected, or 0 if they are not For weighted graphs, the position in the matrix is the weight Adjacency list For each vertex, store a linked list of adjacent vertices For weighted graphs, include the weight in the elements of the list

Representing a graph () This graph has no weights and no direction on the edges :M 0:E Adjacency matrix 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 :P :B :L Adjacency list 0 0 0 6

Representing a graph () This graph has no weights but it has directions on the edges :M 0:E Adjacency matrix 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 :P :B :L Adjacency list 0 0 7

Representing a graph () This graph has weights but no direction on the edges :M 60 0 90 0:E 0 0 0 0 0 0 0 0 0 0 60 90 0 0 60 0 0 00 0 90 0 0 0 0 0 00 0 0 Adjacency matrix :P 00 :B 0 :L 0 ;0 0;0 ;0 ;60 ;90 ;60 ;0 ;00 0;0 ;90 ;0 ;00 Adjacency list 8

What have we done today? Network Metrics Vertex i in/out degree k i How many edges go in/out a particular vertex i? Clustering coefficient C i of vertex i How close is neighborhood of vertex i to being a clique? Geodesic distance l i,j between vertices i and j The shortest path connecting i and j We may also look at <l>, the average geodesic distance between vertex pairs in G Diameter diam(g) of the graph The longest geodesic path through the network Network/Graph abstract representations Adjacency list Adjacency matrix 9

For Monday We ll have the first of our quizzes Review these notes We will start with basic probability theory on various metrics of graphs for the next two lectures 0