Title: The B+-tree-based method for nearest neighbour queries in traffic simulation systems

Authors: Zhu Song; Shijie Zhou; Jiaqing Luo; Weiwei Deng

Addresses: School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu, Sichuan, China ' School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu, Sichuan, China ' School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu, Sichuan, China ' School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu, Sichuan, China

Abstract: Extensive used traffic simulation systems are helpful in planning and controlling the traffic system. In traffic simulation systems, the state of each vehicle is affected by that of nearby vehicles, called neighbours. Nearest neighbour (NN) queries, which are multi one-dimensional and highly concurrent, largely determine the performance of traffic simulation systems. Majority of existing traffic simulation systems use linked list-based methods to process NN queries. Although they are simple and effective, existing methods are neither scalable nor efficient. In this paper, we propose a B+-tree-based method to improve the efficiency of NN queries by borrowing ideas from methods used in databases. In particular, we create a linked local B+-tree, called LLB+-tree, which is a variation of original B+-tree, to maintain the index of neighbours of each vehicle. We also build a mathematical model to optimise the parameter setting of LLB+-tree according to multiple parameters for lanes and vehicles. Our theoretical analysis shows that the time complexity of the method is O(logN) under the assumption of random distribution of vehicles. Our simulation results show that LLB+-tree can outperform linked list and original B+-tree by 64.2% and 12.8%, respectively.

Keywords: nearest neighbour queries; traffic simulation; B+-tree; linked lists; mathematical modelling; random distribution; vehicle distribution; traffic planning; system design; optimisation; traffic control; neighbouring vehicles.

DOI: 10.1504/IJHPCN.2015.070011

International Journal of High Performance Computing and Networking, 2015 Vol.8 No.2, pp.110 - 123

Available online: 23 Jun 2015 *

Full-text access for editors Access for subscribers Purchase this article Comment on this article