DocumentCode :
2005015
Title :
A fast algorithm for simulation of flocking behavior
Author :
Lee, Jae Moon ; Cho, Se Hong ; Calvo, Rafael A.
Author_Institution :
Dept. of Multimedia Eng., Hansung Univ., Seoul, South Korea
fYear :
2009
fDate :
25-28 Aug. 2009
Firstpage :
186
Lastpage :
190
Abstract :
This paper proposes an algorithm to enhance the performance of the spatial partitioning method for flocking behavior. Even when a moving entity (boid) in a flock changes its direction and location, its k-nearest neighbors (kNN), which influence its decision for the next direction, seldom change. Using this fact, this paper improves the performance by finding kNN of boids efficiently. A method to check that the new kNN is not changed from the previous kNN is proposed, and the correctness of the method is proven with two theorems. In order to minimize the cost of computing the new kNN, the method checks the fact that the new kNN did not change from the previous kNN. If the new kNN is not changed, the method copies the previous kNN to the new kNN instead of computing the new kNN. The proposed algorithm was implemented and its performance was compared with the original spatial partitioning method. The results of the comparison showed that the proposed algorithm outperformed the original method by about 57.7% with respect to the number of frames per second.
Keywords :
algorithm theory; pattern recognition; fast algorithm; flocking behavior; k-nearest neighbor; spatial partitioning method; Australia; Birds; Computational modeling; Costs; Lattices; Marine animals; Moon; Navigation; Partitioning algorithms; Tree data structures; Boid; Flocking; Spatial partitioning; Steering force; k-nearest neighbors;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Games Innovations Conference, 2009. ICE-GIC 2009. International IEEE Consumer Electronics Society's
Conference_Location :
London
Print_ISBN :
978-1-4244-4459-5
Electronic_ISBN :
978-1-4244-4460-1
Type :
conf
DOI :
10.1109/ICEGIC.2009.5293611
Filename :
5293611
Link To Document :
بازگشت