-
Notifications
You must be signed in to change notification settings - Fork 99
CodeExamples
Baptiste Lesquoy edited this page Apr 26, 2023
·
100 revisions
This page references a number of code examples with a capture of it running in GAMA.
- 3D shapefile loading.gaml, 1 experiment, 3D
- ASC File Import.gaml - ESRI ASCII to grid model, 1 experiment, 2D
- Contour Lines.gaml - Contour Lines Import, 1 experiment, 3D
- DXF File Import.gaml, 1 experiment, 2D
- GEOJSON File Import, 1 experiment, 3D
- Grid DEM.gaml - ASCII File to DEM Representation, 3 experiments, 3D
- Image Vectorisation.gaml, 1 experiment, 2D
- OSM File Import.gaml - OSM file to Agents, 2 experiments, 2D
- SHP Import.gaml - Shapefile to Agents, 1 experiment, 3D
- Agent Movement
- Continuous Field of Vision.gaml, 1 experiment, 2D
- Follow Path.gaml - Movement of an agent on different paths, 1 experiment, 2D
- Goto Directed Graph.gaml - Directed Graph Model, 1 experiment, 2D
- Goto Grid.gaml - Movement on a Grid of Cells, 1 experiment, 2D
- Goto Grid Weights.gaml - Movement on a Grid of Cells, 1 experiment, 2D
- Goto Polygon.gaml, 1 experiment, 2D
- Moving3D.gaml, 5 experiments, 3D
- Wander on Graph, 1 experiment, 2D
- Fields
- Accessing Fields.gaml, 1 experiment, 3D
- Graphs
- 3D Graph - 3D_Graph, 2 experiments, 3D
- Classic Graph Generation.gaml - Graph Generation, 1 experiment, 2D
- Graph Building from Agents.gaml - Graph Generation using Agents, 1 experiment, 2D
- Strahler.gaml - Strahler, 1 experiment, 2D
- Grids
- Weighted Shortest Path on Grid.gaml, Computation of the shortest path on a Grid of Cells, 1 experiment, 2D
- Ants Foraging.gaml, 3 experiments, 2D
- Trees and Seasons, 3 experiments, 3D
- Mondrian City.gaml, 1 experiment, 2D
- Boids 3D Motion.gaml, 1 experiment, 3D
- Bubble Sort 3D.gaml, 1 experiment, 3D
- SIR (ABM vs EBM).gaml, 1 experiment, 2D
- Continuous Move.gaml, 1 experiment, 3D
- Hydrological Model.gaml, 1 experiment, 3D
- knn.gaml, 1 experiment, 2D
- Mas KMeans.gaml, 2 experiments, 2D, 3D
- Life.gaml, 1 experiment, 2D
- Graph from Bug (Mirror Graph).gaml, 1 experiment, 3D
- MODAVI.gaml, 1 experiment, 2D
- Lotka-Volterra (Influence of Integration Step).gaml, 1 experiment, 2D, Charts
- Segregation (Agents).gaml, 1 experiment, 2D
- Soccer.gaml, 1 experiment, 2D
- Sugarscape.gaml, 1 experiment, 2D
- Netlogo Traffic Model-2 Roads.gaml, 1 experiment, 2D
- Traffic and pollution.gaml, 1 experiment, 3D
- Waterflow Field Elevation.gaml, 1 experiment, 3D
- 3D Visualisation
- Moving 3D Object.gaml, 1 experiment, 3D
- Charts
- Series.gaml, 1 experiment, 2D, charts
- DEM Generator.gaml, 1 experiment, 3D
- CityEscape_BDI_Emotions.gaml, 1 experiment, 2D
- Anisotropic Diffusion (Simple, Field).gaml, 1 experiment, 3D
- Advanced Models
- Drive Random.gaml, 2 experiments, 2D
- Simple Intersection.gaml, 1 experiment, 2D
- Simple model
- Simple Traffic Model, 1 experiment, 2D
- Casting Images.gaml, 1 experiment, 2D, 3D
- Image Manipulation.gaml, 1 experiment, 2D
- Examples
- Stochastic Differential Equation.gaml, 1 experiment, 2D, charts
- For Advanced Users
- SIR (Split in Agents, Multiple Strains).gaml, 1 experiment, 2D, charts
- Complex environment-walk.gaml, 1 experiment, 2D
- Generate pedestrian paths.gaml, 1 experiment, 2D
- Simple environment-walk_to.gaml, 3 experiments, 2D
- Eroding Volcano.gaml, 1 experiment, 3D
- Flow on Terrain.gaml, 1 experiment, 3D
- Hello World.gaml, 1 experiment, 3D
- Play Pool.gaml, 1 experiment, 3D
- Stairs.gaml, 1 experiment, 3D
- Installation and Launching
- Workspace, Projects and Models
- Editing Models
- Running Experiments
- Running Headless
- Preferences
- Troubleshooting
- Introduction
- Manipulate basic Species
- Global Species
- Defining Advanced Species
- Defining GUI Experiment
- Exploring Models
- Optimizing Model Section
- Multi-Paradigm Modeling
- Manipulate OSM Data
- Diffusion
- Using Database
- Using FIPA ACL
- Using BDI with BEN
- Using Driving Skill
- Manipulate dates
- Manipulate lights
- Using comodel
- Save and restore Simulations
- Using network
- Headless mode
- Using Headless
- Writing Unit Tests
- Ensure model's reproducibility
- Going further with extensions
- Built-in Species
- Built-in Skills
- Built-in Architecture
- Statements
- Data Type
- File Type
- Expressions
- Exhaustive list of GAMA Keywords
- Installing the GIT version
- Developing Extensions
- Introduction to GAMA Java API
- Using GAMA flags
- Creating a release of GAMA
- Documentation generation