EconPapers    
Economics at your fingertips  
 

Performance Issues And Gains Of Caching The Pathfinding Data

Ivan Porkolab (), Goran Djambic () and Danijel Kucak ()
Additional contact information
Ivan Porkolab: Visoko uciliste Algebra, Zagreb, Croatia
Goran Djambic: Visoko uciliste Algebra, Zagreb, Croatia
Danijel Kucak: Visoko uciliste Algebra, Zagreb, Croatia

International Journal of Digital Technology and Economy, 2018, vol. 3, issue 1, 1-10

Abstract: Using non-cached methods for finding the shortest path between nodes is the most common case when using pathfinding systems. That approach generates a couple of issues. Foremost, it has a significant impact on processing resources as calculations must be done over again for each iteration, even for the repeating events. That's not a big concern if pathfinding is invoked a reasonable number of times or the nodes involved are always different, but if pathfinding occurs many times on the same nodes, then the caching of once calculated path becomes an acceptable course of action. This paper has explored one of such caching algorithms, FAST-N algorithm and compared it with standard non-cached pathfinding. Doing so, it outlined margins of justifiable use of such systems. On a small number of pathfinding requests or simple node structure, because of increase in memory usage and rather hefty initial calculation processing requirements, it has been concluded that non-cached system makes more sense than cached one. On the other hand, when confronted with a large number of pathfinding requests and more complex node structure, caching can generate significant benefits concerning processing power and speed.

Keywords: pathfinding; caching; FAST-N; C# (search for similar items in EconPapers)
Date: 2018
References: View complete reference list from CitEc
Citations:

Downloads: (external link)
http://algebra.hr/publications//ijdte/vol3_iss1/IJDTE_03_01_2018_P1.pdf (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:alg:jijdte:v:3:y:2018:i:1:p:1-10

Access Statistics for this article

More articles in International Journal of Digital Technology and Economy from Algebra University College
Bibliographic data for series maintained by Robert Kopal ().

 
Page updated 2025-03-19
Handle: RePEc:alg:jijdte:v:3:y:2018:i:1:p:1-10