-
Notifications
You must be signed in to change notification settings - Fork 6
GamAnalyzer
Go to Git View -> Click on Import Projects Add the dependencies in ummisco.gama.feature.dependencies
GamAnalyzer is a tool to monitor several multi-agents simulation
The "agent_group_follower" goal is to monitor and analyze a group of agent during several simulation. This group of agent can be chosen by the user according to criteria chosen by the user. The monitoring process and analysis of these agents involves the extraction, processing and visualization of their data at every step of the simulation. The data for each simulation are pooled and treated commonly for their graphic representation or clusters.
-
varmap: All variable that can be analyzed or displayed in a graph.
-
numvarmap: Numerical variable (on this variable all the aggregator numeric are computed).
-
qualivarmap: All non numerical variable. Could be used for BDI to analyze beliefs.
-
metadatahistory: See updateMetaDataHistory. This matrice store all the metadata like getSimulationScope(), getClock().getCycle(), getUniqueSimName(scope), rule, scope.getAgentScope().getName(), this.getName(), this.agentsCourants.copy(scope), this.agentsCourants.size(), this.getGeometry().
-
lastdetailedvarvalues: store all the value (in varmap) for all the followed agent for the last iteration.
-
averagehistory: Average value for each of the numvar
-
stdevhistory: Std deviation value for each of the numvar
-
minhistory: Min deviation value for each of the numvar
-
maxhistory: Max deviation value for each of the numvar
-
distribhistoryparams: Gives the interval of the distribution described in distribhistory
-
distribhistory: Distribution of numvarmap
-
multi_metadatahistory: Aggregate each metadatahistory for each experiment
This example is based on a toy model which is only composed of wandering people. In this example we will use GamAnalyzer to follow the agent people.
agent_group_follower peoplefollower;
create agentfollower
{
do analyse_cluster species_to_analyse:"people";
peoplefollower<-self;
}
No clustering only the current agent follower is displayed
aspect base {
display_mode <-"global";
clustering_mode <-"none";
draw shape color: #red;
}
The agent_group_follower corresponding to the current iteration and all the already launch experiments are displayed.
aspect simglobal{
display_mode <-"simglobal";
clustering_mode <-"none";
draw shape color: #red;
int curColor <-0;
loop geom over: allSimShape{
draw geom color:SequentialColors[curColor] at:{location.x,location.y,curColor*10};
curColor <- curColor+1;
}
}
The agent group follower is divided in cluster computed thanks to a dbscan algorithm. Only the current agent_group_follower is displayed
aspect cluster {
display_mode <-"global";
clustering_mode <-"dbscan";
draw shape color: #red;
}
The agent_group_follower (made of different cluster) corresponding to the current iteration and all the already launch experiments are displayed.
aspect clusterSimGlobal {
display_mode <-"simglobal";
clustering_mode <-"dbscan";
draw shape color: #red;
int curColor <-0;
loop geom over: allSimShape{
draw geom color:SequentialColors[curColor] at:{location.x,location.y,curColor*10};
curColor <- curColor+1;
}
}
- 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 Models
- Multi-Paradigm Modeling
- Manipulate OSM Data
- Cleaning 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