Random Graph Generator University of CS 8910 – Final Research Project Presentation Professor: Dr. Zhu Presented: December 8, 2010 By: Hanh Tran.

Slides:



Advertisements
Similar presentations
Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University.
Advertisements

Chapter 5: Tree Constructions
An Adaptive Compulsory Protocol for Basic Communication in Ad-hoc Mobile Networks Ioannis Chatzigiannakis Sotiris Nikoletseas April 2002.
Scale Free Networks.
Lecture 8: Asynchronous Network Algorithms
Teaser - Introduction to Distributed Computing
Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks By C. K. Toh.
6.852: Distributed Algorithms Spring, 2008 Class 7.
Infocom'04Ossama Younis, Purdue University1 Distributed Clustering in Ad-hoc Sensor Networks: A Hybrid, Energy-Efficient Approach Ossama Younis and Sonia.
Max-Min D-Cluster Formation in Wireless Ad Hoc Networks - Alan Amis, Ravi Prakash, Thai Vuong, Dung Huynh Presenter: Nirav Shah.
Byzantine Generals Problem: Solution using signed messages.
Directional triadic closure and edge deletion mechanism induce asymmetry in directed edge properties.
DATA MINING LECTURE 12 Link Analysis Ranking Random walks.
Università degli Studi dell’Aquila Academic Year 2009/2010 Course: Algorithms for Distributed Systems Instructor: Prof. Guido Proietti Time: Monday:
1 Complexity of Network Synchronization Raeda Naamnieh.
Advanced Topics in Algorithms and Data Structures An overview of the lecture 2 Models of parallel computation Characteristics of SIMD models Design issue.
UNIVERSITY OF JYVÄSKYLÄ Topology Management in Unstructured P2P Networks Using Neural Networks Presentation for IEEE Congress on Evolutionary Computing.
Hardware-based Load Generation for Testing Servers Lorenzo Orecchia Madhur Tulsiani CS 252 Spring 2006 Final Project Presentation May 1, 2006.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
CSE 222 Systems Programming Graph Theory Basics Dr. Jim Holten.
Performance Comparison of Existing Leader Election Algorithms for Dynamic Networks Mobile Ad Hoc (Dynamic) Networks: Collection of potentially mobile computing.
Distributed systems Module 2 -Distributed algorithms Teaching unit 1 – Basic techniques Ernesto Damiani University of Bozen Lesson 2 – Distributed Systems.
Models of Parallel Computation Advanced Algorithms & Data Structures Lecture Theme 12 Prof. Dr. Th. Ottmann Summer Semester 2006.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 06/04/2007.
Graphs & Graph Algorithms 2 Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Computer Science 1 Web as a graph Anna Karpovsky.
Correctness of Gossip-Based Membership under Message Loss Maxim Gurevich, Idit Keidar Technion.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
Algorithms for Self-Organization and Adaptive Service Placement in Dynamic Distributed Systems Artur Andrzejak, Sven Graupner,Vadim Kotov, Holger Trinks.
Clustering Unsupervised learning Generating “classes”
Large-scale organization of metabolic networks Jeong et al. CS 466 Saurabh Sinha.
CHAMELEON : A Hierarchical Clustering Algorithm Using Dynamic Modeling
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 223 – Advanced Data Structures Graph Algorithms: Minimum.
Distributed Algorithms 2014 Igor Zarivach A Distributed Algorithm for Minimum Weight Spanning Trees By Gallager, Humblet,Spira (GHS)
1 CS 4396 Computer Networks Lab Dynamic Routing Protocols - II OSPF.
Distributed Consensus Reaching agreement is a fundamental problem in distributed computing. Some examples are Leader election / Mutual Exclusion Commit.
Lecture #12 Distributed Algorithms (I) CS492 Special Topics in Computer Science: Distributed Algorithms and Systems.
Computer Science 112 Fundamentals of Programming II Introduction to Graphs.
Finding dense components in weighted graphs Paul Horn
LANGUAGE NETWORKS THE SMALL WORLD OF HUMAN LANGUAGE Akilan Velmurugan Computer Networks – CS 790G.
June 21, 2007 Minimum Interference Channel Assignment in Multi-Radio Wireless Mesh Networks Anand Prabhu Subramanian, Himanshu Gupta.
A Clustering Algorithm based on Graph Connectivity Balakrishna Thiagarajan Computer Science and Engineering State University of New York at Buffalo.
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
Review for Exam 2. Topics included Deadlock detection Resource and communication deadlock Graph algorithms: Routing, spanning tree, MST, leader election.
Uncovering Overlap Community Structure in Complex Networks using Particle Competition Fabricio A. Liang
Load-Balancing Routing in Multichannel Hybrid Wireless Networks With Single Network Interface So, J.; Vaidya, N. H.; Vehicular Technology, IEEE Transactions.
CS4231 Parallel and Distributed Algorithms AY 2006/2007 Semester 2 Lecture 8 Instructor: Haifeng YU.
Computer Science and Engineering Parallel and Distributed Processing CSE 8380 February 10, 2005 Session 9.
Most of contents are provided by the website Graph Essentials TJTSD66: Advanced Topics in Social Media.
Data Structures CSCI 132, Spring 2014 Lecture 38 Graphs
1 Distributed Resilient Consensus Nitin Vaidya University of Illinois at Urbana-Champaign.
Comparison of Tarry’s Algorithm and Awerbuch’s Algorithm CS 6/73201 Advanced Operating System Presentation by: Sanjitkumar Patel.
Scalable and Topology-Aware Load Balancers in Charm++ Amit Sharma Parallel Programming Lab, UIUC.
A Framework for Reliable Routing in Mobile Ad Hoc Networks Zhenqiang Ye Srikanth V. Krishnamurthy Satish K. Tripathi.
Example Apply hierarchical clustering with d min to below data where c=3. Nearest neighbor clustering d min d max will form elongated clusters!
Network Partition –Finding modules of the network. Graph Clustering –Partition graphs according to the connectivity. –Nodes within a cluster is highly.
Efficient Placement and Dispatch of Sensors in a Wireless Sensor Network You-Chiun Wang, Chun-Chi Hu, and Yu-Chee Tseng IEEE Transactions on Mobile Computing.
Importance Measures on Nodes Lecture 2 Srinivasan Parthasarathy 1.
GRAPH AND LINK MINING 1. Graphs - Basics 2 Undirected Graphs Undirected Graph: The edges are undirected pairs – they can be traversed in any direction.
-1/16- Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks C.-K. Toh, Georgia Institute of Technology IEEE.
SYNERGY: A Game-Theoretical Approach for Cooperative Key Generation in Wireless Networks Jingchao Sun, Xu Chen, Jinxue Zhang, Yanchao Zhang, and Junshan.
Intrusion Tolerant Consensus in Wireless Ad hoc Networks Henrique Moniz, Nuno Neves, Miguel Correia LASIGE Dep. Informática da Faculdade de Ciências Universidade.
Lecture 9: Asynchronous Network Algorithms
ECE 544 Protocol Design Project 2016
Distributed Consensus
Graphs & Graph Algorithms 2
Chapter 9: Graphs Basic Concepts
Graph and Link Mining.
Overview: Chapter 4 Infrastructure Establishment
Chapter 9: Graphs Basic Concepts
Presentation transcript:

Random Graph Generator University of CS 8910 – Final Research Project Presentation Professor: Dr. Zhu Presented: December 8, 2010 By: Hanh Tran

Overview Why RG Generator? Basic RG Concepts Implementation Features Randomness Verification Degree Distribution Example Convergence Example Results & Analysis Summary

Why Choose RG Generator Internet, WWW, social networks, scientific- collaboration networks Random Graphs are used as models Few RG generators available (commercial product/open source) Very specific (test new algorithm), complex, unfriendly interface

Basic RG Concepts Directed vs. Undirected Weighted vs. Non-weighted Minimum Edge Connected Graph

Basic RG Concepts (2) Complete Graph

Basic RG Concepts (3) Minimum < Sparse < Dense < Complete Degree Distribution - # nodes w/ certain # of edges

Implementation Features Minimum Graph = (n – 1) edges Sparse Graph = has at least as many as (n – 1) edges, but no more than (n 2 +n-2)/4 edges Dense Graph = has at least as many as (n 2 +n-2)/4 edges, but no more than n (n – 1)/2 edges Complete Graph = n (n – 1)/2 edges

Randomness Verification Random network – node linkages follow a Poisson distribution in a bell shape.

Randomness Verification (2)

Degree Distribution Degree Distribution = P(k) = n k /n Where n k = # nodes w/ degree k, n = # nodes in network Example 1. Input: n = 10, type = minimum, degree = 5, distribution = 70% Output: Minimum Graph contains 9 max edges. Complete Graph contains 45 max edges. Sparse Graph contains greater than 9 but less than 27 edges. Dense Graph contains greater or equal 27 but less than 45 edges. ********************************************************* We will create 9 edges for this Minimum edge graph. *********************************************************

Degree Distribution (2) Initial Frequency Array Node 0 has 2 edge(s). Node 1 has 3 edge(s). Node 2 has 2 edge(s). Node 3 has 3 edge(s). Node 4 has 1 edge(s). Node 5 has 2 edge(s). Node 6 has 2 edge(s). Node 7 has 1 edge(s). Node 8 has 1 edge(s). Node 9 has 1 edge(s). Currently 0 nodes have 5 or more number of edges. That represents 0 %... Adding more edges.

Degree Distribution (3) After adding an edge between nodes 0 and 9, the results are: Frequency Array Node 0 has 3 edge(s). Node 1 has 3 edge(s). Node 2 has 2 edge(s). Node 3 has 3 edge(s). Node 4 has 1 edge(s). Node 5 has 2 edge(s). Node 6 has 2 edge(s). Node 7 has 1 edge(s). Node 8 has 1 edge(s). Node 9 has 2 edge(s).

Degree Distribution (4) After randomly selecting nodes 0 and 3, which already have an edge, the results are unchanged: Frequency Array Node 0 has 3 edge(s). Node 1 has 3 edge(s). Node 2 has 2 edge(s). Node 3 has 3 edge(s). Node 4 has 1 edge(s). Node 5 has 2 edge(s). Node 6 has 2 edge(s). Node 7 has 1 edge(s). Node 8 has 1 edge(s). Node 9 has 2 edge(s).

Degree Distribution (5) After adding an edge between nodes 8 and 9, the results are: Frequency Array Node 0 has 3 edge(s). Node 1 has 3 edge(s). Node 2 has 2 edge(s). Node 3 has 3 edge(s). Node 4 has 1 edge(s). Node 5 has 2 edge(s). Node 6 has 2 edge(s). Node 7 has 1 edge(s). Node 8 has 2 edge(s). Node 9 has 3 edge(s).

Degree Distribution (6)... After 29 more iterations, the results are: Frequency Array Node 0 has 5 edge(s). Node 1 has 5 edge(s). Node 2 has 5 edge(s). Node 3 has 5 edge(s). Node 4 has 2 edge(s). Node 5 has 4 edge(s). Node 6 has 4 edge(s). Node 7 has 5 edge(s). Node 8 has 6 edge(s). Node 9 has 5 edge(s). 70% Achieved. We have 23 edges in this Sparse Graph.

Distributed Agreement Distributed agreement has been used in numerous areas: Network communication Computer architecture operating systems software engineering

Distributed Agreement Some examples: Byzantine agreement in flight control systems Multi-value consensus in critical applications commit protocols in database transactions Leader election from a number of hosts Load balancing among a number of hosts Clock synchronization among hosts

Distributed Agreement General approach to reach agreement: Broadcast: Each node broadcasts its value to neighbors Collect: Each node forms a multiset of values Average: Average the values received. It is hoped that agreement is reached when the above round is repeated a sufficient number of times.

Conditions for agreement Convergence: All hosts eventually halt with values that are within a predefined tolerance of each other Validity: The agreed upon values are within the range of initial values before the agreement process started.

Application of RG in Distributed Agreement Generation of RG can be used as a test-bed for: Simulating the distributed agreement process. Validating the process of distributed alogorithms. Better intuitive understanding of agreement process Comparing the simulation results with mathematical results. How fast convergence takes place in a realistic environment

Example of distributed agreement How fast do the node values come to a consensus? Example 2. Input: n = 6, type = minimum, convergence = on Output: We will create 5 edges for this Minimum edge graph. Adjacency Matrix: n

Convergence (2) Minimum Graph of 6 nodes, with random values

Convergence (3) INITIAL value diameter: 98 – 31 = 67 After ROUND 1, diameter of values becomes 44  converged by: (67-44)/67 = 34% After ROUND 2, diameter of values becomes 32  converged by : (44-32)/44 = 27% After ROUND 3, diameter of values becomes 24 After ROUND 4, diameter of values becomes 18 After ROUND 5, diameter of values becomes 14 After ROUND 6, diameter of values becomes 11 After ROUND 7, diameter of values becomes 09 Overall after 7 rounds the values converged by : (67-09)/67 = 87% If one expects to have 100% convergence, this process should continue until the diameter values becomes 0.

Some general results noticed Randomness = larger networks with higher connectivity produce a clearer bell-shape distribution. Degree Distribution = no clear impact based on network size. Network diameter seems to have more impact on the number of rounds to reach the desired convergence rate. Dense connectivity implies faster convergence in terms of number of rounds needed. Convergence rate and number of rounds to reach a desired level of convergence highly depends on the initial distribution of values.

Summary Basic framework for generating random networks with some key features, DD and Convergence. Future implementation of directed and weighted edges will provide additional data pertaining to convergence speed. Test the distribution agreement in presence of failures (such as link failures).