This repository contains the code and resources for a multi-agent system simulation developed as part of a research project. The simulation models the dynamics of predator-prey interactions in a simulated environment.
- Agents: The simulation includes two types of agents: predators and prey.
- Behaviors: Predators exhibit various behaviors such as hunting, reproduction, and energy management. Prey exhibit behaviors related to foraging, reproduction, and evasion.
- Environment: The simulation environment is a two-dimensional grid where agents move, interact, and consume resources.
- Data Collection: The simulation collects data on agent behaviors, population dynamics, and resource distribution for analysis.
- Download a Pharo 9.0 image+VM depending of your platform: http://pharo.org/download
- Load Cormas: Open Pharo 9.0 image then click anywhere to open the main menu. Choose Playground (Ctrl + OW or Cmd + OW) to execute the following script to install the latest stable version of Cormas (
pre-v0.5
). Paste the script below in Playground, select all then right-click and choose Do it (Ctrl+D or Cmd+D) to execute it:
EpMonitor disableDuring: [
Metacello new
onConflictUseLoaded;
onWarningLog;
repository: 'github://cormas/cormas:v0.8';
baseline: 'Cormas';
load ].
Use this script if you want the latest development version of Cormas:
EpMonitor disableDuring: [
Metacello new
onConflictUseLoaded;
onWarningLog;
repository: 'github://cormas/cormas';
baseline: 'Cormas';
load ].
All packages load into the Cormas-* package names:
You can install CORMAS through Unix command line. It works as follow:
mkdir mydir; cd mydir
curl https://get.pharo.org/90+vm | bash
./pharo Pharo.image eval "EpMonitor disableDuring: [
Metacello new
onConflictUseLoaded;
onWarningLog;
repository: 'github://cormas/cormas/';
baseline: 'Cormas';
load ].
Smalltalk snapshot: true andQuit: true"
This project is licensed under the MIT License - see the LICENSE file for details.
For any inquiries or questions regarding the project, feel free to contact Your Name.
here there's a report of the project rapport_SMA_MohammedAACHBI.docx