The larger the cells are, the larger the influence region of a query is. Here, influence region of a query is the total area of cells whose . As a result, the time costs of both algorithms on grid index with larger cells is more than ones with smaller cells. On the other hand, when the cells are too small (i.e., ), many cells are empty which introduces more costs. It is clear that CircularTrip outperforms CPM on all cell sizes and CPM is more sensitive to cell size than CircularTrip. As described before, CircularTrip does not keep any book-keeping information. So, its memory space is always less than CPM's. The numbers above bars in Fig. (b) are ratios of their memory spaces.
= -1mm = -1mm
[Time]
[Space] |
[Time]
[Space] |
[Varying
(
)]
[Varying ( )] |
The second experiment tests an effect of . From the experiment results as shown in Fig. , we can see that CircularTrip is always times faster than CPM while its memory space is at most of CPM's.
The final experiment in this part is to evaluate an impact of cardinality of data points and queries. The experiment results are depicted in Fig. . Following the trends in the previous experiments, CircularTrip is faster than CPM on all settings. It is interesting that with the number of queries increasing, performance of CPM degrades more significantly than CircularTrip. This is because our algorithm minimizes both initial NN computation costs and continuous monitoring cost while only the cost of initial NN computation is minimized in CPM. When , CPM is times slower than CircularTrip.
Muhammad Aamir Cheema 2007-10-11