Metarouting and Network Optimization CISS 2006 (work in progress)

Slides:



Advertisements
Similar presentations
Examples of Research Patterns
Advertisements

Single Source Shortest Paths
* Bellman-Ford: single-source shortest distance * O(VE) for graphs with negative edges * Detects negative weight cycles * Floyd-Warshall: All pairs shortest.
The Greedy Approach Chapter 8. The Greedy Approach It’s a design technique for solving optimization problems Based on finding optimal local solutions.
October 31, Algorithms and Data Structures Lecture XIII Simonas Šaltenis Nykredit Center for Database Research Aalborg University
CS138A Single Source Shortest Paths Peter Schröder.
 2004 SDU Lecture9- Single-Source Shortest Paths 1.Related Notions and Variants of Shortest Paths Problems 2.Properties of Shortest Paths and Relaxation.
Data Structures and Algorithms (AT70.02) Comp. Sc. and Inf. Mgmt. Asian Institute of Technology Instructor: Dr. Sumanta Guha Slide Sources: CLRS “Intro.
Design and Analysis of Algorithms Single-source shortest paths, all-pairs shortest paths Haidong Xue Summer 2012, at GSU.
Length of a Path The weight (length) of a path is the sum of the weights of its edges. adcbe Path p: Edge weights: w(a, b) = 7, w(b, c) = 2, w(c,
Management Science 461 Lecture 2b – Shortest Paths September 16, 2008.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
Algebra and algorithms for QoS path computation and hop-by-hop routing in the internet.
CSE 780 Algorithms Advanced Algorithms Shortest path Shortest path tree Relaxation Bellman-Ford Alg.
Lecture 20: Shortest Paths Shang-Hua Teng. Weighted Directed Graphs Weight on edges for distance
Lecture 19: Shortest Paths Shang-Hua Teng. Weighted Directed Graphs Weight on edges for distance
Shortest Paths Definitions Single Source Algorithms –Bellman Ford –DAG shortest path algorithm –Dijkstra All Pairs Algorithms –Using Single Source Algorithms.
1 8-ShortestPaths Shortest Paths in a Graph Fundamental Algorithms.
Shortest Paths Definitions Single Source Algorithms
CSE 421 Algorithms Richard Anderson Lecture 10 Minimum Spanning Trees.
1 Graph Algorithms Single source shortest paths problem Dana Shapira.
Tirgul 13. Unweighted Graphs Wishful Thinking – you decide to go to work on your sun-tan in ‘ Hatzuk ’ beach in Tel-Aviv. Therefore, you take your swimming.
All-Pairs Shortest Paths
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
1 Shortest Path Algorithms. 2 Routing Algorithms Shortest path routing What is a shortest path? –Minimum number of hops? –Minimum distance? There is a.
The Shortest Path Problem
D IJKSTRA ' S ALGORITHM By Laksman Veeravagu and Luis Barrera.
Routing Protocols and the IP Layer CS244A Review Session 2/01/08 Ben Nham Derived from slides by: Paul Tarjan Martin Casado Ari Greenberg.
Theory of Computing Lecture 7 MAS 714 Hartmut Klauck.
Graphs – Shortest Path (Weighted Graph) ORD DFW SFO LAX
Dynamic Single-source Shortest Paths Camil Demetrescu University of Rome “La Sapienza”
CISC 235: Topic 11 Shortest Paths Algorithms. CISC 235 Topic 112 Outline Single-Source Shortest Paths Algorithm for Unweighted Graphs Algorithm for Weighted,
COSC 3101NJ. Elder Assignment 2 Remarking Assignment 2 Marks y = 0.995x R 2 = Old Mark New Mark.
CS223 Advanced Data Structures and Algorithms 1 The Bellman-Ford Shortest Path Algorithm Neil Tang 03/11/2010.
1 Shortest Path Problems How can we find the shortest route between two points on a road map? Model the problem as a graph problem: –Road map is a weighted.
Distributed Asynchronous Bellman-Ford Algorithm
Graph (II) Shortest path, Minimum spanning tree GGuy
Métaroutage L’école d’été RÉSCOM 2007 Calcotoggio, Corse, 21 Juin
Prof. Swarat Chaudhuri COMP 482: Design and Analysis of Algorithms Spring 2012 Lecture 10.
Algorithm Course Dr. Aref Rashad February Algorithms Course..... Dr. Aref Rashad Part: 6 Shortest Path Algorithms.
Chapter 24: Single-Source Shortest Paths Given: A single source vertex in a weighted, directed graph. Want to compute a shortest path for each possible.
Introduction to Algorithms Jiafen Liu Sept
D IJKSTRA ' S ALGORITHM. S INGLE -S OURCE S HORTEST P ATH P ROBLEM Single-Source Shortest Path Problem - The problem of finding shortest paths from a.
Minimum spanning trees (MST) Def: A spanning tree of a graph G is an acyclic subset of edges of G connecting all vertices in G. A sub-forest of G is an.
CSE 2331 / 5331 Topic 12: Shortest Path Basics Dijkstra Algorithm Relaxation Bellman-Ford Alg.
Shortest Path Algorithms. Definitions Variants  Single-source shortest-paths problem: Given a graph, finding a shortest path from a given source.
Lecture 13 Algorithm Analysis
CS38 Introduction to Algorithms Lecture 10 May 1, 2014.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
Length of a Path The weight (length) of a path is the sum of the weights of its edges. adcbe Path p: Edge weights: w(a, b) = 7, w(b, c) = 2, w(c,
Network Layer (2). Review Physical layer: move bits between physically connected stations Data link layer: move frames between physically connected stations.
Single Source Shortest Paths Chapter 24 CSc 4520/6520 Fall 2013 Slides adapted from George Bebis, University of Reno, Nevada.
1 Chapter 7 Network Flow Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
By Laksman Veeravagu and Luis Barrera
Single-Source Shortest Path
What Are Routers? Routers are an intermediate system at the network layer that is used to connect networks together based on a common network layer protocol.
COMP 3270 Computer Networks
CS 457 – Lecture 12 Routing Spring 2012.
Minimum Spanning Trees
Comp 245 Data Structures Graphs.
Metarouting (SIGCOMM 2005) T. G. Griffin and J. L. Sobrinho
Lecture 6 Shortest Path Problem.
Lecture 13 Algorithm Analysis
Lecture 13 Algorithm Analysis
Lecture 13 Algorithm Analysis
Lecture 13 Algorithm Analysis
The Bellman-Ford Shortest Path Algorithm Neil Tang 03/27/2008
Brad Karp UCL Computer Science
Chapter 4: Network Layer
OSPF Protocol.
Presentation transcript:

Metarouting and Network Optimization CISS 2006 (work in progress)

The Current Situation IP Connectivity is implemented with dynamic routing protocols These protocols are few in number Existing protocols tend to get in the way of network optimization, network analysis

Routing Algebras (Sobrinho) 2002: Algebra and Algorithms for QoS Path Computation and Hop-by-Hop Routing in the Internet. 2003: Network Routing and Path Vector Protocols: Theory and Applications. Routing Algebras 1970s 1980s: Path Algebra = Idempotent semiring. Carre’, Gondran & Minoux

Generalized Routing Algebras (Gurney & Griffin, ongoing work) is a semi-group action on  A semi-group This is a pre-order

Big Picture Path Algebras Generalized Routing Algebras Routing Algebras

“Best” Routes For finite, non-empty Total order Partial order Total pre-order Pre-order

Weighted Graph, solution

Generalized Dijkstra for all v in V: d[v]  d[s]  Q  V while Q not empty: choose u in Q with d[u] in min{d[v] | v in Q}; Q  Q - {u}; for all v in V with (u, v) in E: if d[v] > (w(u, v) d[u]) then: d[v]  w(u, v) d[u];

Generalized Bellman-Ford for all v in V: d[v]  d[s]  Q  V for i in {1, 2,..., |V| - 1} for all (u, v) in E if d[v] > (w(u, v) d[u]]) then d[v]  w(u, v) d[u] -- Negative weight cycle detection for (u, v) in E if d[v] > (w(u, v) d[u]) then: return false -- Found “neg-weight” cycle return true -- No “neg-weight” cycle

Some Important Properties Monotonicity (M) : Strict monotonicity (SM) : Isotonicity (I) : Strict isotonicity (SI) :

What makes these algorithms work (for bounded path algebras)? Dijkstra –Correctness proof uses monotonicity and isotonicity, –Loop-freedom for hop-by-hop forwarding uses strict monontonicity. Bellman-Ford –Correctness proof uses monotonicity, –Loop-freedom for hop-by-hop forwarding uses strict monotonicity

Metarouting (Griffin & Sobrinho 2005) A meta-language for Routing Algebras –Base algebras –Constructors Property Preservation Rules –Properties of base algebras known, –Preservation rules for each constructor Can be implemented, standardized

Direct Product

M SM M M M M M M I SI I I I I I I

Distance x Bandwidth LondonMoscow Prague Rome Paris (250, 90) (311, 70) (100, 30) (200, 30)(10, 80) P = Rome  Prague  Moscow = (300, 30) Q = Rome  Paris  London  Moscow = (571, 70) min {w(P), w(Q)} = {(300, 30), (571, 70)} {(300, 30), (571, 70)} = (300, 70)The corresponding path algebra gives

Lexicographic Product

Property Preservation with Lex Product M SM M M M EQ,SI II SI A design pattern: SI EQ All at least MSM Don’t care! SM

Local Preference, Origin Preference (Always M)

Disjoint Union

Disjoint Union : Property Preservation M SM M M M M M M I SI I I I I I I

Scoped Product Q : What is a good mathematical framework for the analysis of routing algebra metalanguages? A : CATEGORY THEORY!

Scoped Product

Scoped Product : Monotonicity Preservation SM M M

Dependent Lexicographic Product

An application… This can be viewed as an instance of

Operations at the Protocol Level A A B B A B A B

…or A A A A A B B B Adjacencies of B supported by connectivity of provided by A Think of A = OSPF and B = IBGP ….

OSPF Revisited Something like where (shortest paths) Something like

Challenge If you could “roll your own” routing protocols, what would you do? How does this kind of flexibility change the way you might think about network optimization?