CS223 Advanced Data Structures and Algorithms

Slides:



Advertisements
Similar presentations
Bellman-Ford algorithm
Advertisements

CS223 Advanced Data Structures and Algorithms 1 Greedy Algorithms Neil Tang 4/8/2010.
Management Science 461 Lecture 2b – Shortest Paths September 16, 2008.
MAX FLOW APPLICATIONS CS302, Spring 2013 David Kauchak.
Towards Virtual Routers as a Service 6th GI/ITG KuVS Workshop on “Future Internet” November 22, 2010 Hannover Zdravko Bozakov.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
CSE 421 Algorithms Richard Anderson Lecture 22 Network Flow.
CS541 Advanced Networking 1 Spectrum Sharing in Cognitive Radio Networks Neil Tang 3/23/2009.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Mobile Ad Hoc Networks Theory of Data Flow and Random Placement.
Chapter 7 Network Flow Models.
PROFITABLE CONNECTION ASSIGNMENT IN ALL OPTICAL WDM NETWORKS VISHAL ANAND LANDER (Lab. for Advanced Network Design, Evaluation and Research) In collaboration.
CS541 Advanced Networking 1 Routing and Shortest Path Algorithms Neil Tang 2/18/2009.
CS541 Advanced Networking 1 Static Channel Assignment and Routing in Multi-Radio Wireless Mesh Networks Neil Tang 3/9/2009.
On Channel-Discontinuity-Constraint Routing in Multi-Channel Wireless Infrastructure Networks Abishek Gopalan, Swaminathan Sankararaman 1.
S. Suri, M, Waldvogel, P. Warkhede CS University of Washington Profile-Based Routing: A New Framework for MPLS Traffic Engineering.
CS541 Advanced Networking 1 Introduction to Optimization Neil Tang 2/23/2009.
The Shortest Path Problem
NetworkModel-1 Network Optimization Models. NetworkModel-2 Network Terminology A network consists of a set of nodes and arcs. The arcs may have some flow.
Using Dijkstra’s Algorithm to Find a Shortest Path from a to z 1.
CS223 Advanced Data Structures and Algorithms 1 The Bellman-Ford Shortest Path Algorithm Neil Tang 03/11/2010.
+ Mayukha Bairy Disk Intersection graphs and CDS as a backbone in wireless ad hoc networks.
Models in I.E. Lectures Introduction to Optimization Models: Shortest Paths.
The Influence of Network Topology on the Efficiency of QoS Multicast Heuristic Algorithms Maciej Piechowiak Piotr Zwierzykowski Poznan University of Technology,
InterConnection Network Topologies to Minimize graph diameter: Low Diameter Regular graphs and Physical Wire Length Constrained networks Nilesh Choudhury.
Shortest Path Algorithms. Definitions Variants  Single-source shortest-paths problem: Given a graph, finding a shortest path from a given source.
MAX FLOW APPLICATIONS CS302, Spring 2012 David Kauchak.
Most of contents are provided by the website Graph Essentials TJTSD66: Advanced Topics in Social Media.
Efficient Computing k-Coverage Paths in Multihop Wireless Sensor Networks XuFei Mao, ShaoJie Tang, and Xiang-Yang Li Dept. of Computer Science, Illinois.
Graphs A ‘Graph’ is a diagram that shows how things are connected together. It makes no attempt to draw actual paths or routes and scale is generally inconsequential.
CS223 Advanced Data Structures and Algorithms 1 Maximum Flow Neil Tang 3/30/2010.
1 An Arc-Path Model for OSPF Weight Setting Problem Dr.Jeffery Kennington Anusha Madhavan.
Efficient Resource Allocation for Wireless Multicast De-Nian Yang, Member, IEEE Ming-Syan Chen, Fellow, IEEE IEEE Transactions on Mobile Computing, April.
Homework 1 Problem 1: (5 points) Both Dijkstras algorihm and Bellmanford Algorithm generates shortest paths to all destinations. Modify the algorithm to.
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
Network Problems A D O B T E C
A Maximum Fair Bandwidth Approach for Channel Assignment in Wireless Mesh Networks Bahador Bakhshi and Siavash Khorsandi WCNC 2008.
Impact of Interference on Multi-hop Wireless Network Performance
Network Flow.
Constraint-Based Routing
Presented by Tae-Seok Kim
Routing and Switching Fabrics
Lecture 4.
Computing and Compressive Sensing in Wireless Sensor Networks
CprE 458/558: Real-Time Systems
Network Flow.
Unweighted Shortest Path Neil Tang 3/11/2010
The Taxi Scheduling Problem
Graph Algorithm.
Minimum Spanning Tree Neil Tang 3/25/2010
COMPUTER NETWORKS CS610 Lecture-42 Hammad Khalid Khan.
Dijkstra’s Shortest Path Algorithm Neil Tang 03/25/2008
Graphs.
Route Inspection Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we introduce a vertex.
Minimum Spanning Tree Neil Tang 4/3/2008
Pradeep Kyasanur Nitin H. Vaidya Presented by Chen, Chun-cheng
Advisor: Frank Yeong-Sung Lin, Ph.D. Presented by Yu-Jen Hsieh 謝友仁
Dynamic Programming 1 Neil Tang 4/15/2008
The Bellman-Ford Shortest Path Algorithm Neil Tang 03/27/2008
Network Flow.
Dijkstra’s Shortest Path Algorithm Neil Tang 3/2/2010
Lecture 4.
Advisor: Yeong-Sung, Lin, Ph.D. Presented by Yu-Ren, Hsieh
Lecture 19 Linear Program
Maximum Flow Neil Tang 4/8/2008
Routing and Switching Fabrics
Prim’s Minimum Spanning Tree Algorithm Neil Tang 4/1/2008
Network Flow.
Routing Metrics Neil Tang 11/03/2009
Richard Anderson Lecture 22 Network Flow
Review for Final Neil Tang 05/01/2008
Presentation transcript:

Graph Algorithms and Their Applications on Computer Networks Neil Tang 2/6/2010

CS223 Advanced Data Structures and Algorithms Outline Network Model Link and Path Costs Routing Problems Dijkstra’s Shortest Path Algorithm Constrained Shortest Path Algorithms Another Approach: LP and ILP CS223 Advanced Data Structures and Algorithms

CS223 Advanced Data Structures and Algorithms Network Model A network is usually modeled as a graph such that the networking problems, such as routing and scheduling, can be transformed to the corresponding problems in a graph and solved by algorithms in graph theory. A vertex in the graph represents a router. In a wired network, there is an edge (A,B) between a pair of vertices A and B if there is a physical link in between. Disk graph: In a wireless network, there is an edge (A,B) between a pair of vertices A and B if their Euclidean distance is no more than the transmission range of node A. CS223 Advanced Data Structures and Algorithms

CS223 Advanced Data Structures and Algorithms Link and Path Cost There is usually one or multiple cost parameters associated with each link, which indicate its transmission cost, bandwidth, delay and so on. Some of parameters are bottleneck parameters (e.g. bandwidth), i.e., the cost of the path in terms of this parameter depends on the minimum link cost along the path. Some of parameters are additive parameters (e.g. delay), i.e., the cost of the path in terms of this parameter is equal to the summation of the costs of all links along the path. CS223 Advanced Data Structures and Algorithms

CS223 Advanced Data Structures and Algorithms Routing Problems Basic routing problem: Given a source and a destination, the basic routing problem seeks a source-destination route such that it has the minimum cost among all possible source-destination routes. QoS routing problem: Given a source and destination along with one or multiple QoS constrains (e.g, bandwidth, delay), a QoS routing problem seeks a source-destination route such that it has the minimum cost among all source-destination routes which can satisfy all QoS constraints. CS223 Advanced Data Structures and Algorithms

Dijkstra’s Shortest Path Algorithm 6 1  10 5 2 9 3 A B C D E 8 5 14 10 2 1 9 3 6 7 10 5  2 1 9 3 6 8 5 9 10 2 1 3 6 7 8 5 9 10 2 1 3 6 7 8 5 13 10 2 1 9 3 6 7 Time complexity: |E|+|V|log|V| CS223 Advanced Data Structures and Algorithms

Typical QoS Routing Problems Find a minimum cost path subject to a bottleneck (e.g., bandwidth) constraint. Find a minimum cost path subject to an additive (e.g. delay) constraint. This problem is NP-hard. CS223 Advanced Data Structures and Algorithms

Constrained Shortest Path Algorithms Find a shortest path subject to a bottleneck (e.g., bandwidth) constraint: ρ= (A,D), Threshold=3 (4,4) D B (2,4) (3,4) (5,2) A (3,2) C CS223 Advanced Data Structures and Algorithms

Constrained Shortest Path Algorithms Find a shortest path subject to an additive (e.g., delay) constraint: ρ= (A,D), Threshold=4 (4,4) D B (2,4) (3,4) (5,2) A (3,2) C CS223 Advanced Data Structures and Algorithms

Constrained Shortest Path Algorithms B0 D0 Find a shortest path subject to an additive (e.g., delay) constraint: ρ= (A,D), Threshold=4 2 4 4 5 3 B1 D1 5 A0 C0 5 3 3 2 B2 D2 A1 C1 5 5 (4,4) B D 3 (2,4) (3,4) B3 D3 3 (5,2) A2 C2 A 5 3 (3,2) 3 C B4 D4 A3 C3 3 A4 C4 CS223 Advanced Data Structures and Algorithms

Maximum Flow Problem - LP CS223 Advanced Data Structures and Algorithms

Multi-Commodity Flow Problem - LP CS223 Advanced Data Structures and Algorithms

Shortest Path Problem - ILP CS223 Advanced Data Structures and Algorithms

Constrained Shortest Path Problem - ILP CS223 Advanced Data Structures and Algorithms