+ GRAPH Algorithm Dikompilasi dari banyak sumber.

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,
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
13 May 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
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.
Representing Graphs Wade Trappe. Lecture Overview Introduction Some Terminology –Paths Adjacency Matrix.
Discrete Structures Chapter 7A Graphs Nurul Amelina Nasharuddin Multimedia Department.
SubSea: An Efficient Heuristic Algorithm for Subgraph Isomorphism Vladimir Lipets Ben-Gurion University of the Negev Joint work with Prof. Ehud Gudes.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
1 Section 8.4 Connectivity. 2 Paths In an undirected graph, a path of length n from u to v, where n is a positive integer, is a sequence of edges e 1,
Mining Graphs with Constrains on Symmetry and Diameter Natalia Vanetik Deutsche Telecom Laboratories at Ben-Gurion University IWGD10 workshop July 14th,
KNURE, Software department, Ph , N.V. Bilous Faculty of computer sciences Software department, KNURE Discrete.
Graphs Rosen 8.1, 8.2. There Are Many Uses for Graphs! Networks Data organizations Scene graphs Geometric simplification Program structure and processes.
9.2 Graph Terminology and Special Types Graphs
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,
1 Graphs Chapters 9.1 and 9.2 University of Maryland Chapters 9.1 and 9.2 Based on slides by Y. Peng University of Maryland.
 期中测验时间:  11 月 4 日  课件 集合,关系,函数,基数, 组合数学.  Ⅰ Introduction to Set Theory  1. Sets and Subsets  Representation of set:  Listing elements, Set builder.
Module #19: Graph Theory: part I Rosen 5 th ed., chs. 8-9 내년 3 월 ? 교환 학생 프로그램 영어 점수 미리미리 준비하세요.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
1 Topics Intro. to Graphs (11.1) A B C D EF G. 2 Definition (p.650) A graph G = V(G) + E(G) A set of vertices (or nodes), V(G) = {v 1, v 2, …, v n } A.
Lecture 10: Graphs Graph Terminology Special Types of Graphs
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 9 (Part 2): Graphs  Graph Terminology (9.2)
9.2: Graph Terminology. Special Simple Graphs Complete GraphsK 1,… CyclesC 3,… WheelsW 3,… N-cubesQ 1,… Complete bipartiteK 2,2,…
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 20.
1 CS104 : Discrete Structures Chapter V Graph Theory.
9.1 Introduction to Graphs
1 Frequent Subgraph Mining Jianlin Feng School of Software SUN YAT-SEN UNIVERSITY June 12, 2010.
GRAPHS THEROY. 2 –Graphs Graph basics and definitions Vertices/nodes, edges, adjacency, incidence Degree, in-degree, out-degree Subgraphs, unions, isomorphism.
Graphs What are Graphs? General meaning in everyday math: A plot or chart of numerical data using a coordinate system. Technical meaning in discrete.
Basic Notions on Graphs. The House-and-Utilities Problem.
Chapter 1 Fundamental Concepts Introduction to Graph Theory Douglas B. West July 11, 2002.
1 12/2/2015 MATH 224 – Discrete Mathematics Formally a graph is just a collection of unordered or ordered pairs, where for example, if {a,b} G if a, b.
Chapter 5 Graphs  the puzzle of the seven bridge in the Königsberg,  on the Pregel.
Introduction to Graph Theory
Graph Theory and Applications
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
1 Graphs Terminology By: Sandeep Tuli Astt. Prof. CSE.
+ GRAPH Algorithm Dikompilasi dari banyak sumber.
Graph Theory Unit: 4.
Graphs. Contents Terminology Graphs as ADTs Applications of Graphs.
Introduction to Graph Theory By: Arun Kumar (Asst. Professor) (Asst. Professor)
+ GRAPH Algorithm Dikompilasi dari banyak sumber.
Chap 7 Graph Def 1: Simple graph G=(V,E) V : nonempty set of vertices E : set of unordered pairs of distinct elements of V called edges Def 2: Multigraph.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
+ GRAPH Algorithm 2 Dikompilasi dari banyak sumber.
1 Graphs Chapters 10.1 and 10.2 University of Maryland Chapters 10.1 and 10.2 Based on slides by Y. Peng University of Maryland.
Trees.
Graphs: Definitions and Basic Properties
Lecture 19: CONNECTIVITY Sections
Copyright © Zeph Grunschlag,
Graph Theory CSRU1400, Fall 2007 Ellen Zhang.
COT 3100, Spring 2001 Applications of Discrete Structures
Chapters 8.1 and 8.2 Based on slides by Y. Peng University of Maryland
Grade 11 AP Mathematics Graph Theory
Graph theory Definitions Trees, cycles, directed graphs.
Graphs Chapters 10.1 and 10.2 Based on slides by Y. Peng University of Maryland.
Graph.
Chapters 8.1 and 8.2 Based on slides by Y. Peng University of Maryland
Discrete Math II Howon Kim
Some Counting Problems
Graph Theory What is a graph?.
Representing Graphs Wade Trappe.
Discrete Mathematics Lecture 12: Graph Theory
Let us switch to a new topic:
Lecture 10: Graphs Graph Terminology Special Types of Graphs
Chapter 5 Graphs the puzzle of the seven bridge in the Königsberg,
Concepts of Computation
Presentation transcript:

+ GRAPH Algorithm Dikompilasi dari banyak sumber

+ What Graphs are good for? Most of existing data mining algorithms are based on transaction representation, i.e., sets of items. Datasets with structures, layers, hierarchy and/or geometry often do not fit well in this transaction setting. For e.g. Numerical simulations 3D protein structures Chemical Compounds Generic XML files.

+ Graphs, Graphs, Everywhere Aspirin Yeast protein interaction network from H. Jeong et al Nature 411, 41 (2001) Internet Co-author network

Conceptually, a graph is formed by vertices and edges connecting the vertices. Formally, a graph is a pair of sets (V,E), where V is the set of vertices and E is the set of edges, formed by pairs of vertices. Definition of Graphs

The two vertices u and v are end vertices of the edge (u, v). Edges that have the same end vertices are parallel. An edge of the form(v,v)is a loop. A graph is simple if it has no parallel edges or loops. A graph with no edges (i.e. E is empty) is empty. A graph with no vertices (i.e. V and E are empty) is a null graph. A graph with only one vertex is trivial. Edges are adjacent if they share a common end vertex. Two vertices u and v are adjacent if they are connected by an edge, in other words, (u, v) is an edge. The degree of the vertex v, written as d(v),is the number of edges with v as an end vertex. By convention, we count a loop twice and parallel edges contribute separately. A pendant vertex is a vertex whose degree is 1. An edge that has a pendant vertex as an end vertex is a pendant edge. An isolated vertex is a vertex whose degree is 0. Definition of Graphs (cont..)

+ Terminology G = (V, E) The minimum degree of the vertices in a graph G is denoted δ (G) (= 0 if there is an isolated vertex in G). Similarly, we write ∆(G) as the maximum degree of vertices in G. Example. (Continuing from the previous example) δ (G) = 0 and ∆(G) = 5.

+ Theorema Since every edge has two end vertices, we get Theorem1.1.The graph G=(V,E), where V ={v1,...,vn} and E={e1,...,em}, satisfies Corollary. Every graph has an even number of vertices of odd degree.

+ Terminology A simple graph that contains every possible edge between all the vertices is called a complete graph. A complete graph with n vertices is denoted as Kn. The first four complete graphs are given as examples: Coba perhatikan pola graf dari K1 s.d K5, apa kesimpulan yg bisa diambil ? pada graf komplit, degree setiap titik adalah n-1.

+ Subgraph The graph G1 = (V1, E1) is a subgraph of G2 = (V2, E2) if 1. V1 ⊆ V2 and 2. Every edge of G1 is also an edge of G2. Example. We have the graph G2:

+ Subgraph (cont..) From G2, we can have many subgraph such as:

+ Subgraph by edge induction The subgraph of G = (V, E) induced by the edge set E1 ⊆ E is: G1 = (V1, E1) =def. E1, where V1 consists of every end vertex of the edges in E1. Example. (Continuing from above) From the original graph G, the edges e2, e3 and e5 induce the subgraph

+ Subgraph by vertex induction The subgraph of G = (V, E) induced by the vertex set V1 ⊆ V is: G1 = (V1, E1) =def. V1, Where E1 consists of every edge between the vertices in V1. Example. (Continuing from above) From the original graph G, the vertices v1, v3 and v5 induce the subgraph

+ Subgraph by vertex and edgeinduction From graph G2 below, make subgraph G1 which is : induced by v1, v2 and v4 ! Induced by e2, e4 and e6 ! Induced by v1,v3 and e4 !

+ Clique of G A complete subgraph of G is called a clique of G. Example G: How many cliques with 4 vertices and 3 vertices from the graph G above ?

+ Isomorphisme Two graphs G 1 (V 1, E 1 ) and G 2 (V 2, E 2 ) are isomorphic if they are topologically identical There is a mapping from V 1 to V 2 such that each edge in E 1 is mapped to a single edge in E 2 and vice-versa

+ Example of Graph Isomorphisme

+ Apakah 2 graf ini isomorfis ?

+ Solusi : lihat 4-cycle Kesimpulan : tidak isomorfis !

+ References Graph Theory handbook by Keijo Ruohonen Slide of Graph mining seminar by Prof. Ehud Gudes. 2013