DOC PREVIEW
USC CSCI 599 - Cs599_Voronoi_ugur

This preview shows page 1 out of 4 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Voronoi-Based K Nearest Neighbor Search for Spatial Network Databases1VoronoiVoronoi--Based K Nearest Based K Nearest Neighbor Search for Spatial Neighbor Search for Spatial Network DatabasesNetwork Databases1Ugur DemiryurekMohammad R. Kolahdouzan & Cyrus ShahabiUniversity of Southern CaliforniaDept. of Computer ScienceLos Angeles, CA [email protected]://infolab.usc.eduAgenda Problem Definition Related WorkVoronoi Diagrams2Voronoi Diagrams  Voronoi Based Network Nearest Neighbor (VN3) Experiments DiscussionProblem DefinitionkNN Problem:Given a set of objects Pand query point q, find h k bj i Ph 33the k objects in Pthat are closest to qqRelated WorkSpatial DatabasekNN Query Processing49 NN Query: Roussopoulos et al., SIMGOD 1995 9 K-NN for moving query point: Zong et al., SSTD 20019 Time-parameterized queries : Tao et al., SIMGOD 20029 Continuous NN Search: Tao et al,. VLDB 2002Euclidean Space Road NetworksObject BasedRelated WorkSpatial DatabasekNN Query Processing59 Sina-Continuous querying: Mokbel et al., SIGMOD 20049 Sea-CNN queries: Xiong et al., ICDE 2005 9 Monitoring kNN on moving objects: Yu et al., ICDE 20059 Conceptual partitioning: Mouratidis et al., SIGMOD 2005Euclidean Space Road NetworksSpace BasedExample 1:Finding the 3 closest shopping centers6Voronoi-Based K Nearest Neighbor Search for Spatial Network Databases2Example 2:Finding the 3 closest restaurants to USC with Yahoo7Related WorkSpatial DatabasekNN Query Processing89 Query processing in SNDB : Papadias et al., VLDB 20039 Voronoi-based kNN in SNDB: Shahabi et al., VLDB 2004Euclidean Space Road NetworksRelated WorkQuery processing in SNDB : Papadias et al., VLDB 2003Incremental Network Expension (INE) • Blind expansion hence redundant node access9Related WorkQuery processing in SNDB : Papadias et al., VLDB 2003 Incremental Network Expansion 10Preliminaries: Voronoi Diagram Given set of sites (POI), a Voronoi diagram partitions the plane into disjoint Voronoi polygons (cells), one for each site The region including a site p includes all locations q is closer to the generator of the Voronoi Polygon than any other generator11ggpwhich are closer to p than to any other object p’.Site (Generator)Voronoi Polygonany other generatorpqPreliminaries: Voronoi PropertiespVoronoi Polygon12 Property 1: Voronoi diagram is unique  Property 2: Voronoi edges are shared by two generators  in equal distance to neighboring generators  Property 3: Nearest generator of p is among the generators whose VP shares similar edges with p  Property 4: Average number of Voronoi edges per VP is at most 6Vornoi EdgeVoronoi-Based K Nearest Neighbor Search for Spatial Network Databases3Network Voronoi DiagramNodeBorder Point: equal network distance to adjacent generatorsp2p113NodeNetwork EdgeNetwork Voronoi Polygonp3VN3 Approach  Offline Index Generation1. Network Voronoi Construction2Index Generation (R-tree)142.Index Generation (Rtree)3. Distance Precomputation  Online Query Processing1. Find 1stNN2. Find k NN-> Filter & RefineOffline Step Compute Network Voronoi Polygons (NVP) Index NVPs with R-Tree  Precompute the intra (accross polygons) and inter (within polygons) network distances for each NVP1. Precompute the Shortest Path distance from each generator to its border point2. Precompute the Shortest Path between border points15P2P3P4P5P6P7P8P9P1b9P14P13P12P11P10b8b7b6b5b4b3b2b1b15b14b13b12b11b10b26b20b19b18b17b16b25b24b23b22b21b30b29b28b27b33b31b32b37b36b35b34b40b39b38n1n2n3b34P9dn (b34, P9)b35P9dn (b35, P9)b36P9dn (b36, P9)…………b1b2dn (b1, b2)b1b15dn (b1, b15)b1b13dn (b1, b13)…………Example: dn(q, P9) = min(dn(q,b34)+dn(b34,P9), dn(q,b35)+dn(b35,P9), dn(q,b36)+dn (b36,P9))qdn(q,b34)= min (dn(q,b1)+dn(b1,b34), dn(q,b2)+dn(b2,b34),..,dn(q,b8)+dn(b8,b34))Online Step Find 1stNN  Search R-Tree to find the NVP that overlaps q  Report the generator of the NVP as the 1stNN;Cost: O(logn)16P8P2P3P4P5P6P7P9P1b9P14P13P12P11P10b8b7b6b5b4b3b2b1b15b14b13b12b11b10b26b20b19b18b17b16b25b24b23b22b21b30b29b28b27b33b31b32b37b36b35b34b40b39b38n1n2n3qOnline Step Find k NN Æ Filter & Refine 1stNN = P1 2ndNN ∈ { Neighbors( P1) } (e.g., P3) 3rdNN ∈ { Neighbors( P1) ∪ Neighbors( P3) } (P)NOOOO! it is to much computation if you have many candidatesGOOD NEWS! In theory average # of neighbors= O(5k+1)=O(k)17P8P2P3P4P5P6P7P9P1P14P13P12P10b1q(e.g., P2)Performance of VN3 Data set: Road network in Los Angeles (from NavTeq) 110,000 streets, 79,800 intersections Different points of interest:18 restaurants, auto services, schools, parks, shopping centers, hospitals Measured: Query response time and CPU  Comparison with INE [Papadias et al. (vldb03)] Size of candidate set of VN3filter  Comparison with R-tree-based KNN [Seidl et al. (sigmod98) and Hjaltason et al. (tods99)]Voronoi-Based K Nearest Neighbor Search for Spatial Network Databases4VN3vs INEVN3 finds the 1stNN using R-TreeINE needs to expand the network around qCPU Time: INE uses a queue which is incrementally updated 19VN3: Performance of Filter StepRatioofsizeofcandidatesettoKdecreasesasK20Ratio of size of candidate set to K decreases as K increasesSome of the new neighbors are already explored! VN3’s filter behaves independently from the density/distribution of points of interest As k increases ratio of number of candidate decreases Some of the new neighbors are already explored!Conclusion A novel approach for KNN queries in SNDB Based on: Pre-calculating the solution space (first order Voronoi diagrams)21ooodaga s) Pre-computing some distances (from borders to points inside each polygon) Outperforms the only other solution for SNDB  Independent from object distribution  Outperforms the solutions for Euclidean spacein “filtering” Discussion What if the edge weights are changing? What if the both query and data objects are moving?22are moving?  What if you like to find the nearest hotel and gas station at the same


View Full Document

USC CSCI 599 - Cs599_Voronoi_ugur

Documents in this Course
Week8_1

Week8_1

22 pages

Week2_b

Week2_b

10 pages

LECT6BW

LECT6BW

20 pages

LECT6BW

LECT6BW

20 pages

5

5

44 pages

12

12

15 pages

16

16

20 pages

Nima

Nima

8 pages

Week1

Week1

38 pages

Week11_c

Week11_c

30 pages

afsin

afsin

5 pages

October5b

October5b

43 pages

Week11_2

Week11_2

20 pages

final

final

2 pages

c-4

c-4

12 pages

0420

0420

3 pages

Week9_b

Week9_b

20 pages

S7Kriegel

S7Kriegel

21 pages

Week4_2

Week4_2

16 pages

sandpres

sandpres

21 pages

Week6_1

Week6_1

20 pages

4

4

33 pages

Week10_c

Week10_c

13 pages

fft

fft

18 pages

LECT7BW

LECT7BW

19 pages

24

24

15 pages

14

14

35 pages

Week9_c

Week9_c

24 pages

Week11_67

Week11_67

22 pages

Week1

Week1

37 pages

LECT3BW

LECT3BW

28 pages

Week8_c2

Week8_c2

19 pages

Week5_1

Week5_1

19 pages

LECT5BW

LECT5BW

24 pages

Week10_b

Week10_b

16 pages

Week11_1

Week11_1

43 pages

Week7_2

Week7_2

15 pages

Week5_b

Week5_b

19 pages

Week11_a

Week11_a

29 pages

LECT14BW

LECT14BW

24 pages

T7kriegel

T7kriegel

21 pages

0413

0413

2 pages

3

3

23 pages

C2-TSE

C2-TSE

16 pages

10_19_99

10_19_99

12 pages

s1and2-v2

s1and2-v2

37 pages

Week10_3

Week10_3

23 pages

jalal

jalal

6 pages

1

1

25 pages

T3Querys

T3Querys

47 pages

CS17

CS17

15 pages

porkaew

porkaew

20 pages

LECT4BW

LECT4BW

21 pages

Week10_1

Week10_1

25 pages

wavelet

wavelet

17 pages

October5a

October5a

22 pages

p289-korn

p289-korn

12 pages

2

2

33 pages

rose

rose

36 pages

9_7_99

9_7_99

18 pages

Week10_2

Week10_2

28 pages

Week7_3

Week7_3

37 pages

Load more
Download Cs599_Voronoi_ugur
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Cs599_Voronoi_ugur and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Cs599_Voronoi_ugur 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?