Brief Announcement: Sorting on Skip Chains Ajoy K. Datta, Lawrence L. Larmore, and Stéphane Devismes.

Slides:



Advertisements
Similar presentations
13.1 Vis_2003 Data Visualization Lecture 13 Visualization of Very Large Datasets.
Advertisements

Nearest Neighbor Finding Using Kd-tree Ref: Andrew Moore’s PhD thesis (1991)Andrew Moore’s PhD thesis.
Comp 122, Spring 2004 Binary Search Trees. btrees - 2 Comp 122, Spring 2004 Binary Trees  Recursive definition 1.An empty tree is a binary tree 2.A node.
1/2a = 1/2g a = g t (s)x (m)y (m)vx (m)vy (m)Ek (J)Ep (J)Em (J)
Lecture 7: Synchronous Network Algorithms
Snap-Stabilizing Detection of Cutsets Alain Cournier, Stéphane Devismes, and Vincent Villain HIPC’2005, December , Goa (India)
Fast Leader (Full) Recovery despite Dynamic Faults Ajoy K. Datta Stéphane Devismes Lawrence L. Larmore Sébastien Tixeuil.
From Self- to Snap- Stabilization Alain Cournier, Stéphane Devismes, and Vincent Villain SSS’2006, November 17-19, Dallas (USA)
Self-Stabilization: An approach for Fault-Tolerance in Distributed Systems Stéphane Devismes 16/12/2013MAROC'2013.
1 The Max Flow Problem. 2 Flow networks Flow networks are the problem instances of the max flow problem. A flow network is given by 1) a directed graph.
CMPT 225 Priority Queues and Heaps. Priority Queues Items in a priority queue have a priority The priority is usually numerical value Could be lowest.
Game Playing CSC361 AI CSC361: Game Playing.
Algorithms in Exponential Time. Outline Backtracking Local Search Randomization: Reducing to a Polynomial-Time Case Randomization: Permuting the Evaluation.
Heaps & Priority Queues Nelson Padua-Perez Bill Pugh Department of Computer Science University of Maryland, College Park.
Max Min Max Min Starting node and labels Figure 4.15 (pp. 148) MiniMax Search.
DEAPS By: Michael Gresenz Austin Forrest. Deaps A deap is a double-ended heap that supports the double-ended priority operations of insert, delete-min,
CSC 3323 Notes – Introduction Algorithm Analysis.
Heaps and heapsort COMP171 Fall 2005 Part 2. Sorting III / Slide 2 Heap: array implementation Is it a good idea to store arbitrary.
Isosurface Extractions 2D Isocontour 3D Isosurface.
On Probabilistic Snap-Stabilization Karine Altisen Stéphane Devismes University of Grenoble.
Chapter Complexity of Algorithms –Time Complexity –Understanding the complexity of Algorithms 1.
PARALLEL TABLE LOOKUP FOR NEXT GENERATION INTERNET
On Probabilistic Snap-Stabilization Karine Altisen Stéphane Devismes University of Grenoble.
The Binary Heap. Binary Heap Looks similar to a binary search tree BUT all the values stored in the subtree rooted at a node are greater than or equal.
The Fundamentals: Algorithms, the Integers & Matrices.
1 Searching Searching in a sorted linked list takes linear time in the worst and average case. Searching in a sorted array takes logarithmic time in the.
The Complexity of Distributed Algorithms. Common measures Space complexity How much space is needed per process to run an algorithm? (measured in terms.
Priority Queue. Priority Queues Queue (FIFO). Priority queue. Deletion from a priority queue is determined by the element priority. Two kinds of priority.
A Self-Stabilizing O(n)-Round k-Clustering Algorithm Stéphane Devismes, VERIMAG.
CSE 250 September 29 – October 3, A NNOUNCEMENTS Homework 4 due 10/5 Project 1 posted for 10/6 Exam 2 10/8 No classes meet 10/9 Project 1 due 10/26.
Self-Stabilizing K-out-of-L Exclusion on Tree Networks Stéphane Devismes, VERIMAG Joint work with: – Ajoy K. Datta (Univ. Of Nevada) – Florian Horn (LIAFA)
Self-Stabilizing K-out-of-L Exclusion on Tree Networks Stéphane Devismes, VERIMAG Joint work with: – Ajoy K. Datta (Univ. Of Nevada) – Florian Horn (LIAFA)
Lecture #9: Sorting Algorithms خوارزميات الترتيب Dr. Hmood Al-Dossari King Saud University Department of Computer Science 22 April 2012.
Lecture #14 Distributed Algorithms (II) CS492 Special Topics in Computer Science: Distributed Algorithms and Systems.
Weak vs. Self vs. Probabilistic Stabilization Stéphane Devismes (CNRS, LRI, France) Sébastien Tixeuil (LIP6-CNRS & INRIA, France) Masafumi Yamashita (Kyushu.
Data Structure II So Pak Yeung Outline Review  Array  Sorted Array  Linked List Binary Search Tree Heap Hash Table.
Breadth First Search and Depth First Search. Greatest problem in Computer Science Has lead to a lot of new ideas and data structures Search engines before.
1 Heap Sort. A Heap is a Binary Tree Height of tree = longest path from root to leaf =  (lgn) A heap is a binary tree satisfying the heap condition:
Heaps A heap is a binary tree that satisfies the following properties: Structure property: It is a complete binary tree Heap-order property: Each node.
Sorting on Skip Chains Ajoy K. Datta, Lawrence L. Larmore, and Stéphane Devismes.
November 27, 2007 Verification of a Concurrent Priority Queue Bart Verzijlenberg.
Self-Stabilizing Algorithm with Safe Convergence building an (f,g)-Alliance Fabienne Carrier Ajoy K. Datta Stéphane Devismes Lawrence L. Larmore Yvan Rivierre.
Fault tolerance and related issues in distributed computing Shmuel Zaks GSSI - Feb
Self-stabilizing (f,g)-Alliances with Safe Convergence Fabienne Carrier Ajoy K. Datta Stéphane Devismes Lawrence L. Larmore Yvan Rivierre.
Snap-Stabilizing Depth-First Search on Arbitrary Networks Alain Cournier, Stéphane Devismes, Franck Petit, and Vincent Villain OPODIS 2004, December
1 Chapter 2 Program Performance. 2 Concepts Memory and time complexity of a program Measuring the time complexity using the operation count and step count.
Adversarial Search In this lecture, we introduce a new search scenario: game playing 1.two players, 2.zero-sum game, (win-lose, lose-win, draw) 3.perfect.
CS6045: Advanced Algorithms Data Structures. Dynamic Sets Next few lectures will focus on data structures rather than straight algorithms In particular,
Self-stabilizing Overlay Networks Sukumar Ghosh University of Iowa Work in progress. Jointly with Andrew Berns and Sriram Pemmaraju (Talk at Michigan Technological.
Heaps, Heap Sort, and Priority Queues. Background: Binary Trees * Has a root at the topmost level * Each node has zero, one or two children * A node that.
Heaps and Heap Sort. Sorting III / Slide 2 Background: Complete Binary Trees * A complete binary tree is the tree n Where a node can have 0 (for the leaves)
Competitive Self-Stabilizing k-Clustering
Sorting With Priority Queue In-place Extra O(N) space
Design & Analysis of Algorithm Priority Queue
Isosurface Extractions (II)
Atacan KULLABCI Kubilay BEKTAŞ
Quick-Sort 9/12/2018 3:26 PM Presentation for use with the textbook Data Structures and Algorithms in Java, 6th edition, by M. T. Goodrich, R. Tamassia,
Heapsort.
Complexity Present sorting methods. Binary search. Other measures.
A Snap-Stabilizing DFS with a Lower Space Requirement
Kruskal’s Algorithm for finding a minimum spanning tree
Sorting.
Heaps A heap is a binary tree that satisfies the following properties:
A Concurrent Lock-Free Priority Queue for Multi-Thread Systems
HEAPS.
Quick-Sort 4/25/2019 8:10 AM Quick-Sort     2
Heapsort.
Heaps By JJ Shepherd.
Compound Normal & Shear Stresses
CMPT 225 Lecture 16 – Heap Sort.
Presentation transcript:

Brief Announcement: Sorting on Skip Chains Ajoy K. Datta, Lawrence L. Larmore, and Stéphane Devismes

Skip Chain October, 11, 2011SSS'2011, Grenoble2 Left Right Major nodes Relay nodes

Skip Chain Sorting October, 11, 2011SSS'2011, Grenoble

Contribution Skip Chain Sorting Algorithm – Self-stabilizing – Silent – Locally shared memory model Unfair demon O(b) space, b = number of bits to encode a value O(md) rounds – m : number of major nodes – d : maximum number of relay between two major nodes – md = O(n) if the spacing between major processes is roughtly equal October, 11, 2011SSS'2011, Grenoble4

Overview Idea : distributed bubble sort October, 11, 2011SSS'2011, Grenoble5 Arbitrary Configurations Normal Configurations Legitimate Configurations Error Correction Sorting

Data Structure October, 11, 2011SSS'2011, Grenoble

Swap October, 11, 2011SSS'2011, Grenoble Synchronization between swaps : 4 colors

Colors A value moves to the left at the crest of wave 0 A value moves to the right at the crest of wave 1 Colors 2 and 3 to avoid ambiguïty and to synchronize Color E: error color October, 11, 2011SSS'2011, Grenoble8

Example October, 11, 2011SSS'2011, Grenoble9 X Yz Compare and swap V(y)V(x)

Example October, 11, 2011SSS'2011, Grenoble10 X Yz V(y)’V(x)’ 0, V(x)’1, V(y)’

Example October, 11, 2011SSS'2011, Grenoble11 X Yz Compare and swap V(y)’V(x)’ V(y)’ V(u) V(x)’

Example October, 11, 2011SSS'2011, Grenoble12 X Yz Compare and swap V(y)’V(x)’ V(x)’’ V(y)’ V(u)’ 2 1, V(x)’’

Example October, 11, 2011SSS'2011, Grenoble13 X Yz V(y)’V(x)’’ V(y)’ V(u)’

Example October, 11, 2011SSS'2011, Grenoble14 X Yz V(y)’V(x)’’ V(y)’ V(u)’ 2 3

Example October, 11, 2011SSS'2011, Grenoble15 X Yz V(y)’V(x)’’ V(y)’ V(u)’

Example October, 11, 2011SSS'2011, Grenoble16 X Yz V(y)’V(x)’’ V(y)’ V(z) V(u)’ Compare and swap

Example October, 11, 2011SSS'2011, Grenoble17 X Yz V(y)’V(x)’’ V(y)’’ V(z)’ V(u)’ 0, V(y)’’ 3

Example October, 11, 2011SSS'2011, Grenoble18 X Yz V(y)’’V(x)’’ V(y)’’ V(z)’ V(u)’

Example October, 11, 2011SSS'2011, Grenoble19 X Yz V(y)’’V(x)’’ V(y)’’ V(z)’ V(u)’

Error correction October, 11, 2011SSS'2011, Grenoble20

Silence October, 11, 2011SSS'2011, Grenoble Done

Perspective Can we enhance the round complexity to O(n) rounds ? Step complexity ? October, 11, 2011SSS'2011, Grenoble22

Thank you October, 11, 2011SSS'2011, Grenoble23

Min-Max Search Tree October, 11, 2011SSS'2011, Grenoble <= 3 3 min max