https://github.com/mhawryluk/abm-predator-prey
Agent based Predator-Prey model implementation and simulation. AGH 2023/24
https://github.com/mhawryluk/abm-predator-prey
agent-based-modeling lotka-volterra predator-prey
Last synced: 4 months ago
JSON representation
Agent based Predator-Prey model implementation and simulation. AGH 2023/24
- Host: GitHub
- URL: https://github.com/mhawryluk/abm-predator-prey
- Owner: mhawryluk
- Created: 2023-11-28T10:38:36.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-26T17:46:00.000Z (over 1 year ago)
- Last Synced: 2025-04-02T12:37:53.747Z (7 months ago)
- Topics: agent-based-modeling, lotka-volterra, predator-prey
- Language: Python
- Homepage:
- Size: 2.91 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Predator-Prey agent based model and simulation
## Description
Predator-prey models play a crucial role in understanding the dynamics of bio- and ecosystems, where the growth of different life forms is linked to the availability of resources. In this complex system, various species engage in constant competition, evolution and movement, all driven by the fundamental need for resources necessary for their survival.
The implemented agent-based model is a basis for the following predator-prey simulation. The simulation unfolds as follows: each individual starts with a certain amount of energy, which diminishes with each passing day, but can be replenished through feeding. Predators consume prey, while prey feed on growing grass. Additionally, each species reproduces under favorable conditions. Predators hunt for prey within their field of vision, while prey escapes in similarly defined situations. The behavior of the species in the ultimate model aligns with expectations, depicting the Lotka-Volterra-like dynamics.
## Technologies
* Python 3.11
* pygame
* Matplotlib## Results
![]()
![]()