Elsevier

Expert Systems with Applications

Volume 113, 15 December 2018, Pages 415-427
Expert Systems with Applications

Comparative analysis of selected path-planning approaches in large-scale multi-agent-based environments

https://doi.org/10.1016/j.eswa.2018.07.001Get rights and content

Highlights

  • Experimental performance analysis of path-planning approaches is presented.

  • Standard pathfinding, matrix-based, and pathfinding with learning are compared.

  • Local and remote Open Street Map server approaches are analysed for performance.

  • Experiments show statistically significant differences between the runtimes.

Abstract

Large-scale models are currently used for the simulation, analysis and control of real systems, whether technical, biological, social or economic. In multi-agent simulations of virtual economies, it is important to schedule a large number of agents across the cities involved, in order to establish a functional supply chain network for industrial production. This study describes an experimental evaluation of path-planning approaches in the field of multi-agent modelling and simulation, applied to a large-scale setting. The experimental comparison is based on a model in which agents represent economic entities and can participate in mutual interactions. For the purposes of experiment, the model is scaled to various degrees of complexity in terms of the numbers of agents and transportation nodes. Various numbers of agents are used to explore the way in which the model's complexity influences the runtime of the path-planning task. The results indicate that there are significant differences between the runtime performances associated with single approaches, for differing levels of system complexity and model sizes. The study reveals that the appropriate sharing of shortest path information can significantly improve path-planning activities. Hence, this work extends current research in the field of path-planning for multi-agent simulations by conducting an experimental performance analysis of five distinct path-planning approaches and a statistical evaluation of the results. This statistical evaluation contrasts with performance analyses conducted on the basis of ‘Big O’ notation for algorithmic complexity, which describes the limiting behaviour of the algorithm and gives only a rough performance estimate.

Introduction

The use of pathfinding algorithms represents a key task in many domains, and these algorithms are widely employed in areas such as robotics and artificial intelligence (Atallah & Blanton, 2009), video games (Algfoor, Sunar, & Kolivand, 2015), medicine (Algfoor, Sunar, Abdullah, & Kolivand, 2017), and traffic control (Bleiweiss, 2008). At a fundamental level, pathfinding algorithms deal with two problems: firstly, they are constructed to find a path between two points, or two nodes if the problem is represented as a graph; and secondly, the aim is to identify the optimal shortest path. This is a fundamental and well-known problem in operations research, and is related to finding a path between two nodes (vertices) of a graph such that the sum of the weights (in terms of cost, distance, time etc.) of its connecting edges are minimised. A plethora of algorithms has already been developed, elaborated and modified to solve pathfinding issues. In general, the main evaluation metrics associated with these algorithms are the speed of search, the quality of the resulting paths and the cost of pre-processing; however, the primary issue is that these metrics cannot be optimised simultaneously. Typical speed enhancements for pathfinding usually involve trading away optimality, either for speed or for offline pre-processing; the former makes it difficult to guarantee the quality of results, while the latter requires extra memory and pre-computing time (Zhang, Li, & Bi, 2016). The problem is even more pronounced in large-scale settings with many autonomous agents moving across numerous locations under certain restrictions. The application of pathfinding algorithms in large-scale scenarios is motivated by the need for resource-efficient and sustainable transportation planning (Pel, Agatz, Macharis, & Veelenturf, 2018) and is enabled by developments in computer science that are associated with hardware technologies (cloud computing, parallel computing, or high performance computing) and software methodologies (e.g. big data methods), which have gradually allowed the creation of more complex computational models with a growing number of participating entities. Transportation is an integral part of most socioeconomic systems, representing a family of complex adaptive systems (CAS), i.e. systems made up of large numbers of components that interact and adapt or learn (Axelrod & Cohen, 2000). Agent-based modelling (ABM) is a suitable instrument for the exploration and planning of CAS (Klügl, 2013, Railsback et al., 2006).

Most studies that deal with transportation planning problems focus on the application or performance of a particular pathfinding algorithm. For instance, Sajid, Luna, and Bekris (2012) propose the proprietary parallel ‘Push and Swap’ algorithm for multi-agent pathfinding, which utilises single-agent primitives but allows all agents to move in parallel. Alderton, Noble, Schaten, Welburn, and Atkinson (2015) have developed an agent-based model to generate routes for human movement between homes and water resources in a rural setting, and have implemented the A* algorithm to identify human movement patterns. Other studies have compared single algorithms with the intention of determining which algorithm is more efficient or less costly in terms of time, either at a general level or when comparing specific pragmatic or research problems. For example, Hudziak, Pozniak-Koszalka, Koszalka, and Kasprzak (2015) recommend a more suitable algorithm to plan the best paths for the simultaneous movement of agents operating in a large, crowded environment; in their study, they compare the Dijkstra and A* algorithms. Zarembo and Kodors (2015) collect information about the A*, BFS, Dijkstra, HPA* and LPA* pathfinding algorithms, and compare these using various criteria such as the execution time and memory requirements. Khantanapoka and Chinnasarn (2009) compare the depth-first search, iterative deepening, the breadth-first search, Dijkstra's algorithm, the best-first search, the A* algorithm, and iterative deepening A*. Considerably less attention is devoted, however, to research into approaches in which agents can share information about the shortest path, which can improve the performance of the CAS as a whole. Several implementation approaches have addressed this issue. Firstly, the shortest path between any two points can be pre-computed and made available to the agents as they travel. Secondly, the shortest path can be computed on demand and stored for reuse by other agents. Thirdly, the use of dedicated cloud-based solutions can offer information about the shortest path. The performance of any of the above strategies is encumbered with certain overheads, and the feasibility of practical implementation is questionable. To the best of our knowledge, no recent studies include an experimental performance analysis of these approaches.

The main objective of the present study is to identify an effective path-planning control method, and to provide an experimental performance analysis of approaches to the sharing of shortest path information in a large-scale transportation scenario. This scenario involves the movement of several thousand agents across up to tens of locations, and is motivated by industrial transportation needs in a specific region. The scenario is simulated in a multi-agent environment, and the time required to schedule the paths of all agents across a given number of cities is used as the main performance metric. The actual performance analysis is accomplished using selected state-of-the-art pathfinding algorithms; however, these algorithms are interchangeable with similar alternatives (for example the substitution of A* for Dijkstra) and a shift in performance is expected according to comparative studies of these algorithms (for example, Sathyaraj et al., 2008, Uditi and Arun, 2017).

The remainder of the manuscript is structured as follows. After a brief introduction, a theoretical background is presented and the selected pathfinding algorithms introduced. The third section describes the applied methodology and experimental design; then, the main findings are presented. The fifth section describes an application focused on the selected domain, and the final section summarises and concludes the paper.

Section snippets

Theoretical background

This study carries out a comparison of selected approaches to path-planning in a large-scale scenario. These path-planning approaches are based on the state-of-the-art pathfinding algorithms, and a brief introduction to these algorithms is therefore provided below. Other available algorithms, their existing modifications and their selected attributes are also noted.

Methodology and experimental set-up

This study examines the computation of the shortest path problem in a model with a large number of agents in two directions. The first direction is easy to implement, and does not need a special preparation phase (pre-computing) before the model is run; it basically consists of the straightforward application of pathfinding algorithm over a GIS data layer. The second requires a more elaborate preparation, involving a graph representation of the environment at the beginning of the run; however,

Results

This section presents the results of the empirical testing of five approaches path planning. Results are first reported for the approaches in group A, and then for the approaches in both groups A and B. Reported differences in time performance with p-values < 0.05 are considered to be significant.

Discussion: practical implications

Recent methodological progress associated with the practical application of model-based systems engineering indicates that simulation plays a crucial role in the design, development and implementation of any type of system, from technical to economic (Grazia Speranza, 2018, Zeyu et al., 2017). The current study suggests that there are significant differences in the path planning performance of selected approaches in a large-scale agent-based simulation. This finding can be utilised in the realm

Conclusion

This research focuses on a comparison of the runtime performance of five pathfinding approaches, representing two principal aspects for which pathfinding algorithms are used. These approaches are empirically tested, and the runtimes are statistically analysed using a multilevel regression model. The testing consists of scheduling the paths of a given number of agents between a given number of cities. The first finding relates to a performance comparison of the adjusted matrix pre-computation,

Conflicts of interest

None.

Acknowledgement

Support from the FIM UHK Excellence Project “Modelling and Simulation of Processes in Socioeconomic Systems and Intelligent Environments” is gratefully acknowledged.

References (80)

  • F. Hutter et al.

    Algorithm runtime prediction: Methods & evaluation

    Artificial Intelligence

    (2014)
  • R.E. Korf

    Real-time heuristic-search

    Artificial Intelligence

    (1990)
  • K.L. Lim et al.

    Uninformed pathfinding: A new approach

    Expert Systems with Applications

    (2015)
  • E. Maggi et al.

    Understanding urban mobility and the impact of public policies: The role of the agent-based models

    Research in Transportation Economics

    (2016)
  • J.A. Mocholi et al.

    An emotionally biased ant colony algorithm for pathfinding in games

    Expert Systems with Applications

    (2010)
  • A.V. Muholzoev et al.

    Probabilistic calculation of tolerances of the dimension chain based on the Floyd-Warshall algorithm

    Procedia Engineering

    (2016)
  • A. Murrieta-Mendoza et al.

    Commercial aircraft lateral flight reference trajectory optimization

    IFAC-PapersOnLine

    (2016)
  • T. Palander

    The environmental emission efficiency of larger and heavier vehicles – A case study of road transportation in Finnish forest industry

    Journal of Cleaner Production

    (2017)
  • A.J. Pel et al.

    Technologies and control for sustainable transportation

    Transportation Research Part C: Emerging Technologies

    (2018)
  • S. Peyer et al.

    A generalization of Dijkstra's shortest path algorithm with applications to VLSI routing

    Journal of Discrete Algorithms

    (2009)
  • I. Pohl

    Heuristic search viewed as path finding in a graph

    Artificial Intelligence

    (1970)
  • M. Shimbo et al.

    Controlling the learning process of real-time heuristic search

    Artificial Intelligence

    (2003)
  • T. Tsekeris et al.

    Graph-theoretic evaluation support tool for fixed-route transport development in metropolitan areas

    Transport Policy

    (2014)
  • Z.A. Vattai

    Floyd-Warshall in scheduling open networks

    Procedia Engineering

    (2016)
  • S. Wang et al.

    Examining the impacts of socioeconomic factors, urban form, and transportation networks on CO2 emissions in China's megacities

    Applied Energy

    (2017)
  • R. Xie et al.

    The effects of transportation infrastructure on urban carbon emissions

    Applied Energy

    (2017)
  • J. Zeyu et al.

    Model study for intelligent transportation system with big data

    Procedia Computer Science

    (2017)
  • A. Zhang et al.

    Rectangle expansion A∗ pathfinding for grid maps

    Chinese Journal of Aeronautics

    (2016)
  • S. Alderton et al.

    Exploiting human resource requirements to infer human movement patterns for use in modelling disease transmission systems: An example from Eastern Province, Zambia

    PLOS ONE

    (2015)
  • A.Z. Algfoor et al.

    A comprehensive study on pathfinding techniques for robotics and video games

    International Journal of Computer Games Technology

    (2015)
  • Z.A. Algfoor et al.

    Identification of metabolic pathways using pathfinding approaches: A systematic review

    Briefings in Functional Genomics

    (2017)
  • D.G. Aliaga

    Integrating urban simulation and visualization

  • M.J. Atallah et al.

    Algorithms and theory of computation handbook

    (2009)
  • R. Axelrod et al.

    Harnessing complexity: Organizational implications of a scientific frontier

    (2000)
  • D. Baeza et al.

    A comparison between ACO and Dijkstra algorithms for optimal ore concentrate pipeline routing

    Journal of Cleaner Production

    (2017)
  • T. Bartz-Beielstein et al.

    Experimental methods for the analysis of optimization algorithms

    (2010)
  • H. Bast et al.

    Transit: Ultrafast shortest-path queries with linear-time preprocessing

  • B. Behdani et al.

    Agent-based models of supply chains

  • W. Bielecki et al.

    Using basis dependence distance vectors in the modified Floyd–Warshall algorithm

    Journal of Combinatorial Optimization

    (2015)
  • A. Bleiweiss

    GPU accelerated pathfinding

  • Cited by (11)

    View all citing articles on Scopus
    View full text