Carlos Ordonez, Predrag T. Tosic

Slides:



Advertisements
Similar presentations
1. Find the cost of each of the following using the Nearest Neighbor Algorithm. a)Start at Vertex M.
Advertisements

Ananth Grama, Anshul Gupta, George Karypis, and Vipin Kumar
Social network partition Presenter: Xiaofei Cao Partick Berg.
Exact Inference in Bayes Nets
1 Appendix B: Solving TSP by Dynamic Programming Course: Algorithm Design and Analysis.
Lecture 17 Path Algebra Matrix multiplication of adjacency matrices of directed graphs give important information about the graphs. Manipulating these.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 CHAPTER 4 - PART 2 GRAPHS 1.
Online Social Networks and Media. Graph partitioning The general problem – Input: a graph G=(V,E) edge (u,v) denotes similarity between u and v weighted.
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
Friendly Partitions of Graphs Jenna Huston Advised by Dr. David Offner.
DATA MINING LECTURE 12 Link Analysis Ranking Random walks.
Chapter 3 The Greedy Method 3.
Advanced Topics in Algorithms and Data Structures 1 Rooting a tree For doing any tree computation, we need to know the parent p ( v ) for each node v.
Heiko Schröder, 2003 Parallel Architectures 1 Various communication networks State of the art technology Important aspects of routing schemes Known results.
1 Representing Graphs. 2 Adjacency Matrix Suppose we have a graph G with n nodes. The adjacency matrix is the n x n matrix A=[a ij ] with: a ij = 1 if.
Graph & BFS.
1 Internet Networking Spring 2006 Tutorial 6 Network Cost of Minimum Spanning Tree.
Graph COMP171 Fall Graph / Slide 2 Graphs * Extremely useful tool in modeling problems * Consist of: n Vertices n Edges D E A C F B Vertex Edge.
Fast algorithm for detecting community structure in networks.
Graph & BFS Lecture 22 COMP171 Fall Graph & BFS / Slide 2 Graphs * Extremely useful tool in modeling problems * Consist of: n Vertices n Edges D.
1 Data Structures and Algorithms Graphs I: Representation and Search Gal A. Kaminka Computer Science Department.
Greedy Algorithms Reading Material: Chapter 8 (Except Section 8.5)
Shortest Path Problems Directed weighted graph. Path length is sum of weights of edges on path. The vertex at which the path begins is the source vertex.
Data Structures, Spring 2004 © L. Joskowicz 1 Data Structures – LECTURE 16 All shortest paths algorithms Properties of all shortest paths Simple algorithm:
1 Internet Networking Spring 2004 Tutorial 6 Network Cost of Minimum Spanning Tree.
Greedy Algorithms Like dynamic programming algorithms, greedy algorithms are usually designed to solve optimization problems Unlike dynamic programming.
All-Pairs Shortest Paths
The greedy method Suppose that a problem can be solved by a sequence of decisions. The greedy method has that each decision is locally optimal. These.
1 Quantum query complexity of some graph problems C. DürrUniv. Paris-Sud M. HeiligmanNational Security Agency P. HøyerUniv. of Calgary M. MhallaInstitut.
Chapter 5 Dynamic Programming 2001 년 5 월 24 일 충북대학교 알고리즘연구실.
COMP108 Time Complexity of Pseudo Code. Example 1 sum = 0 for i = 1 to n do begin sum = sum + A[i] end output sum O(n)
A Comparison of Column, Row and Array DBMSs to Process Recursive Queries Carlos Ordonez ATT Labs.
1 ELEC692 Fall 2004 Lecture 1b ELEC692 Lecture 1a Introduction to graph theory and algorithm.
Graph Algorithms. Definitions and Representation An undirected graph G is a pair (V,E), where V is a finite set of points called vertices and E is a finite.
TCP Traffic and Congestion Control in ATM Networks
Graph Algorithms Ananth Grama, Anshul Gupta, George Karypis, and Vipin Kumar Adapted for 3030 To accompany the text ``Introduction to Parallel Computing'',
Discrete Structures CISC 2315 FALL 2010 Graphs & Trees.
Graph Theory. undirected graph node: a, b, c, d, e, f edge: (a, b), (a, c), (b, c), (b, e), (c, d), (c, f), (d, e), (d, f), (e, f) subgraph.
Example Apply hierarchical clustering with d min to below data where c=3. Nearest neighbor clustering d min d max will form elongated clusters!
Graph Representations And Traversals. Graphs Graph : – Set of Vertices (Nodes) – Set of Edges connecting vertices (u, v) : edge connecting Origin: u Destination:
COMPSCI 102 Introduction to Discrete Mathematics.
Lecture 20. Graphs and network models 1. Recap Binary search tree is a special binary tree which is designed to make the search of elements or keys in.
Clustering (2) Center-based algorithms Fuzzy k-means Density-based algorithms ( DBSCAN as an example ) Evaluation of clustering results Figures and equations.
Miraj Kheni Authors: Toyotaro Suzumura, Koji Ueno
Randomized Min-Cut Algorithm
CONNECTED-COMPONENTS ALGORITHMS FOR MESH-CONNECTED PARALLEL COMPUTERS
Lecture 11 Graph Algorithms
Graph Algorithms BFS, DFS, Dijkstra’s.
Computing Connected Components on Parallel Computers
CSC317 Graph algorithms Why bother?
June 2017 High Density Clusters.
Shortest Path Problems
CS120 Graphs.
Minimum Spanning Tree.
CSE838 Lecture notes copy right: Moon Jung Chung
Basic Graph Algorithms
Shortest Path Problems
Graphs.
Big Data Analytics: Exploring Graphs with Optimized SQL Queries
Graphs G = (V, E) V are the vertices; E are the edges.
CSE 417: Algorithms and Computational Complexity
Discrete Mathematics for Computer Science
Wellington Cabrera, Carlos Ordonez (presenter)
Lecture 10 Graph Algorithms
The Gamma Operator for Big Data Summarization on an Array DBMS
Time Complexity and Parallel Speedup to Compute the Gamma Summarization Matrix Carlos Ordonez, Yiqun Zhang University of Houston, USA 1.
A Variation of Minimum Latency Problem on Path, Tree and DAG
Directed Graphs (Part II)
For Friday Read chapter 9, sections 2-3 No homework
More Graphs Lecture 19 CS2110 – Fall 2009.
Presentation transcript:

Carlos Ordonez, Predrag T. Tosic Time Complexity and Parallel Speedup of Relational Queries to Solve Graph Problems Carlos Ordonez, Predrag T. Tosic 1

Graph analytics Exploration Path Connectivity Structure

Our contributions Unify many algorithms into two iterations Relational queries Time complexity based on matrix density Parallel processing

Preliminaries G definition: G=(V,E), n=|V|,m=|E| E sparse matrix: m=O(n) Iterative algorithms Matrix-Vector multiplication Matrix-Matrix multiplication

Basic Matrix-Vector Iteration | S0 |=1 or |S0|=n S= S*E Semiring switching operators: */sum() +/min() */min

Basic Matrix-Matrix R=R*E E+=E+ E2 + .. + Ek Semiring applies as well Until fixpoint or max path length k

Relational Algebra

Time complexity merge sort Matrix-vector: O(n log n) Matrix-matrix: O(m log m) if m=O(f(n)) not assumed from O(n) to O(n3) clique of size K=O(n)

Fast algorithm termination immediate fixpoint

Matrix-matrix: Time complexity Tree Complete graph

Hardness of Matrix-Matrix multiplication

Parallel processing Matrix-vector Partition S replicate S Matrix-matrix, consider edge (i,j) Partition by source vertex i: neighbors are local Partition by destination vertex j: neighbors are local Partition by edge i,j: neighbors not local

Parallel processing speedup sparse : dense matrix-vector dense matrix-matrix Partitioning Hashing Sorting: parallel merge sort Computation Local Distributed

Conclusions Unified two families of graph algorithms Relational algebra expressions to evaluate matrix-matrix and matrix-vector multiplication Characterize O() and speedup assuming sparse or dense adjacency matrix