Input

Input:Q:a set consisting of spatio textual queries
k:the number of assigned group
Output:G:a set consisting of queries assigned to k groups.

qi.val?calculate z-order value for q;
G?sample k points which is uniformly based on z-order values queries;
isMove?true;
while isMove do

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!


order now

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!


order now

if f(gj,gi)