bioRxivCancer BiologyPreprint
Hybrid Automata Library: A modular platform for efficient hybrid modeling with real-time visualization
R. R. Bravo, E. Baratchart, J. West, R. O. Schenck, A. Miller, J. Gallaher, C. D. Gatenbee, D. Basanta, M. Robertson-Tessi, A. R. A. Anderson
Abstract
The Hybrid Automata Library (HAL) is a Java Library developed for use in mathematical oncology modeling. It is made of simple, efficient, generic components that can be used to model complex spatial systems. HALs components can broadly be classified into: on- and off-lattice agent containers, finite difference diffusion fields, a GUI building system, and additional tools and utilities for computation and data collection. These components are designed to operate independently and are standardized to make them easy to interface with one another. As a demonstration of how modeling can be simplified using our approach, we have included a complete example of a hybrid model (a spatial model with interacting agent-based and PDE components). HAL is a useful asset for researchers who wish to build efficient 1D, 2D and 3D hybrid models in Java, while not starting entirely from scratch. It is available on github at https://github.com/torococo/HAL under the MIT License. HAL requires at least Java 8 or later to run, and the Java JDK version 1.8 or later to compile the source code.\n\n1 Author SummaryIn this paper we introduce the Hybrid Automata Library (HAL) with the purpose of simplifying the implementation and sharing of hybrid models for use in mathematical oncology. Hybrid modeling is used in oncology to create spatial models of tissue, typically by modeling cells using agent-based techniques, and by modeling diffusible chemicals using partial differential equations (PDEs). HALs key components are designed to run agent-based models, PDEs, and visualization. The components are standardized and are completely decoupled, so models can be built with any combination of them. We first explore the philosophy behind HAL, then summarize the components. Lastly we demonstrate how the components work together with an example of a hybrid model, and a walk-through of the code used to construct it. HAL is open-source and will produce identical results on any machine that supports Java 8 and above, making it highly portable. We recommend HAL to modelers interested in spatial dynamics, even those outside of mathematical oncology, as the components are general enough to facilitate a variety of model types. A community page that provides a download link and online documentation can be found at https://halloworld.org [1].
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Hybrid Systems Modeling for (Cancer) Systems Biology
Roel Dobbe, Claire J. Tomlin·bioRxiv·Dec 23, 2015
- Agent-based simulation of large tumors in 3-D microenvironments
Ahmadreza Ghaffarizadeh, Samuel H. Friedman, Paul Macklin·bioRxiv·Dec 30, 2015
- dismo: building and analysing discrete spatial ODE models
Marvin van Aalst, Oliver Ebenhöh·bioRxiv·Oct 17, 2023
- MetaSpread: A cancer growth and metastatic spread simulation program in Python
Alfredo Hernández-Inostroza, Erida Gjini·The Journal of Open Source SoftwarePeer-reviewed·Oct 28, 2025
- ya||a: GPU-powered Spheroid Models for Mesenchyme and Epithelium
Philipp Germann, Miquel Marín-Riera, James A. Sharpe·Cell SystemsPeer-reviewed·Mar 1, 2019
- Learning-accelerated Discovery of Immune-Tumour Interactions
Jonathan Ozik, Nicholson T. Collier, … Paul Macklin·Molecular Systems Design & EngineeringPeer-reviewed·Jan 1, 2019