Application of Parallel Ant Colony Algorithm Based on TBB and Cilk++ in Path Optimization

WANG Lei,CAO Han
DOI: https://doi.org/10.3724/sp.j.1087.2010.02781
2010-01-01
Journal of Computer Applications
Abstract:An Ant Colony Algorithm (ACA) with rollback mechanism was proposed for obtaining optimized path,which traverses all necessary nodes in real road network.In case of the large scale real road network,the convergence speed of traditional sequential ACA was quite slow.Therefore,two parallel ACAs based on Intel Threading Building Blocks (TBB) and Cilk++ parallel programming model were designed separately.Both of them were easier to operate with simple instructions than complicated thread triggering and critical resource boundary recognition.Therefore,these two models were easier to develop and more applicable compared with WinAPI multi-threaded based parallel ACA (pACA).The experimental results show that pACA based TBB is nearly identical with pACA based on WinAPI in terms of efficiency,while pACA based on Cilk++ exhibits higher efficiency and better speed-up than pACA based on WinAPI in dual-core system.
What problem does this paper attempt to address?