IDEAS home Printed from https://ideas.repec.org/a/alg/jijdte/v3y2018i1p1-10.html
   My bibliography  Save this article

Performance Issues And Gains Of Caching The Pathfinding Data

Author

Listed:
  • Ivan Porkolab

    (Visoko uciliste Algebra, Zagreb, Croatia)

  • Goran Djambic

    (Visoko uciliste Algebra, Zagreb, Croatia)

  • Danijel Kucak

    (Visoko uciliste Algebra, Zagreb, Croatia)

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.

Suggested Citation

  • Ivan Porkolab & Goran Djambic & Danijel Kucak, 2018. "Performance Issues And Gains Of Caching The Pathfinding Data," International Journal of Digital Technology and Economy, Algebra University College, vol. 3(1), pages 1-10, June.
  • Handle: RePEc:alg:jijdte:v:3:y:2018:i:1:p:1-10
    as

    Download full text from publisher

    File URL: http://algebra.hr/publications//ijdte/vol3_iss1/IJDTE_03_01_2018_P1.pdf
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    pathfinding; caching; FAST-N; C#;
    All these keywords.

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:alg:jijdte:v:3:y:2018:i:1:p:1-10. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Robert Kopal (email available below). General contact details of provider: https://algebra.university/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.