1 / 18

(Data) STRUCTURES

(Data) STRUCTURES. Mihai P ătra ș cu. LSD. reachability oracles in the butterfly. partial match. (1+ ε )-ANN ℓ 1 , ℓ 2. NN in ℓ 1 , ℓ 2. dyn. marked ancestor. 3-ANN in ℓ ∞. 2D stabbing. worst-case union-find. dyn. trees, graphs. 4D reporting. 2D counting. dyn. 1D stabbing.

tess
Download Presentation

(Data) STRUCTURES

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. (Data) STRUCTURES Mihai Pătrașcu

  2. LSD reachability oracles in the butterfly partial match (1+ε)-ANN ℓ1, ℓ2 NN in ℓ1, ℓ2 dyn. marked ancestor 3-ANN in ℓ∞ 2D stabbing worst-case union-find dyn. trees, graphs 4D reporting 2D counting dyn. 1D stabbing partial sums dyn. 2D reporting dyn. NN in 2D

  3. LSD reachability oracles in the butterfly partial match (1+ε)-ANN ℓ1, ℓ2 NN in ℓ1, ℓ2 dyn. marked ancestor 3-ANN in ℓ∞ 2D stabbing worst-case union-find dyn. trees, graphs 4D reporting 2D counting dyn. 1D stabbing better bound partial sums dyn. 2D reporting simpler, same bound dyn. NN in 2D simpler, loses lglgn

  4. How Hard is Range Reporting? Static, 2D: O(lglgn) [Alstrup, Brodal, Rauhe FOCS’00] • SELECT * FROM employees • WHERE salary <= 70000 • AND startdate <= 1998 Dynamic, 2D: Ω(lgn / lglgn) [Alstrup,Husfeldt, Rauhe FOCS’98] 71000 70000 69000 68000

  5. How Hard is Range Reporting? Static, 2D: O(lglgn) [Alstrup, Brodal, Rauhe FOCS’00] Dynamic, 2D: Ω(lgn / lglgn) [Alstrup,Husfeldt, Rauhe FOCS’98] Marked Ancestor: * mark(v) / unmark(v) * query(v): ∃? marked ancestor Dyn. 1D Stabbing: * insert/delete segment * query(x): does x stab a segment? Dyn. 2D Range Reporting

  6. How Hard is Range Reporting? • Static, 2D: O(lglgn) • [Alstrup, Brodal, Rauhe FOCS’00] • Dynamic, 2D: Ω(lgn / lglgn) • [Alstrup,Husfeldt, Rauhe FOCS’98] • Static 3D ≈ Dynamic 2D ?

  7. Persistence Persistent : { static data struct. }⟼{ dynamic data struct. } Given problem ℙ with updateℙ(x), queryℙ(y) Persistent(ℙ) = the problem “preprocess (x1, x2, …, xN)to answer: query(y, t): answer queryℙ(y) after updateℙ(x1), …, updateℙ(xt)” Persistent(incremental 2D range reporting) = static 3D range reporting

  8. How Hard is Range Reporting? Static, 2D: O(lglgn) [Alstrup, Brodal, Rauhe FOCS’00] Dynamic, 2D: Ω(lgn / lglgn) [Alstrup,Husfeldt, Rauhe FOCS’98] Static 3D = Persistent(Dynamic 2D) But: Persistent(Marked Ancestor) has O(1) solution… [Nekrich SoCG’07] static 3D in O(lg2lg n)…

  9. How Could 4D be Hard? update(y) v0 Fully-persistent data structures: FullyPersistent(Marked Ancestor) ≤ Static 2D Stabbing ≤ Static 4D Reporting v1 v2 v5 v3 v4 v7 v6 query(y)?

  10. FullyPersistent(Marked Ancestor)

  11. FullyPersistent(Marked Ancestor)

  12. FullyPersistent(Marked Ancestor) “reachability oracles”

  13. Lopsided Set Disjointness Review: Communication Complexity set S set T “is S ∩ T = ∅ ?”

  14. LSD Lower Bounds May assume universe is of size 2T … split in blocks of size B=2T/S Say Alice sends εS∙lg B bits ⇒ in average block, Alice’s value is uncertain in a set of B1-ε’ ⇒ Bob must identify his elements in uncertainty sets, sending Ω(S∙B1-ε’) bits

  15. LSD ➙ Reachability Oracles

  16. LSD ➙ Reachability Oracles T = { } = deleted edges

  17. LSD ➙ Reachability Oracles T = { } = deleted edges S = { } = one out-edge / node

  18. The End LSD reachability oracles in the butterfly partial match (1+ε)-ANN ℓ1, ℓ2 NN in ℓ1, ℓ2 dyn. marked ancestor 3-ANN in ℓ∞ 2D stabbing worst-case union-find dyn. trees, graphs 4D reporting 2D counting dyn. 1D stabbing partial sums dyn. 2D reporting dyn. NN in 2D

More Related