Source code of the DALSim (Dynamic Graphs and Agents for Logistics Simulations)
# Presentation
HOW TO USE IT
-------------
This is the repository of the DALSim project (Dynamic Graphs and Agents for Logistics Simulations).
In order to execute the simulation of this model, you need a special build of the GAMA Platform which includes the plugins developed in parallel of this work.
You can find a wiki (in french) here: [https://git.litislab.fr/tdemare/DALSim/wikis/home](https://git.litislab.fr/tdemare/DALSim/wikis/home)
You can find the release of the GAMA Platform here:
# Install
https://git.litislab.fr/tdemare/DALSim/tags/v1.0
## Stable version
In order to execute the simulation of this model, you need a special build of the [GAMA Platform](https://gama-platform.github.io/) which includes the plugins developed in parallel of this work.
You can find the release of the GAMA Platform here (and choose the last one):
These four plugins are configured to work with the Graphstream library (version 1.3). So you need to add the library to these plugins. To do so, download "gs-core" and gs-algo" here:
These four plugins are configured to work with the Graphstream library (version 1.3). So you need to add the library to these plugins. To do so, download "gs-core" and gs-algo" here:
Then, in Eclipse, for each plugin, do a right click on a project (the project containing the source code and not the feature), then go in properties > Java Build Path > Libraries > Add External Jars > select both gs-core and gs-algo > Apply and Close.
After that, you need to include the plugins to GAMA following the section Addition of a feature to the product" of this tutorial:
At this point, you are able to start GAMA (according to the method described here: https://github.com/gama-platform/gama/wiki/InstallingGitVersion) which will ask you to choose a workspace. Once started, you can import to your workspace the GAMA model of this current repository.
INSTALLATION
------------
Pour utiliser ce modèle, vous devez d'abords avoir installé la plateforme GAMA avec les plugins développés dans le cadre de ce projet.
La première étape consiste à installer la version "Git" de GAMA en suivant ce guide :
Ces quatre plugins sont configurés pour fonctionner avec la librairie Graphstream (version 1.3). Vous devrez donc ajouter cette librairie. Pour cela, télécharger "gs-core" et "gs-algo" à ces deux adresses :
Ensuite, dans Eclipse, pour chaque plugin, faites un clic droit sur le projet (le projet contenant les sources et non la feature), aller dans properties > Java Build Path > Libraries > Add External Jars > Sélectionner les deux fichiers téléchargés > Apply and Close.
Puis, pour chaque plugin, vous devrez les inclure à GAMA en suivant la section "Addition of a feature to the product" de ce tutoriel :
À partir de ce point vous pouvez lancer GAMA (selon la méthode décrite ici https://github.com/gama-platform/gama/wiki/InstallingGitVersion) qui vous demandera de choisir un workspace. Une fois lancé, vous pouvez importer à votre workspace le modèle GAMA de ce projet.
\ No newline at end of file
At this point, you are able to start GAMA (according to the method described here: https://github.com/gama-platform/gama/wiki/InstallingGitVersion) which will ask you to choose a workspace. Once started, you can import to your workspace the GAMA model of this current repository.