Spatial Database. Ahmad Alhilal, Dimitris Tsaras

Size: px
Start display at page:

Download "Spatial Database. Ahmad Alhilal, Dimitris Tsaras"

Transcription

1 Spatial Database Ahmad Alhilal, Dimitris Tsaras

2 Content What is Spatial DB Modeling Spatial DB Spatial Queries The R-tree Range Query NN Query Aggregation Query RNN Query NN Queries with Validity Information 2

3 What is spatial database Spatial Relationships Spatial Data Types 1 Spatial Index 5. spatial Join aggregate NN RNN Road Network Satellite Image

4 SDBMS Definition A spatial database system: Is a database system A DBMS with additional capabilities for handling spatial data Offers spatial data types (SDTs) in its data model and query language Structure in space: e.g., POINT, LIN, RGION Relationships among them: (l intersects r) Supports SDT in its implementation providing at least spatial indexing (retrieving objects in particular area without scanning the whole space) efficient algorithms for spatial joins (not simply filtering the cartesian product)

5 Modeling: spatial primitives for objects Point: object represented only by its location in space, e.g. center of a state Line (actually a curve or polyline): representation of moving through or connections in space, e.g. road, river Region: representation of an extent in 2d-space, e.g. lake, city

6 Modeling: Coverages Partition: set of region objects that are required to be disjoint (adjacency or region objects with common boundaries), e.g. thematic maps Networks: embedded graph in plane consisting of set of points (vertices) and lines (edges) objects, e.g. highways, power supply lines, rivers

7 Modeling: a sample spatial type system (1) XT={lines, regions}, GO={points, lines, regions} Spatial predicates for topological relationships: inside: geo x regions bool intersect, meets: ext1 x ext2 bool adjacent, encloses: regions x regions bool Operations returning atomic spatial data types: intersection: lines x lines points intersection: regions x regions regions plus, minus: geo x geo geo contour: regions lines

8 Modeling: a sample spatial type system (2) Spatial operators returning numbers dist: geo1 x geo2 real perimeter, area: regions real Spatial operations on set of objects sum: set(obj) x (objgeo) geo A spatial aggregate function, geometric union of all attribute values, e.g. union of set of provinces determine the area of the country closest: set(obj) x (objgeo1) x geo2 set(obj) Determines within a set of objects those whose spatial attribute value has minimal distance from geometric query object Other complex operations: overlay, buffering,

9 Modeling: spatial relationships Topological relationships: e.g. adjacent, inside, disjoint. Direction relationships: e.g. above, below, or north_of, sothwest_of, Metric relationships: e.g. distance valid topological relationships between two simple regions : disjoint, in, touch, equal, cover, overlap

10 Modeling: SDBMS data model DBMS data model must be extended by SDTs at the level of atomic data types (such as integer, string), or better be open for user-defined types (OR-DBMS approach): relation states (sname: STRING; area: RGION; spop: INTGR) relation cities (cname: STRING; center: POINT; ext: RGION;cpop: INTGR); relation rivers (rname: STRING; route: LIN)

11 What is spatial database Spatial Relationships Spatial Data Types 1 Spatial Index 5. spatial Join aggregate NN RNN Road Network Satellite Image

12 Spatial Queries Range query (spatial selection, window query) e.g. find all cities that intersect window W Answer set: {c1, c2} Nearest neighbor query e.g. find the city closest to the forest F Answer: c2 Aggregate query (Count, Sum, AVG, MIN..) Spatial join e.g. find all pairs of cities and rivers that intersect Answer set: {(r1,c1), (r2,c2), (r2,c5)}

13 Spatial Queries: spatial selection Spatial selection: returning those objects satisfying a spatial predicate with the query object All cities in Ontario SLCT sname FROM cities c WHR c.center inside Ontario.area All rivers intersecting a query window SLCT * FROM rivers r WHR r.route intersects Window All big cities no more than 100 Kms from Toronto SLCT cname FROM cities c WHR dist(c.center, Toronto.center) < 100 and c.pop > 500k (conjunction with other predicates and query optimization)

14 Spatial Queries: spatial join Spatial join: A join which compares any two joined objects based on a predicate on their spatial attribute values. For each river pass through Ontario, find all cities within less than 50 Kms. SLCT r.rname, c.cname, length(intersection(r.route, c.area)) FROM rivers r, cities c WHR r.route intersects ontario.area and dist(r.route,c.area) < 50

15 Spatial Indexing: Operations Spatial data structures either store points or rectangles (for line or region values) Operations on those structures: insert, delete, member Query types for points: Range query: all points within a query rectangle Nearest neighbor: point closest to a query point Distance scan: enumerate points in increasing distance from a query point. Query types for rectangles Intersection query Containment query

16 R-Tree Motivation y axis m g h l e f k i j d b a c x axis Range query: find the objects in a given range..g. find all hotels in Boston. No index: scan through all objects. NOT FFICINT! 16

17 R-Tree: Clustering by Proximity y axis m g h l e f d b c 3 a x axis Root 1 2 k i j Minimum Bounding Rectangle (MBR) a b c d e f g h i j k 7 l m 17

18 R-Tree y axis m g h 6 e f 4 5 d b c 3 a i j 7 l k x axis Root a b c d e f g h i j k l m

19 R-Tree y axis m g h l k e f 2 i j d 1 b a c x axis Root a b c d e f g h i j k l m

20 R-Tree: Operation m node Utilization M Insertion : Overflow : split Deletion Underflow: re-insert Bulk load Sort objects (e.g., x-coordinates, Hilbert value) Insert sorted objects in nodes

21 Spatial Queries: spatial join Index-based Join The R-Tree Join (RJ) Cities Level 1 qualifying pairs: {(A1, B1), (A2, B2)} Level 0 qualifying pairs: {(a1, b1), (a2, b2)}

22 Range Query y axis m g h l e f k 2 i j d 1 b a c x axis Root a b c d e f g h i j k l m

23 Range Query y axis m g h l e f k 2 i j d 1 b a c x axis Root a b c d e f g h i j k l m

24 Content What is Spatial DB Modeling Spatial DB Spatial Queries The R-tree Range Query NN Query Aggregation Query RNN Query NN Queries with Validity Information 24

25 Nearest Neighbor (NN) Query Given a query location q, find the nearest object. a q.g.: given a hotel, find its nearest bar. 25

26 Metrics: MINDIST, MINMAXDIST MINDIST: Minimum distance between q and an MBR. 1 MINDIST q MINMAXDIST It is an lower bound of d(o, q) for every object o in 1. MINMAXDIST: compute max dist between q and each edge of 1, then take min. It is an upper bound of d(o, q) for every object o in 1. 26

27 Refinement Phase (Pruning) It prune the qualifying results based on three rules: Downward pruning: An MBR R is discarded if there exists another R such that MINDIST(q,R) > MINMAXDIST(q,R ) Downward pruning: An object O is discarded if there exists an R such that the Actual-Dist(q,O) > MINMAXDIST(q,R) Upward pruning: An MBR R is discarded if an object O is found such that the MINDIST(q,R) > ActualDist(q,O)

28 Pruning 1 in NN Query If we see an object o, prune every MBR whose MINDIST > d(o, q) q 2 o Side notice: at most one object in H! 28

29 Pruning 2 using MINMAXDIST Prune even before we see an object! Prune 1 if exists 2 s.t. MINDIST(q, 1 ) > MINMAXDIST(q, 2 ). 1 q 2 Object o in sub-tree of 2 s.t. d(o, q) MINMAXDIST(q, 2 ) MINMAXDIST: compute max dist between q and each edge of 2, then take min. 29

30 Depth-First (DF) NN Algorithm

31 Depth-First (DF) NN Algorithm

32 Depth-First (DF) NN Algorithm

33 Depth-First (DF) NN Algorithm

34 Depth-First (DF) NN Algorithm

35 Best-First NN Algorithm Keep a heap H of index entries and objects, ordered by MINDIST. Initially, H contains the root. While H xtract the element with minimum MINDIST If it is an index entry, insert its children into H. If it is an object, return it as NN. nd while 1 q 35

36 Best-First NN Algorithm y axis e b f g h d 3 a m 2 6 i query j k 7 l Action Visit Root Heap c x axis Root a b c d e f g i j h k l m

37 Best-First NN Algorithm y axis e b f g h d 3 a m 2 6 i query j k 7 l Action Visit Root follow 1 Heap c x axis Root a b c d e f g i j h k l m

38 Best-First NN Algorithm y axis e b f g h d 3 a m 2 6 i query j k 7 l Action Visit Root follow 1 follow 2 Heap c x axis Root a b c d e f g i j h k l m

39 Best-First NN Algorithm y axis e b f d g 3 h a 2 6 i query m j k 7 l Action Visit Root follow 1 follow 2 follow 6 Heap i j k 13 2 c x axis Root a b c d e f g i j h k l m

40 Best-First NN Algorithm y axis e b f d g 3 h a 2 6 i query m j k 7 l Action Visit Root follow 1 follow 2 follow 6 Heap i j k 13 2 c Report i and terminate x axis Root a b c d e f g i j h k l m

41 Discussion NN Queries Both DF and BF can be easily adapted to I. extended (instead of point) objects II. retrieval of k (>1) NN. BF is incremental; i.e., it can report the NN in increasing order of distance without a given value of k.

42 Aggregation Query Given a range, find some aggregate value of objects in this range. Distributive: COUNT, SUM, MIN, MAX.g. find the total number of hotels in HK. Algebraic: AVG Holistic: Median Straightforward approach: reduce to a range query. Better approach: along with each index entry, store aggregate of the sub-tree 42

43 Aggregation Query: COUNT y axis e b c f d g h 1 a i x axis Root :8 1 :5 2 m j k l 2 The Aggregate R-Tree ar-tree 1 :3 3 :2 4 :3 5 :3 6 :2 7 2 a b c d e f g h i j k l m

44 Aggregation Query: COUNT Subtree pruned! y axis e b c f d g h 1 a i x axis Root :8 1 :5 2 m j k l 2 1 :3 3 :2 4 :3 5 :3 6 :2 7 2 a b c d e f g h i j k l m

45 Aggregation Query: COUNT y axis e b c f d g h 1 a i x axis Root :8 1 :5 2 m j k l 2 Partially Intersects q Window 1 :3 3 :2 4 :3 5 :3 6 :2 7 2 a b c d e f g h i j k l m

46 Minimum Aggregate Distance Given a set P of data points and a set Q of query points, an aggregate NN query returns the data point p with the minimum aggregate distance. The aggregate distance between a data point p and Q={q 1,.., q n } is defined as adist(p,q) = f( pq 1,, pq n ), where pq i is the uclidean distance of p and q i. We use f=sum in the examples. p 1 p 6 f=sum p 1 f= max p 6 p 2 p 3 p 4 p 5 q 4 p 2 p 3 p 4 p 5 q 4 8 q 1 5 q p 10 p 11 q 1 q p 10 p 11 p 8 p 9 4 p 12 p 8 p 9 6 p 12 p 7 q 3 p 7 q 3 46

47 Multiple Query Method (MQM) Idea based on the threshold algorithm for top-k queries: Perform incremental NN queries for each point in Q and combine their results. <p 10, 7>, <p 11, 6>, Threshold T=5 (2+3) very non-yet visited point must have distance T=5 Since the best candidate found p 11 has distance > T we must continue search p 1 p 2 p 3 p 4 N 4 N 3 N 1 1 st NN of q 1 p 5 p 6 q 2 q p11 p 10 N 6 1 st NN of q 2 p 9 p N 8 2 N 5 p 7 p 12 47

48 Multiple Query Method (MQM) Idea based on the threshold algorithm for top-k queries: Perform incremental NN queries for each point in Q and combine their results. We find p 11 again, this time as the second NN of q 1 The value of the threshold is updated to T=6 We already have a candidate with distance equal to T=6 Search terminates p 1 p 2 p 3 p 4 N 4 N 3 N 1 1 st NN of q 1 p 5 p 6 q 1 q 2 3 p11 p 10 N nd NN of q 1 p 9 p N 8 2 N 5 p 7 p 12 48

49 Minimum Bounding Method (MBM) MQM applies multiple NN queries and may visit the same node and data point multiple times MBM Applies the MBR of Q to prune the search space with a single (DF or BF) traversal, using heuristics to prune the search space Heuristic 1: Let M be the MBR of Q, and best_dist be the distance of the best points found so far. A node N cannot contain qualifying points, if: best_dist mindist( N, M ) n Heuristic 2: A node N cannot contain qualifying points, if: q Q i mindist( N, q ) q 1 i best_dist mindist(n 2,q 1 )=5 mindist(n 1,M)=3 M 3 2 N 1 best_nn best_distance=5 q 2 N 2 mindist(n 2,M)= mindist(n 2,q 2 )=1 49

50 Content What is Spatial DB Modeling Spatial DB Spatial Queries The R-tree Range Query NN Queries Aggregation Query RNN Query NN Queries with Validity Information 50

51 Reverse NN Queries Monochromatic: given a multi-dimensional dataset P and a point q, find all the points p P that have q as their nearest neighbor Bichromatic: given a set Q of queries and a query point q, find the objects p P that are closer to q than any other point of Q.g. I want to open a hotel such that it is the NN for the most tourist sights p 1 q p 3 p 4 RNN(q)=p 1, p 2 p 2 NN(q)= p 3 51

52 KM Algorithm (for static datasets) Find the NN of every data point p- let the vicinity circle (p, dist(p,nn(p))) centered at p with radius equal to the uclidean distance between p and its NN. Index the MBRs of all circles with an R-tree, called the RNN-tree The reverse nearest neighbors of q are retrieved by a point location query on the RNN-tree, which returns all circles that contain q. p 3 p 4 p 1 p 2 p 3 q p 4 p 1 p 2 52

53 SAA Algorithm (supports updates) Divide the space around the query q into six equal regions S 1 to S 6. Find the NN p i of q in each region S i Find the NN of each p i if distance(p i, NN(p i )) < distance(p i, q) there is no RNN of q in S i otherwise, the only RNN of q in S i is p i. S 1 S 2 S 3 p 2 p 60 o 1 p 3 p 6 p 4 60 o q p 5 S 4 S 1 S 2 S 3 p 2 p 60 o 1 p 3 p 6 p 4 60 o q p 5 S 4 S 6 S 5 p 7 S 6 S 5 p 7 53

54 TPL Algorithm (supports updates, >2 dimensions, k-rnn) Filter-refinement approach Find the set S cnd of candidate points Find neighbors of the query point q incrementally very new neighbor prunes the search space Continue until the entire space is pruned Keep all the pruned points and nodes in a set S rfn Refinement step: eliminate false positives from S cnd First NN N 1 p' p1 N 2 p1 ^(p, q) perpendicular bisector q ^( p 1, q ) q ^( p 2, q) p2 Second NN 54

55 xample of TPL N 11 N 6 p 6 p 8 N 4 p 4 contents omitted N 12 data R-tree N 10 N 11 N 12 N 5 p 2 N 1 N 2 N 3 N 4 N 5 N 6 N 2 p 3 N 3 p 1 N 10 q p 5 p 7 p 1 p 3 p 2 p 6 p 4 p 8... p 7 N 1 contents omitted p 5 55

56 Filter Step Visit Root N 11 N 6 p 6 p 8 N 4 p 4 contents omitted N 12 data R-tree N 10 N 11 N 12 N 5 p 2 N 1 N 2 N 3 N 4 N 5 N 6 N 2 p 3 N 3 p 1 N 10 q p 5 p 7 p 1 p 3 p 2 p 6 p 4 p 8... p 7 N 1 contents omitted p 5 Action Heap S cnd S rfn visit } ro {N 10 11,N 12 56

57 N 11 N 6 p 6 p 8 N 4 p 4 Filter Step Visit N 10 contents omitted N 12 data R-tree N 10 N 11 N 12 N 5 p 2 N 1 N 2 N 3 N 4 N 5 N 6 N 2 p 3 N 3 p 1 N 10 q p 5 p 7 p 1 p 3 p 2 p 6 p 4 p 8... p 7 N 1 contents omitted p 5 Action Heap S cnd S rfn visit N 10 {N 3 11,N } 57

58 N 11 N 6 p 6 p 8 N 4 p 4 Filter Step Visit N 3 contents omitted N 12 data R-tree N 10 N 11 N 12 N 5 p 2 N 1 N 2 N 3 N 4 N 5 N 6 N 2 p 3 N 3 p 1 N 10 q p 5 p 7 p 1 p 3 p 2 p 6 p 4 p 8... p 7 N 1 contents omitted p 5 Action Heap S cnd S rfn visit N 3 {N 11,N }{p 1 }{p 3 } 58

59 Filter Step Visit N 11 N 11 N 6 p 6 N 4 contents omitted N 12 data R-tree N 10 N 11 N 12 N 5 p 2 N 1 N 2 N 3 N 4 N 5 N 6 N 2 p 3 N 3 p 1 N 10 q p 5 p 7 p 1 p 3 p 2 p 6 p 4 p 8... p 7 N 1 contents omitted p 5 Action Heap S cnd S rfn visit N 11 {N 5,N 2,N 1,N 12 } {p 1 } { p 3,N 4,N 6 } 59

60 Filter Step Visit N 5 N 11 N 6 p 6 N 4 contents omitted N 12 data R-tree N 10 N 11 N 12 N 5 p 2 N 1 N 2 N 3 N 4 N 5 N 6 N 2 p 3 N 3 p 1 N 10 q p 5 p 7 p 1 p 3 p 2 p 6 p 4 p 8... p 7 N 1 contents omitted p 5 Action Heap S cnd S rfn v isit N 5 { N 2, N 1, N 12 } { p 1, p 2 } { p 3, N 4, N 6,p 6 } 60

61 Filter Step Visit N 1 N 11 N 6 p 6 N 4 contents omitted N 12 data R-tree N 10 N 11 N 12 N 5 p 2 N 1 N 2 N 3 N 4 N 5 N 6 N 2 p 3 N 3 p 1 N 10 q p 5 p 7 p 1 p 3 p 2 p 6 p 4 p 8... p 7 N 1 contents omitted p 5 Action Heap S cnd S rfn v isit N 1 { N 12 } { p 1, p 2, p 5 } { p 3, N 4, N 6,p 6, N 2,p 7 } 61

62 xample (end of filter step) N 11 N 6 p 6 N 4 contents omitted N 12 data R-tree N 10 N 11 N 12 N 5 p 2 N 1 N 2 N 3 N 4 N 5 N 6 N 2 p 3 N 3 p 1 N 10 q p 5 p 7 p 1 p 3 p 2 p 6 p 4 p 8... p 7 N 1 contents omitted p 5 Action Heap S cnd S rfn { p 1, p 2, p 5 } { p 3, N 4, N 6, p 6, N 2, p 7, N 12 } 62

63 Refinement Step Nodes outside the cicrles centered at the candidates can be discarded p 3 invalidates candidate p 1 In order to verify candidate p 2 we need to visit N 4 p 5 is an actual RNN N 2 p 3 N 3 N 11 p 6 N 5 p 1 N 6 N 4 q p 2 contents omitted N 12 Other Work: Bichromatic RNN, Stanoi et al., VLDB 2001 Road Networks, Yiu et al., TKD 2006 Metric Spaces, Tao et al., TKD 2006 Continuous RNN., Benetis et al., VLDBJ 2006 p 7 N 1 N 10 p 5 63

64 Chapter 5. NN Queries with Validity Information The result of conventional NN queries may be invalidated as soon as the query or some data object(s) move Goal: To return some additional information that determines the validity of the current result The validity region is such that the NN set remains the same as long as q remains in the region. The validity region of a NN query q is the Voronoi Cell of the NN o. 64

65 Validity Time Settings: Static Objects, Moving Query. Client/server architecture A central server indexes the Voronoi diagram of the objects Given a query, the server returns the current NN and the validity time of the result. The current NN is the object whose Voronoi cell covers the query point Restrictions: (i) assumes a maximum speed (ii) applicable only to single NN (iii) and static objects. o q a Voronoi cell of point o 65

Nearest Neighbor Search in Spatial

Nearest Neighbor Search in Spatial Nearest Neighbor Search in Spatial and Spatiotemporal Databases 1 Content 1. Conventional NN Queries 2. Reverse NN Queries 3. Aggregate NN Queries 4. NN Queries with Validity Information 5. Continuous

More information

Nearest Neighbor Search with Keywords

Nearest Neighbor Search with Keywords Nearest Neighbor Search with Keywords Yufei Tao KAIST June 3, 2013 In recent years, many search engines have started to support queries that combine keyword search with geography-related predicates (e.g.,

More information

Skylines. Yufei Tao. ITEE University of Queensland. INFS4205/7205, Uni of Queensland

Skylines. Yufei Tao. ITEE University of Queensland. INFS4205/7205, Uni of Queensland Yufei Tao ITEE University of Queensland Today we will discuss problems closely related to the topic of multi-criteria optimization, where one aims to identify objects that strike a good balance often optimal

More information

Nearest Neighbor Search with Keywords in Spatial Databases

Nearest Neighbor Search with Keywords in Spatial Databases 776 Nearest Neighbor Search with Keywords in Spatial Databases 1 Sphurti S. Sao, 2 Dr. Rahila Sheikh 1 M. Tech Student IV Sem, Dept of CSE, RCERT Chandrapur, MH, India 2 Head of Department, Dept of CSE,

More information

Carnegie Mellon Univ. Dept. of Computer Science Database Applications. SAMs - Detailed outline. Spatial Access Methods - problem

Carnegie Mellon Univ. Dept. of Computer Science Database Applications. SAMs - Detailed outline. Spatial Access Methods - problem Carnegie Mellon Univ. Dept. of Computer Science 15-415 - Database Applications Lecture #26: Spatial Databases (R&G ch. 28) SAMs - Detailed outline spatial access methods problem dfn R-trees Faloutsos 2

More information

SPATIAL DATA MINING. Ms. S. Malathi, Lecturer in Computer Applications, KGiSL - IIM

SPATIAL DATA MINING. Ms. S. Malathi, Lecturer in Computer Applications, KGiSL - IIM SPATIAL DATA MINING Ms. S. Malathi, Lecturer in Computer Applications, KGiSL - IIM INTRODUCTION The main difference between data mining in relational DBS and in spatial DBS is that attributes of the neighbors

More information

Wolf-Tilo Balke Silviu Homoceanu Institut für Informationssysteme Technische Universität Braunschweig

Wolf-Tilo Balke Silviu Homoceanu Institut für Informationssysteme Technische Universität Braunschweig Multimedia Databases Wolf-Tilo Balke Silviu Homoceanu Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de 13 Indexes for Multimedia Data 13 Indexes for Multimedia

More information

Multimedia Databases 1/29/ Indexes for Multimedia Data Indexes for Multimedia Data Indexes for Multimedia Data

Multimedia Databases 1/29/ Indexes for Multimedia Data Indexes for Multimedia Data Indexes for Multimedia Data 1/29/2010 13 Indexes for Multimedia Data 13 Indexes for Multimedia Data 13.1 R-Trees Multimedia Databases Wolf-Tilo Balke Silviu Homoceanu Institut für Informationssysteme Technische Universität Braunschweig

More information

5 Spatial Access Methods

5 Spatial Access Methods 5 Spatial Access Methods 5.1 Quadtree 5.2 R-tree 5.3 K-d tree 5.4 BSP tree 3 27 A 17 5 G E 4 7 13 28 B 26 11 J 29 18 K 5.5 Grid file 9 31 8 17 24 28 5.6 Summary D C 21 22 F 15 23 H Spatial Databases and

More information

Geometric Algorithms in GIS

Geometric Algorithms in GIS Geometric Algorithms in GIS GIS Software Dr. M. Gavrilova GIS System What is a GIS system? A system containing spatially referenced data that can be analyzed and converted to new information for a specific

More information

Multi-Dimensional Top-k Dominating Queries

Multi-Dimensional Top-k Dominating Queries Noname manuscript No. (will be inserted by the editor) Multi-Dimensional Top-k Dominating Queries Man Lung Yiu Nikos Mamoulis Abstract The top-k dominating query returns k data objects which dominate the

More information

5 Spatial Access Methods

5 Spatial Access Methods 5 Spatial Access Methods 5.1 Quadtree 5.2 R-tree 5.3 K-d tree 5.4 BSP tree 3 27 A 17 5 G E 4 7 13 28 B 26 11 J 29 18 K 5.5 Grid file 9 31 8 17 24 28 5.6 Summary D C 21 22 F 15 23 H Spatial Databases and

More information

Pavel Zezula, Giuseppe Amato,

Pavel Zezula, Giuseppe Amato, SIMILARITY SEARCH The Metric Space Approach Pavel Zezula Giuseppe Amato Vlastislav Dohnal Michal Batko Table of Content Part I: Metric searching in a nutshell Foundations of metric space searching Survey

More information

Monochromatic and Bichromatic Reverse Skyline Search over Uncertain Databases

Monochromatic and Bichromatic Reverse Skyline Search over Uncertain Databases Monochromatic and Bichromatic Reverse Skyline Search over Uncertain Databases Xiang Lian and Lei Chen Department of Computer Science and Engineering Hong Kong University of Science and Technology Clear

More information

arxiv: v2 [cs.db] 5 May 2011

arxiv: v2 [cs.db] 5 May 2011 Inverse Queries For Multidimensional Spaces Thomas Bernecker 1, Tobias Emrich 1, Hans-Peter Kriegel 1, Nikos Mamoulis 2, Matthias Renz 1, Shiming Zhang 2, and Andreas Züfle 1 arxiv:113.172v2 [cs.db] May

More information

Query Processing in Spatial Network Databases

Query Processing in Spatial Network Databases Temporal and Spatial Data Management Fall 0 Query Processing in Spatial Network Databases SL06 Spatial network databases Shortest Path Incremental Euclidean Restriction Incremental Network Expansion Spatial

More information

Tailored Bregman Ball Trees for Effective Nearest Neighbors

Tailored Bregman Ball Trees for Effective Nearest Neighbors Tailored Bregman Ball Trees for Effective Nearest Neighbors Frank Nielsen 1 Paolo Piro 2 Michel Barlaud 2 1 Ecole Polytechnique, LIX, Palaiseau, France 2 CNRS / University of Nice-Sophia Antipolis, Sophia

More information

Evaluation of Probabilistic Queries over Imprecise Data in Constantly-Evolving Environments

Evaluation of Probabilistic Queries over Imprecise Data in Constantly-Evolving Environments Evaluation of Probabilistic Queries over Imprecise Data in Constantly-Evolving Environments Reynold Cheng, Dmitri V. Kalashnikov Sunil Prabhakar The Hong Kong Polytechnic University, Hung Hom, Kowloon,

More information

THE AREA CODE TREE FOR APPROXIMATE NEAREST NEIGHBOUR SEARCH IN DENSE POINT SETS. FATEMA RAHMAN Bachelor of Science, Jahangirnagar University, 2007

THE AREA CODE TREE FOR APPROXIMATE NEAREST NEIGHBOUR SEARCH IN DENSE POINT SETS. FATEMA RAHMAN Bachelor of Science, Jahangirnagar University, 2007 THE AREA CODE TREE FOR APPROXIMATE NEAREST NEIGHBOUR SEARCH IN DENSE POINT SETS FATEMA RAHMAN Bachelor of Science, Jahangirnagar University, 2007 A Thesis Submitted to the School of Graduate Studies of

More information

GEOGRAPHY 350/550 Final Exam Fall 2005 NAME:

GEOGRAPHY 350/550 Final Exam Fall 2005 NAME: 1) A GIS data model using an array of cells to store spatial data is termed: a) Topology b) Vector c) Object d) Raster 2) Metadata a) Usually includes map projection, scale, data types and origin, resolution

More information

Cost models for distance joins queries using R-trees

Cost models for distance joins queries using R-trees Data & Knowledge Engineering xxx (2005) xxx xxx www.elsevier.com/locate/datak Cost models for distance joins queries using R-trees Antonio Corral a, Yannis Manolopoulos b, *, Yannis Theodoridis c, Michael

More information

SPATIAL INDEXING. Vaibhav Bajpai

SPATIAL INDEXING. Vaibhav Bajpai SPATIAL INDEXING Vaibhav Bajpai Contents Overview Problem with B+ Trees in Spatial Domain Requirements from a Spatial Indexing Structure Approaches SQL/MM Standard Current Issues Overview What is a Spatial

More information

Outline for today. Information Retrieval. Cosine similarity between query and document. tf-idf weighting

Outline for today. Information Retrieval. Cosine similarity between query and document. tf-idf weighting Outline for today Information Retrieval Efficient Scoring and Ranking Recap on ranked retrieval Jörg Tiedemann jorg.tiedemann@lingfil.uu.se Department of Linguistics and Philology Uppsala University Efficient

More information

SEARCHING THROUGH SPATIAL RELATIONSHIPS USING THE 2DR-TREE

SEARCHING THROUGH SPATIAL RELATIONSHIPS USING THE 2DR-TREE SEARCHING THROUGH SPATIAL RELATIONSHIPS USING THE DR-TREE Wendy Osborn Department of Mathematics and Computer Science University of Lethbridge 0 University Drive W Lethbridge, Alberta, Canada email: wendy.osborn@uleth.ca

More information

Database Systems SQL. A.R. Hurson 323 CS Building

Database Systems SQL. A.R. Hurson 323 CS Building SQL A.R. Hurson 323 CS Building Structured Query Language (SQL) The SQL language has the following features as well: Embedded and Dynamic facilities to allow SQL code to be called from a host language

More information

Exploring Spatial Relationships for Knowledge Discovery in Spatial Data

Exploring Spatial Relationships for Knowledge Discovery in Spatial Data 2009 International Conference on Computer Engineering and Applications IPCSIT vol.2 (2011) (2011) IACSIT Press, Singapore Exploring Spatial Relationships for Knowledge Discovery in Spatial Norazwin Buang

More information

Correlated subqueries. Query Optimization. Magic decorrelation. COUNT bug. Magic example (slide 2) Magic example (slide 1)

Correlated subqueries. Query Optimization. Magic decorrelation. COUNT bug. Magic example (slide 2) Magic example (slide 1) Correlated subqueries Query Optimization CPS Advanced Database Systems SELECT CID FROM Course Executing correlated subquery is expensive The subquery is evaluated once for every CPS course Decorrelate!

More information

Multiple-Site Distributed Spatial Query Optimization using Spatial Semijoins

Multiple-Site Distributed Spatial Query Optimization using Spatial Semijoins 11 Multiple-Site Distributed Spatial Query Optimization using Spatial Semijoins Wendy OSBORN a, 1 and Saad ZAAMOUT a a Department of Mathematics and Computer Science, University of Lethbridge, Lethbridge,

More information

Efficient Continuously Moving Top-K Spatial Keyword Query Processing

Efficient Continuously Moving Top-K Spatial Keyword Query Processing Efficient Continuously Moving Top-K Spatial Keyword Query Processing Dingming Wu Man Lung Yiu 2 Christian S. Jensen 3 Gao Cong 4 Department of Computer Science, Aalborg University, Denmark, dingming@cs.aau.dk

More information

Overview key concepts and terms (based on the textbook Chang 2006 and the practical manual)

Overview key concepts and terms (based on the textbook Chang 2006 and the practical manual) Introduction Geo-information Science (GRS-10306) Overview key concepts and terms (based on the textbook 2006 and the practical manual) Introduction Chapter 1 Geographic information system (GIS) Geographically

More information

P Q1 Q2 Q3 Q4 Q5 Tot (60) (20) (20) (20) (60) (20) (200) You are allotted a maximum of 4 hours to complete this exam.

P Q1 Q2 Q3 Q4 Q5 Tot (60) (20) (20) (20) (60) (20) (200) You are allotted a maximum of 4 hours to complete this exam. Exam INFO-H-417 Database System Architecture 13 January 2014 Name: ULB Student ID: P Q1 Q2 Q3 Q4 Q5 Tot (60 (20 (20 (20 (60 (20 (200 Exam modalities You are allotted a maximum of 4 hours to complete this

More information

CSE 417T: Introduction to Machine Learning. Final Review. Henry Chai 12/4/18

CSE 417T: Introduction to Machine Learning. Final Review. Henry Chai 12/4/18 CSE 417T: Introduction to Machine Learning Final Review Henry Chai 12/4/18 Overfitting Overfitting is fitting the training data more than is warranted Fitting noise rather than signal 2 Estimating! "#$

More information

GIS CONCEPTS ARCGIS METHODS AND. 2 nd Edition, July David M. Theobald, Ph.D. Natural Resource Ecology Laboratory Colorado State University

GIS CONCEPTS ARCGIS METHODS AND. 2 nd Edition, July David M. Theobald, Ph.D. Natural Resource Ecology Laboratory Colorado State University GIS CONCEPTS AND ARCGIS METHODS 2 nd Edition, July 2005 David M. Theobald, Ph.D. Natural Resource Ecology Laboratory Colorado State University Copyright Copyright 2005 by David M. Theobald. All rights

More information

Spatial analysis in XML/GML/SVG based WebGIS

Spatial analysis in XML/GML/SVG based WebGIS Spatial analysis in XML/GML/SVG based WebGIS Haosheng Huang, Yan Li huang@cartography.tuwien.ac.at and yanli@scnu.edu.cn Research Group Cartography, Vienna University of Technology Spatial Information

More information

Location-Based R-Tree and Grid-Index for Nearest Neighbor Query Processing

Location-Based R-Tree and Grid-Index for Nearest Neighbor Query Processing ISBN 978-93-84468-20-0 Proceedings of 2015 International Conference on Future Computational Technologies (ICFCT'2015) Singapore, March 29-30, 2015, pp. 136-142 Location-Based R-Tree and Grid-Index for

More information

43400 Serdang Selangor, Malaysia Serdang Selangor, Malaysia 4

43400 Serdang Selangor, Malaysia Serdang Selangor, Malaysia 4 An Extended ID3 Decision Tree Algorithm for Spatial Data Imas Sukaesih Sitanggang # 1, Razali Yaakob #2, Norwati Mustapha #3, Ahmad Ainuddin B Nuruddin *4 # Faculty of Computer Science and Information

More information

An Interactive Framework for Spatial Joins: A Statistical Approach to Data Analysis in GIS

An Interactive Framework for Spatial Joins: A Statistical Approach to Data Analysis in GIS An Interactive Framework for Spatial Joins: A Statistical Approach to Data Analysis in GIS Shayma Alkobaisi Faculty of Information Technology United Arab Emirates University shayma.alkobaisi@uaeu.ac.ae

More information

SuperGIS Server 3.3 Functionality Matrix

SuperGIS Server 3.3 Functionality Matrix Functionality Matrix Apr 2017 Functionality Matrix SuperGIS Server, a comprehensive and server-based GIS, is designed for the organizations to create, manage, integrate and distribute a variety of GIS

More information

You are here! Query Processor. Recovery. Discussed here: DBMS. Task 3 is often called algebraic (or re-write) query optimization, while

You are here! Query Processor. Recovery. Discussed here: DBMS. Task 3 is often called algebraic (or re-write) query optimization, while Module 10: Query Optimization Module Outline 10.1 Outline of Query Optimization 10.2 Motivating Example 10.3 Equivalences in the relational algebra 10.4 Heuristic optimization 10.5 Explosion of search

More information

Advanced Implementations of Tables: Balanced Search Trees and Hashing

Advanced Implementations of Tables: Balanced Search Trees and Hashing Advanced Implementations of Tables: Balanced Search Trees and Hashing Balanced Search Trees Binary search tree operations such as insert, delete, retrieve, etc. depend on the length of the path to the

More information

Outline. Approximation: Theory and Algorithms. Application Scenario. 3 The q-gram Distance. Nikolaus Augsten. Definition and Properties

Outline. Approximation: Theory and Algorithms. Application Scenario. 3 The q-gram Distance. Nikolaus Augsten. Definition and Properties Outline Approximation: Theory and Algorithms Nikolaus Augsten Free University of Bozen-Bolzano Faculty of Computer Science DIS Unit 3 March 13, 2009 2 3 Nikolaus Augsten (DIS) Approximation: Theory and

More information

Module 10: Query Optimization

Module 10: Query Optimization Module 10: Query Optimization Module Outline 10.1 Outline of Query Optimization 10.2 Motivating Example 10.3 Equivalences in the relational algebra 10.4 Heuristic optimization 10.5 Explosion of search

More information

A Survey on Spatial-Keyword Search

A Survey on Spatial-Keyword Search A Survey on Spatial-Keyword Search (COMP 6311C Advanced Data Management) Nikolaos Armenatzoglou 06/03/2012 Outline Problem Definition and Motivation Query Types Query Processing Techniques Indices Algorithms

More information

Data Analytics Beyond OLAP. Prof. Yanlei Diao

Data Analytics Beyond OLAP. Prof. Yanlei Diao Data Analytics Beyond OLAP Prof. Yanlei Diao OPERATIONAL DBs DB 1 DB 2 DB 3 EXTRACT TRANSFORM LOAD (ETL) METADATA STORE DATA WAREHOUSE SUPPORTS OLAP DATA MINING INTERACTIVE DATA EXPLORATION Overview of

More information

Spatial and Moving Objects Databases: Markus Schneider University off Florida Department of Computer & Information Science &Engineering

Spatial and Moving Objects Databases: Markus Schneider University off Florida Department of Computer & Information Science &Engineering Spatial and Moving Objects Databases: St t off th State the Art A t and d Future F t Research R h Challenges Ch ll Markus Schneider University off Florida Department of Computer & Information Science &Engineering

More information

Wolf-Tilo Balke Silviu Homoceanu Institut für Informationssysteme Technische Universität Braunschweig

Wolf-Tilo Balke Silviu Homoceanu Institut für Informationssysteme Technische Universität Braunschweig Multimedia Databases Wolf-Tilo Balke Silviu Homoceanu Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de 14 Indexes for Multimedia Data 14 Indexes for Multimedia

More information

Chapter 6. Fundamentals of GIS-Based Data Analysis for Decision Support. Table 6.1. Spatial Data Transformations by Geospatial Data Types

Chapter 6. Fundamentals of GIS-Based Data Analysis for Decision Support. Table 6.1. Spatial Data Transformations by Geospatial Data Types Chapter 6 Fundamentals of GIS-Based Data Analysis for Decision Support FROM: Points Lines Polygons Fields Table 6.1. Spatial Data Transformations by Geospatial Data Types TO: Points Lines Polygons Fields

More information

GIS CONCEPTS ARCGIS METHODS AND. 3 rd Edition, July David M. Theobald, Ph.D. Warner College of Natural Resources Colorado State University

GIS CONCEPTS ARCGIS METHODS AND. 3 rd Edition, July David M. Theobald, Ph.D. Warner College of Natural Resources Colorado State University GIS CONCEPTS AND ARCGIS METHODS 3 rd Edition, July 2007 David M. Theobald, Ph.D. Warner College of Natural Resources Colorado State University Copyright Copyright 2007 by David M. Theobald. All rights

More information

Robotics 2 Data Association. Giorgio Grisetti, Cyrill Stachniss, Kai Arras, Wolfram Burgard

Robotics 2 Data Association. Giorgio Grisetti, Cyrill Stachniss, Kai Arras, Wolfram Burgard Robotics 2 Data Association Giorgio Grisetti, Cyrill Stachniss, Kai Arras, Wolfram Burgard Data Association Data association is the process of associating uncertain measurements to known tracks. Problem

More information

Algorithms for Characterization and Trend Detection in Spatial Databases

Algorithms for Characterization and Trend Detection in Spatial Databases Published in Proceedings of 4th International Conference on Knowledge Discovery and Data Mining (KDD-98) Algorithms for Characterization and Trend Detection in Spatial Databases Martin Ester, Alexander

More information

Applied Cartography and Introduction to GIS GEOG 2017 EL. Lecture-2 Chapters 3 and 4

Applied Cartography and Introduction to GIS GEOG 2017 EL. Lecture-2 Chapters 3 and 4 Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-2 Chapters 3 and 4 Vector Data Modeling To prepare spatial data for computer processing: Use x,y coordinates to represent spatial features

More information

An Optimized Interestingness Hotspot Discovery Framework for Large Gridded Spatio-temporal Datasets

An Optimized Interestingness Hotspot Discovery Framework for Large Gridded Spatio-temporal Datasets IEEE Big Data 2015 Big Data in Geosciences Workshop An Optimized Interestingness Hotspot Discovery Framework for Large Gridded Spatio-temporal Datasets Fatih Akdag and Christoph F. Eick Department of Computer

More information

Exact and Approximate Flexible Aggregate Similarity Search

Exact and Approximate Flexible Aggregate Similarity Search Noname manuscript No. (will be inserted by the editor) Exact and Approximate Flexible Aggregate Similarity Search Feifei Li, Ke Yi 2, Yufei Tao 3, Bin Yao 4, Yang Li 4, Dong Xie 4, Min Wang 5 University

More information

Nearest Neighbor Searching Under Uncertainty. Wuzhou Zhang Supervised by Pankaj K. Agarwal Department of Computer Science Duke University

Nearest Neighbor Searching Under Uncertainty. Wuzhou Zhang Supervised by Pankaj K. Agarwal Department of Computer Science Duke University Nearest Neighbor Searching Under Uncertainty Wuzhou Zhang Supervised by Pankaj K. Agarwal Department of Computer Science Duke University Nearest Neighbor Searching (NNS) S: a set of n points in R. q: any

More information

Multi-Approximate-Keyword Routing Query

Multi-Approximate-Keyword Routing Query Bin Yao 1, Mingwang Tang 2, Feifei Li 2 1 Department of Computer Science and Engineering Shanghai Jiao Tong University, P. R. China 2 School of Computing University of Utah, USA Outline 1 Introduction

More information

Event Operators: Formalization, Algorithms, and Implementation Using Interval- Based Semantics

Event Operators: Formalization, Algorithms, and Implementation Using Interval- Based Semantics Department of Computer Science and Engineering University of Texas at Arlington Arlington, TX 76019 Event Operators: Formalization, Algorithms, and Implementation Using Interval- Based Semantics Raman

More information

Pivot Selection Techniques

Pivot Selection Techniques Pivot Selection Techniques Proximity Searching in Metric Spaces by Benjamin Bustos, Gonzalo Navarro and Edgar Chávez Catarina Moreira Outline Introduction Pivots and Metric Spaces Pivots in Nearest Neighbor

More information

Introduction to GIS I

Introduction to GIS I Introduction to GIS Introduction How to answer geographical questions such as follows: What is the population of a particular city? What are the characteristics of the soils in a particular land parcel?

More information

CS 273 Prof. Serafim Batzoglou Prof. Jean-Claude Latombe Spring Lecture 12 : Energy maintenance (1) Lecturer: Prof. J.C.

CS 273 Prof. Serafim Batzoglou Prof. Jean-Claude Latombe Spring Lecture 12 : Energy maintenance (1) Lecturer: Prof. J.C. CS 273 Prof. Serafim Batzoglou Prof. Jean-Claude Latombe Spring 2006 Lecture 12 : Energy maintenance (1) Lecturer: Prof. J.C. Latombe Scribe: Neda Nategh How do you update the energy function during the

More information

Relational operations

Relational operations Architecture Relational operations We will consider how to implement and define physical operators for: Projection Selection Grouping Set operators Join Then we will discuss how the optimizer use them

More information

12 Review and Outlook

12 Review and Outlook 12 Review and Outlook 12.1 Review 12.2 Outlook http://www-kdd.isti.cnr.it/nwa Spatial Databases and GIS Karl Neumann, Sarah Tauscher Ifis TU Braunschweig 926 What are the basic functions of a geographic

More information

Incremental Construction of Complex Aggregates: Counting over a Secondary Table

Incremental Construction of Complex Aggregates: Counting over a Secondary Table Incremental Construction of Complex Aggregates: Counting over a Secondary Table Clément Charnay 1, Nicolas Lachiche 1, and Agnès Braud 1 ICube, Université de Strasbourg, CNRS 300 Bd Sébastien Brant - CS

More information

A Transformation-based Framework for KNN Set Similarity Search

A Transformation-based Framework for KNN Set Similarity Search SUBMITTED TO IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING 1 A Transformation-based Framewor for KNN Set Similarity Search Yong Zhang Member, IEEE, Jiacheng Wu, Jin Wang, Chunxiao Xing Member, IEEE

More information

AN EFFICIENT INDEXING STRUCTURE FOR TRAJECTORIES IN GEOGRAPHICAL INFORMATION SYSTEMS SOWJANYA SUNKARA

AN EFFICIENT INDEXING STRUCTURE FOR TRAJECTORIES IN GEOGRAPHICAL INFORMATION SYSTEMS SOWJANYA SUNKARA AN EFFICIENT INDEXING STRUCTURE FOR TRAJECTORIES IN GEOGRAPHICAL INFORMATION SYSTEMS By SOWJANYA SUNKARA Bachelor of Science (Engineering) in Computer Science University of Madras Chennai, TamilNadu, India

More information

GIS Data Structure: Raster vs. Vector RS & GIS XXIII

GIS Data Structure: Raster vs. Vector RS & GIS XXIII Subject Paper No and Title Module No and Title Module Tag Geology Remote Sensing and GIS GIS Data Structure: Raster vs. Vector RS & GIS XXIII Principal Investigator Co-Principal Investigator Co-Principal

More information

Databases 2011 The Relational Algebra

Databases 2011 The Relational Algebra Databases 2011 Christian S. Jensen Computer Science, Aarhus University What is an Algebra? An algebra consists of values operators rules Closure: operations yield values Examples integers with +,, sets

More information

LAYERED R-TREE: AN INDEX STRUCTURE FOR THREE DIMENSIONAL POINTS AND LINES

LAYERED R-TREE: AN INDEX STRUCTURE FOR THREE DIMENSIONAL POINTS AND LINES LAYERED R-TREE: AN INDEX STRUCTURE FOR THREE DIMENSIONAL POINTS AND LINES Yong Zhang *, Lizhu Zhou *, Jun Chen ** * Department of Computer Science and Technology, Tsinghua University Beijing, China, 100084

More information

CS 347 Distributed Databases and Transaction Processing Notes03: Query Processing

CS 347 Distributed Databases and Transaction Processing Notes03: Query Processing CS 347 Distributed Databases and Transaction Processing Notes03: Query Processing Hector Garcia-Molina Zoltan Gyongyi CS 347 Notes 03 1 Query Processing! Decomposition! Localization! Optimization CS 347

More information

GEO-DATA INPUT AND CONVERSION. Christos G. Karydas,, Dr. Lab of Remote Sensing and GIS Director: Prof. N. Silleos

GEO-DATA INPUT AND CONVERSION. Christos G. Karydas,, Dr. Lab of Remote Sensing and GIS Director: Prof. N. Silleos Christos G. Karydas,, Dr. xkarydas@agro.auth.gr http://users.auth.gr/xkarydas Lab of Remote Sensing and GIS Director: Prof. N. Silleos School of Agriculture Aristotle University of Thessaloniki, GR 1 0.

More information

Probabilistic Nearest-Neighbor Query on Uncertain Objects

Probabilistic Nearest-Neighbor Query on Uncertain Objects Probabilistic Nearest-Neighbor Query on Uncertain Objects Hans-Peter Kriegel, Peter Kunath, Matthias Renz University of Munich, Germany {kriegel, kunath, renz}@dbs.ifi.lmu.de Abstract. Nearest-neighbor

More information

Jeffrey D. Ullman Stanford University

Jeffrey D. Ullman Stanford University Jeffrey D. Ullman Stanford University 3 We are given a set of training examples, consisting of input-output pairs (x,y), where: 1. x is an item of the type we want to evaluate. 2. y is the value of some

More information

Pre RMO Exam Paper Solution:

Pre RMO Exam Paper Solution: Paper Solution:. How many positive integers less than 000 have the property that the sum of the digits of each such number is divisible by 7 and the number itself is divisible by 3? Sum of Digits Drivable

More information

Data Structures and Algorithms " Search Trees!!

Data Structures and Algorithms  Search Trees!! Data Structures and Algorithms " Search Trees!! Outline" Binary Search Trees! AVL Trees! (2,4) Trees! 2 Binary Search Trees! "! < 6 2 > 1 4 = 8 9 Ordered Dictionaries" Keys are assumed to come from a total

More information

1 Approximate Quantiles and Summaries

1 Approximate Quantiles and Summaries CS 598CSC: Algorithms for Big Data Lecture date: Sept 25, 2014 Instructor: Chandra Chekuri Scribe: Chandra Chekuri Suppose we have a stream a 1, a 2,..., a n of objects from an ordered universe. For simplicity

More information

Geoprocessing Tools at ArcGIS 9.2 Desktop

Geoprocessing Tools at ArcGIS 9.2 Desktop Geoprocessing Tools at ArcGIS 9.2 Desktop Analysis Tools Analysis Tools \ Extract Clip Analysis Tools \ Extract Select Analysis Tools \ Extract Split Analysis Tools \ Extract Table Select Analysis Tools

More information

Flexible Aggregate Similarity Search

Flexible Aggregate Similarity Search Flexible Aggregate Similarity Search Yang Li Feifei Li 2 Ke Yi 3 Bin Yao 2 Min Wang 4 rainfallen@sjtu.edu.cn, {lifeifei, yao}@cs.fsu.edu 2, yike@cse.ust.hk 3, min.wang6@hp.com 4 Shanghai JiaoTong University,

More information

PRMO Solution

PRMO Solution PRMO Solution 0.08.07. How many positive integers less than 000 have the property that the sum of the digits of each such number is divisible by 7 and the number itself is divisible by 3?. Suppose a, b

More information

Pre-Regional Mathematical Olympiad Solution 2017

Pre-Regional Mathematical Olympiad Solution 2017 Pre-Regional Mathematical Olympiad Solution 07 Time:.5 hours. Maximum Marks: 50 [Each Question carries 5 marks]. How many positive integers less than 000 have the property that the sum of the digits of

More information

Classification Based on Logical Concept Analysis

Classification Based on Logical Concept Analysis Classification Based on Logical Concept Analysis Yan Zhao and Yiyu Yao Department of Computer Science, University of Regina, Regina, Saskatchewan, Canada S4S 0A2 E-mail: {yanzhao, yyao}@cs.uregina.ca Abstract.

More information

Continuous Skyline Queries for Moving Objects

Continuous Skyline Queries for Moving Objects Continuous Skyline Queries for Moving Objects ABSTRACT The literature on the skyline algorithms so far mainly deal with queries for static query points over static datasets. With the increasing number

More information

Geographers Perspectives on the World

Geographers Perspectives on the World What is Geography? Geography is not just about city and country names Geography is not just about population and growth Geography is not just about rivers and mountains Geography is a broad field that

More information

Faster Algorithms for some Optimization Problems on Collinear Points

Faster Algorithms for some Optimization Problems on Collinear Points Faster Algorithms for some Optimization Problems on Collinear Points Ahmad Biniaz Prosenjit Bose Paz Carmi Anil Maheshwari J. Ian Munro Michiel Smid June 29, 2018 Abstract We propose faster algorithms

More information

Algorithm Design Strategies V

Algorithm Design Strategies V Algorithm Design Strategies V Joaquim Madeira Version 0.0 October 2016 U. Aveiro, October 2016 1 Overview The 0-1 Knapsack Problem Revisited The Fractional Knapsack Problem Greedy Algorithms Example Coin

More information

Relational Algebra on Bags. Why Bags? Operations on Bags. Example: Bag Selection. σ A+B < 5 (R) = A B

Relational Algebra on Bags. Why Bags? Operations on Bags. Example: Bag Selection. σ A+B < 5 (R) = A B Relational Algebra on Bags Why Bags? 13 14 A bag (or multiset ) is like a set, but an element may appear more than once. Example: {1,2,1,3} is a bag. Example: {1,2,3} is also a bag that happens to be a

More information

Making Nearest Neighbors Easier. Restrictions on Input Algorithms for Nearest Neighbor Search: Lecture 4. Outline. Chapter XI

Making Nearest Neighbors Easier. Restrictions on Input Algorithms for Nearest Neighbor Search: Lecture 4. Outline. Chapter XI Restrictions on Input Algorithms for Nearest Neighbor Search: Lecture 4 Yury Lifshits http://yury.name Steklov Institute of Mathematics at St.Petersburg California Institute of Technology Making Nearest

More information

On multi-scale display of geometric objects

On multi-scale display of geometric objects Data & Knowledge Engineering 40 2002) 91±119 www.elsevier.com/locate/datak On multi-scale display of geometric objects Edward P.F. Chan *, Kevin K.W. Chow Department of Computer Science, University of

More information

Class 9. Query, Measurement & Transformation; Spatial Buffers; Descriptive Summary, Design & Inference

Class 9. Query, Measurement & Transformation; Spatial Buffers; Descriptive Summary, Design & Inference Class 9 Query, Measurement & Transformation; Spatial Buffers; Descriptive Summary, Design & Inference Spatial Analysis Turns raw data into useful information by adding greater informative content and value

More information

How do I do that in Quantum GIS: illustrating classic GIS tasks Edited by: Arthur J. Lembo, Jr.; Salisbury University

How do I do that in Quantum GIS: illustrating classic GIS tasks Edited by: Arthur J. Lembo, Jr.; Salisbury University How do I do that in Quantum GIS: illustrating classic GIS tasks Edited by: Arthur J. Lembo, Jr.; Salisbury University How do I do that in Quantum GIS Page 1 Introduction from the editor:... 4 Database

More information

A Novel Probabilistic Pruning Approach to Speed Up Similarity Queries in Uncertain Databases

A Novel Probabilistic Pruning Approach to Speed Up Similarity Queries in Uncertain Databases A Novel Probabilistic Pruning Approach to Speed Up Similarity Queries in Uncertain Databases Thomas Bernecker #, Tobias Emrich #, Hans-Peter Kriegel #, Nikos Mamoulis, Matthias Renz #, Andreas Züfle #

More information

Towards an Effective Calculus for Object Query Languages. The Gap between Theory & Practice

Towards an Effective Calculus for Object Query Languages. The Gap between Theory & Practice Towards an Effective Calculus for Object Query Languages Leonidas Fegaras David Maier Oregon Graduate Institute - 1 - The Gap between Theory & Practice Most commercial relational query languages go beyond

More information

RESEARCH ON THE DISTRIBUTED PARALLEL SPATIAL INDEXING SCHEMA BASED ON R-TREE

RESEARCH ON THE DISTRIBUTED PARALLEL SPATIAL INDEXING SCHEMA BASED ON R-TREE RESEARCH ON THE DISTRIBUTED PARALLEL SPATIAL INDEXING SCHEMA BASED ON R-TREE Yuan-chun Zhao a, b, Cheng-ming Li b a. Shandong University of Science and Technology, Qingdao 266510 b. Chinese Academy of

More information

Information theoretical approach for domain ontology exploration in large Earth observation image archives

Information theoretical approach for domain ontology exploration in large Earth observation image archives Information theoretical approach for domain ontology exploration in large Earth observation image archives Mihai Datcu, Mariana Ciucu DLR Oberpfaffenhofen IGARSS 2004 KIM - Knowledge driven Information

More information

LOCALITY SENSITIVE HASHING FOR BIG DATA

LOCALITY SENSITIVE HASHING FOR BIG DATA 1 LOCALITY SENSITIVE HASHING FOR BIG DATA Wei Wang, University of New South Wales Outline 2 NN and c-ann Existing LSH methods for Large Data Our approach: SRS [VLDB 2015] Conclusions NN and c-ann Queries

More information

AE = q < H(p < ) + (1 q < )H(p > ) H(p) = p lg(p) (1 p) lg(1 p)

AE = q < H(p < ) + (1 q < )H(p > ) H(p) = p lg(p) (1 p) lg(1 p) 1 Decision Trees (13 pts) Data points are: Negative: (-1, 0) (2, 1) (2, -2) Positive: (0, 0) (1, 0) Construct a decision tree using the algorithm described in the notes for the data above. 1. Show the

More information

UNCC 2001 Comprehensive, Solutions

UNCC 2001 Comprehensive, Solutions UNCC 2001 Comprehensive, Solutions March 5, 2001 1 Compute the sum of the roots of x 2 5x + 6 = 0 (A) (B) 7/2 (C) 4 (D) 9/2 (E) 5 (E) The sum of the roots of the quadratic ax 2 + bx + c = 0 is b/a which,

More information

A Basic Introduction to Geographic Information Systems (GIS) ~~~~~~~~~~

A Basic Introduction to Geographic Information Systems (GIS) ~~~~~~~~~~ A Basic Introduction to Geographic Information Systems (GIS) ~~~~~~~~~~ Rev. Ronald J. Wasowski, C.S.C. Associate Professor of Environmental Science University of Portland Portland, Oregon 3 September

More information

Solutions. Prelim 2[Solutions]

Solutions. Prelim 2[Solutions] Prelim [Solutions]. Short Answer [ pts] (a) [ pts] A traversal of an expression tree produces the string + + 3. i. What kind of traversal is it? Preorder; the operator is printed before the operands. ii.

More information

Nearest Neighbor Search for Relevance Feedback

Nearest Neighbor Search for Relevance Feedback Nearest Neighbor earch for Relevance Feedbac Jelena Tešić and B.. Manjunath Electrical and Computer Engineering Department University of California, anta Barbara, CA 93-9 {jelena, manj}@ece.ucsb.edu Abstract

More information

Lecture 10 September 27, 2016

Lecture 10 September 27, 2016 CS 395T: Sublinear Algorithms Fall 2016 Prof. Eric Price Lecture 10 September 27, 2016 Scribes: Quinten McNamara & William Hoza 1 Overview In this lecture, we focus on constructing coresets, which are

More information

CS 347 Parallel and Distributed Data Processing

CS 347 Parallel and Distributed Data Processing CS 347 Parallel and Distributed Data Processing Spring 2016 Notes 3: Query Processing Query Processing Decomposition Localization Optimization CS 347 Notes 3 2 Decomposition Same as in centralized system

More information