Unlock instant, AI-driven research and patent intelligence for your innovation.

Optimization method of elastic aggregation nearest neighbor query G tree on road network

An optimization method, the nearest neighbor technology, applied in the computer field, can solve problems such as unbalanced division, difficult to find FANN, poor scalability, etc., and achieve the effects of reducing the number of calls, improving query speed, and reducing costs

Inactive Publication Date: 2018-11-16
SHANGHAI JIAO TONG UNIV
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[D. Papadias, Q. Shen, Y. Tao, and K. Mouratidis, “Group nearest neighbor queries,” in Data Engineering, 2004. Proceedings. 20th International Conference on. IEEE, 2004, pp.301–312.] The IER algorithm relies on the R tree, but the R tree does not perform well on the road network
[D.Yan, Z.Zhao, and W. Ng, "Efficient algorithms for finding optimal meeting point on road networks," Proceedings of the VLDB Endowment, vol.4, no.11, 2011.] used the convex hull method to Impossible point pruning, but its scalability is not good
[M. Safar, "Group k-nearest neighbors queries in spatial network databases," Journal of geographic systems, vol.10, no.4, pp.407–416, 2008.] [L.Zhu, Y.Jing, W. Sun, D.Mao, and P.Liu, "Voronoi-based aggregate nearest neighbor query processing in road networks," in Proceedings of the 18th SIGSPATIAL International Conference on Advances in Geographic Information Systems. ACM, 2010, pp.518–521.] both used Voronoi diagrams partition the road network, but they often lead to unbalanced division, which leads to inefficiency
Additionally, due to the newly added parameter FANN results will be harder to find

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Optimization method of elastic aggregation nearest neighbor query G tree on road network
  • Optimization method of elastic aggregation nearest neighbor query G tree on road network
  • Optimization method of elastic aggregation nearest neighbor query G tree on road network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] The present invention is described in further detail now in conjunction with accompanying drawing. These drawings are all simplified schematic diagrams, and only illustrate the basic structure of the present invention in a schematic manner, so they only show the configurations related to the present invention.

[0061] 1 Problem Definition

[0062] The road network can be represented as an undirected weighted graph, G(V,E,W), where V is a set of vertices, E is a set of edges, and W is a mapping from E to a positive real number, representing the weight of an edge. Let δ be the distance function defined on G, δ(v i , v j ) means v i to v j road network distance. It is worth noting that the weight of an edge is not necessarily equal to the Euclidean distance between two points. For example, it could be the time it takes to travel the edge. Obviously, if the edge weights are proportional to the Euclidean distance, the transformation is simple. We adopt a method simi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an optimization method of an elastic aggregation nearest neighbor query G tree on a road network. The method comprises the following steps: one, establishing G tree index; two,defining and initializing; three, ending if the queue is empty, or exiting to obtain x, and entering the step four; four, if x is leaf node, computing gPhi(v, Q) (including initialization: judging whether D is less than PhiM and whether the queue is empty; exiting to obtain (dis, e), and judging whether e is the point on the road network) by adopting the optimization method for all points v in the x, and updating the final result, traversing to back to the third step; or entering the fifth step; five, traversing the sub-node c of x, computing the minimum possible distance to c form all pointsin Q, obtaining the maximum value max or sum of the front PhiM distance, and recording as Tau; six, if the Tau is less than r*, queueing the children node of the c and returning to step three; if Tauis greater than or equal to r*, ending the operation. Through the method disclosed by the invention, the efficiency of the gPhi can be effectively improved, thereby improving the query speed, and reducing the cost.

Description

technical field [0001] The invention belongs to the field of computers, and in particular relates to a query method for a spatial database, in particular to an optimization method for elastic aggregation nearest neighbor query G-trees on a road network. Background technique [0002] Aggregate nearest neighbor query (hereinafter referred to as ANN) is a classic query in spatial databases and has a wide range of application scenarios, such as location-based services. Given a set of query points Q, ANN finds a point in the data point set V such that the aggregated distance from this point to all points in Q is the smallest. This aggregation function is usually max or sum. ANN problems have been discussed in Euclidean spaces [see D. Papadias, Q. Shen, Y. Tao, and K. Mouratidis, “Group nearest neighbor queries,” in Data Engineering, 2004. Proceedings. 20th International Conference on. IEEE, 2004, pp. 301–312.] and road networks [see D. Papadias, Q. Shen, Y. Tao, and K. Mouratid...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 姚斌过敏意陈中普沈耀陈全
Owner SHANGHAI JIAO TONG UNIV