ENCODING NEAREST LARGER VALUES Pat Nicholson* and Rajeev Raman** * MPII ** University of Leicester.

Slides:



Advertisements
Similar presentations
Deep packet inspection – an algorithmic view Cristian Estan (U of Wisconsin-Madison) at IEEE CCW 2008.
Advertisements

Time-Space Trade-Offs for 2D Range Minimum Queries Gerth Stølting BrodalPooya Davoodi Aarhus University S. Srinivasa Rao Seoul National University 18 th.
I/O and Space-Efficient Path Traversal in Planar Graphs Craig Dillabaugh, Carleton University Meng He, University of Waterloo Anil Maheshwari, Carleton.
Succinct Representations of Dynamic Strings Meng He and J. Ian Munro University of Waterloo.
Succinct Data Structures for Permutations, Functions and Suffix Arrays
QuickSort Average Case Analysis An Incompressibility Approach Brendan Lucier August 2, 2005.
Mauro Sozio and Aristides Gionis Presented By:
An Improved Succinct Dynamic k-Ary Tree Representation (work in progress) Diego Arroyuelo Department of Computer Science, Universidad de Chile.
Choose the right picture
Fast Algorithm for Nearest Neighbor Search Based on a Lower Bound Tree Yong-Sheng Chen Yi-Ping Hung Chiou-Shann Fuh 8 th International Conference on Computer.
Anytime RRTs Dave Fergusson and Antony Stentz. RRT – Rapidly Exploring Random Trees Good at complex configuration spaces Efficient at providing “feasible”
A New Compressed Suffix Tree Supporting Fast Search and its Construction Algorithm Using Optimal Working Space Dong Kyue Kim 1 andHeejin Park 2 1 School.
© 2004 Goodrich, Tamassia Tries1. © 2004 Goodrich, Tamassia Tries2 Preprocessing Strings Preprocessing the pattern speeds up pattern matching queries.
2-dimensional indexing structure
Time-Space Trade-Offs for 2D Range Minimum Queries
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Chain: Operator Scheduling for Memory Minimization in Data Stream Systems Authors: Brian Babcock, Shivnath Babu, Mayur Datar, and Rajeev Motwani (Dept.
6/26/2015 7:13 PMTries1. 6/26/2015 7:13 PMTries2 Outline and Reading Standard tries (§9.2.1) Compressed tries (§9.2.2) Suffix tries (§9.2.3) Huffman encoding.
Improvements on the Range-Minimum-Query- Problem
Document Retrieval Problems S. Muthukrishnan. Storyline Zvi Galil gave a talk on the 13 th on 13 open problems he posed 13 years ago in string matching.
R-Trees 2-dimensional indexing structure. R-trees 2-dimensional version of the B-tree: B-tree of maximum degree 8; degree between 3 and 8 Internal nodes.
Route Planning Vehicle navigation systems, Dijkstra’s algorithm, bidirectional search, transit-node routing.
Compact Representations of Separable Graphs From a paper of the same title submitted to SODA by: Dan Blandford and Guy Blelloch and Ian Kash.
Algorithm Engineering, September 2013Data Structures, February-March 2010Data Structures, February-March 2006 Cache-Oblivious and Cache-Aware Algorithms,
The Encoding Complexity of Two Dimensional Range Minimum Data Structures MADALGO, October 2, 2013 (Work presented at ESA 2013) 1234  n
The Encoding Complexity of Two Dimensional Range Minimum Data Structures European Symposium on Algorithms, Inria, Sophia Antipolis, France, September 3,
Mike 66 Sept Succinct Data Structures: Techniques and Lower Bounds Ian Munro University of Waterloo Joint work with/ work of Arash Farzan, Alex Golynski,
On the Construction of Data Aggregation Tree with Minimum Energy Cost in Wireless Sensor Networks: NP-Completeness and Approximation Algorithms National.
How Do I Round Numbers to the Nearest 10, 100, 1000?
Space Efficient Data Structures for Dynamic Orthogonal Range Counting Meng He and J. Ian Munro University of Waterloo.
© 2004 Goodrich, Tamassia Tries1. © 2004 Goodrich, Tamassia Tries2 Preprocessing Strings Preprocessing the pattern speeds up pattern matching queries.
An Approximation Algorithm for Binary Searching in Trees Marco Molinaro Carnegie Mellon University joint work with Eduardo Laber (PUC-Rio)
Succinct Geometric Indexes Supporting Point Location Queries Prosenjit Bose, Eric Y. Chen, Meng He, Anil Maheshwari, Pat Morin.
Wolfgang Mulzer Institut f ür Informatik Data Structures on Event Graphs Bernard ChazelleWolfgang Mulzer FU Berlin Princeton University.
Succinct Orthogonal Range Search Structures on a Grid with Applications to Text Indexing Prosenjit Bose, Carleton University Meng He, Unversity of Waterloo.
Dynamic Covering for Recommendation Systems Ioannis Antonellis Anish Das Sarma Shaddin Dughmi.
Succinct Data Structures Ian Munro University of Waterloo Joint work with David Benoit, Andrej Brodnik, D, Clark, F. Fich, M. He, J. Horton, A. López-Ortiz,
Conjunctive Filter: Breaking the Entropy Barrier Daisuke Okanohara *1, *2 Yuichi Yoshida *1*3 *1 Preferred Infrastructure Inc. *2 Dept. of Computer Science,
Tries1. 2 Outline and Reading Standard tries (§9.2.1) Compressed tries (§9.2.2) Suffix tries (§9.2.3)
Pawe ł Gawrychowski* and Pat Nicholson** *University of Warsaw **Max-Planck-Institut für Informatik.
Compressed Prefix Sums O’Neil Delpratt Naila Rahman Rajeev Raman.
Space-time Tradeoffs for Longest-Common-Prefix Array Construction Simon J. Puglisi and Andrew Turpin
Compressed Suffix Arrays and Suffix Trees Roberto Grossi, Jeffery Scott Vitter.
Succinct Ordinal Trees Based on Tree Covering Meng He, J. Ian Munro, University of Waterloo S. Srinivasa Rao, IT University of Copenhagen.
By Ali ANGLES. WHAT ARE ANGLES Angles are the space between two intersecting lines.
1 Nearest Common Ancestors (NCA) Discrete Range Maximum Cartesian Tree [Vuillemin 1980] i j max(i, j) i.
By: Gang Zhou Computer Science Department University of Virginia 1 Medians and Beyond: New Aggregation Techniques for Sensor Networks CS851 Seminar Presentation.
Sorting Lower Bounds n Beating Them. Recap Divide and Conquer –Know how to break a problem into smaller problems, such that –Given a solution to the smaller.
Zaiben Chen et al. Presented by Lian Liu. You’re traveling from s to t. Which gas station would you choose?
Choose the right picture Choose the right word. 5.
Computer Science and Engineering Jianye Yang 1, Ying Zhang 2, Wenjie Zhang 1, Xuemin Lin 1 Influence based Cost Optimization on User Preference 1 The University.
Tries 4/16/2018 8:59 AM Presentation for use with the textbook Data Structures and Algorithms in Java, 6th edition, by M. T. Goodrich, R. Tamassia, and.
Tries 07/28/16 11:04 Text Compression
Tries 5/27/2018 3:08 AM Tries Tries.
The Greedy Method and Text Compression
Tries 9/14/ :13 AM Presentation for use with the textbook Data Structures and Algorithms in Java, 6th edition, by M. T. Goodrich, R. Tamassia, and.
Space-efficient graph algorithms
Data Structures: Disjoint Sets
Bart M. P. Jansen June 3rd 2016, Algorithms for Optimization Problems
Near-Optimal (Euclidean) Metric Compression
Assignment #8 on Chapter 11: Search Trees (Sorry No Code)
Brian Babcock, Shivnath Babu, Mayur Datar, and Rajeev Motwani
Tries 2/23/2019 8:29 AM Tries 2/23/2019 8:29 AM Tries.
Tries 2/27/2019 5:37 PM Tries Tries.
An O(n log n)-Time Algorithm for the k-Center Problem in Trees
Haitao Wang Utah State University SoCG 2017, Brisbane, Australia
Backtracking and Branch-and-Bound
Angles are everywhere Just look around YOU!.
Discrete Range Maximum
Presentation transcript:

ENCODING NEAREST LARGER VALUES Pat Nicholson* and Rajeev Raman** * MPII ** University of Leicester

Input Data (Relatively Big) DÉJÀ VU: THE ENCODING APPROACH

Input Data (Relatively Big) Preprocess w.r.t. Some Query Encoding (Hope: much smaller)

Input Data (Relatively Big) Preprocess w.r.t. Some Query Encoding (Hope: much smaller) DÉJÀ VU: THE ENCODING APPROACH

Input Data (Relatively Big) Preprocess w.r.t. Some Query Encoding (Hope: much smaller) Auxiliary Data Structures: (Should be smaller still) DÉJÀ VU: THE ENCODING APPROACH

Succinct Data Structure: Minimum Space Possible Encoding (Hope: much smaller) Auxiliary Data Structures: (Should be smaller still) Input Data (Relatively Big) Preprocess w.r.t. Some Query DÉJÀ VU: THE ENCODING APPROACH

Succinct Data Structure: Minimum Space Possible Encoding (Hope: much smaller) Auxiliary Data Structures: (Should be smaller still) Query (Hope: as fast as non- succinct counterpart) Input Data (Relatively Big) Preprocess w.r.t. Some Query DÉJÀ VU: THE ENCODING APPROACH

NEAREST LARGER VALUES

OVERVIEW: ENCODING NLV For all these results: space bound is optimal to within lower order terms DistinctProblemSpaceQNotes Yes Unidirectional Cartesian Tree Bidirectional Cartesian Tree Nondirectional NoUnidirectional [Fischer et al. 2009] Cartesian Tree Bidirectional [Fischer 2011] Schröder Trees (Navigate CSA) Nondirectional

OVERVIEW: ENCODING NLV DistinctProblemSpaceQNotes Yes Unidirectional Cartesian Tree Bidirectional Cartesian Tree NondirectionalThis paper: NLV Tree NoUnidirectional [Fischer et al. 2009] Cartesian Tree Bidirectional [Fischer 2011] Schröder Trees (Navigate CSA) Nondirectional

BIGGER PICTURE

CARTESIAN TREES REVIEW We can rebuild him. We have the technology.

NONDIRECTIONAL NLV TREE Tie breaking rule: break ties to by choosing the one to the right.

TIEBREAKING MATTERS? Rule To the right To the smaller To the larger

IDEA: COMPRESS RUNS

DIGRESSION: PATH (OR CHAIN) COMPRESSION Degree two Degree one Terminal Subtree

COMPRESSING CARTESIAN TREES W.R.T. NLVS Forget about whether it zigs or zags, just store # in prefix…

THE ENCODING

SUB-OPTIMALITY EXAMPLES

LOWER BOUND SKETCH

CONCLUSIONS AND OPEN PROBLEMS

THANK YOU