Saved in:
Bibliographic Details
Main Authors: Stefansson, Elis, Johansson, Karl H.
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2501.08918
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910189854130176
author Stefansson, Elis
Johansson, Karl H.
author_facet Stefansson, Elis
Johansson, Karl H.
contents We consider optimal planning in a large-scale system formalised as a hierarchical finite state machine (HFSM). A planning algorithm is proposed computing an optimal plan between any two states in the HFSM, consisting of two steps: A pre-processing step that computes optimal exit costs of the machines in the HFSM, with time complexity scaling with the number of machines; and a query step that efficiently computes an optimal plan by removing irrelevant subtrees of the HFSM using the optimal exit costs. The algorithm is reconfigurable in the sense that changes in the HFSM are handled with ease, where the pre-processing step recomputes only the optimal exit costs affected by the change. The algorithm can also exploit compact representations that groups together identical machines in the HFSM, where the algorithm only needs to compute the optimal exit costs for one of the identical machines within each group, thereby avoid unnecessary recomputations. We validate the algorithm on large systems with millions of states and a robotic application. It is shown that our approach outperforms Dijkstra's algorithm, Bidirectional Dijkstra and Contraction Hierarchies.
format Preprint
id arxiv_https___arxiv_org_abs_2501_08918
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Efficient Planning in Large-scale Systems Using Hierarchical Finite State Machines
Stefansson, Elis
Johansson, Karl H.
Systems and Control
We consider optimal planning in a large-scale system formalised as a hierarchical finite state machine (HFSM). A planning algorithm is proposed computing an optimal plan between any two states in the HFSM, consisting of two steps: A pre-processing step that computes optimal exit costs of the machines in the HFSM, with time complexity scaling with the number of machines; and a query step that efficiently computes an optimal plan by removing irrelevant subtrees of the HFSM using the optimal exit costs. The algorithm is reconfigurable in the sense that changes in the HFSM are handled with ease, where the pre-processing step recomputes only the optimal exit costs affected by the change. The algorithm can also exploit compact representations that groups together identical machines in the HFSM, where the algorithm only needs to compute the optimal exit costs for one of the identical machines within each group, thereby avoid unnecessary recomputations. We validate the algorithm on large systems with millions of states and a robotic application. It is shown that our approach outperforms Dijkstra's algorithm, Bidirectional Dijkstra and Contraction Hierarchies.
title Efficient Planning in Large-scale Systems Using Hierarchical Finite State Machines
topic Systems and Control
url https://arxiv.org/abs/2501.08918