CppyABM: An open‐source agent‐based modeling library to integrate C++ and Python. (5th January 2022)
- Record Type:
- Journal Article
- Title:
- CppyABM: An open‐source agent‐based modeling library to integrate C++ and Python. (5th January 2022)
- Main Title:
- CppyABM: An open‐source agent‐based modeling library to integrate C++ and Python
- Authors:
- Nourisa, Jalil
Zeller‐Plumhoff, Berit
Willumeit‐Römer, Regine - Abstract:
- Abstract: Agent‐based modeling (ABM) has been extensively used to study the collective behavior of systems emerging from the interaction of numerous independent individuals called agents. Python and C++ are commonly used for ABM thanks to their unique features; the latter offers superior performance while the former provides ease‐of‐use and rich libraries in data science, visualization, and machine learning. We present the framework CppyABM that unifies these features by providing identical ABM semantic and development styles in both C++ and Python as well as the essential binding tools to expose a certain functionality from C++ to Python. The binding feature allows users to tailor and further extend a type or function within Python while it is originally defined in C++. Using CppyABM, users can choose either C++ or Python depending on their expertise and the specialty of the model or combine them to benefit from the advantages of both languages simultaneously. We provide showcases of CppyABM capabilities using several examples in computational biology, ecology, and virology. These examples are implemented in different formats using either C++ or Python or a combination of both to provide a comparison between the performance of implementation scenarios. The results of the example show a clear performance advantage of the models entirely or partly implemented in C++ compared to purely Python‐based implementations.
- Is Part Of:
- Software, practice & experience. Volume 52:Number 6(2022)
- Journal:
- Software, practice & experience
- Issue:
- Volume 52:Number 6(2022)
- Issue Display:
- Volume 52, Issue 6 (2022)
- Year:
- 2022
- Volume:
- 52
- Issue:
- 6
- Issue Sort Value:
- 2022-0052-0006-0000
- Page Start:
- 1337
- Page End:
- 1351
- Publication Date:
- 2022-01-05
- Subjects:
- agent‐based modeling -- C++ -- Python
Computer software -- Periodicals
Computer programming -- Periodicals
Computer programs -- Periodicals
005.3 - Journal URLs:
- http://onlinelibrary.wiley.com/ ↗
- DOI:
- 10.1002/spe.3067 ↗
- Languages:
- English
- ISSNs:
- 0038-0644
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 8321.453000
British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 21347.xml