Sorry for not posting anything interesting the last month or so. Christian and I have been extremely busy writing out PhDs. But I can promise soon some very good posts.
Sorry for not posting anything interesting the last month or so. Christian and I have been extremely busy writing out PhDs. But I can promise soon some very good posts.
Slider bars (as in the image above) are a easy way to change model parameters of a simulation. Someone asked how to create a Slider Bar within a Repast model, so I thought I would share it. To create one is relatively straight forward. All you need to do is place this piece of code in the setup method:
RangePropertyDescriptor pdMovement = new RangePropertyDescriptor("Movement", 0, 1000, 200);
descriptors.put("Movement", pdMovement);
String [] initparams = {"PerAgents",
};
return initparams;
}
Further information on PropertyDescriptors can be found on the Repast Website under "How to Create PropertyDescriptors"
Andrew Hudson-Smith, Mike Batty, Victor Schinazi and Paul Longley from CASA have been attending the NSF/ESRC Agenda Setting Workshop on Agent Based Modelling (ABM) of Complex Spatial Systems in On a side note his blog is worth exploring Digital Urban anyway as it details and provides examples of CASA research in the fields of digital cities and visualisation on the local, regional and global scale.
The SIMSEG model is an extension of the Thomas Schellings segregation model. It allows users to explore ethnic diversity in terms of number of groups and the relative sizes of each group, specify ethnic preferences, specify the level of socio-economic inequality within and between ethnic populations and to specify agents preferences for neighbourhood status and housing quality within a cellular space. Neighbourhoods are bounded by larger areas to evaluate neighbourhood ethnic mix and agents can only move to areas where they can afford.If you interested in segregation, there are a whole host of other models available on the internet. For example Schelling Segregation Model created by Chris Cook, written is C# (the source code is available), A java applet created by Raj Singh, A NetLogo model or a Repast model created byGirardin et al., (2006) .
Fossett, M. and Senft, R. (2004), 'SIMSEG and Generative Models: A Typology of Model-Generated Segregation Patterns', Proceedings of the Agent 2004 Conference on Social Dynamics: Interaction, Reflexivity and Emergence, Chicago, USA, pp. 39-78, Available at http://www.agent2005.anl.gov/Agent2004.pdf
Joana Simoes, has recently completed a PhD at CASA. Her thesis was on An Agent-Based Approach to Spatial Epidemics through GIS in which she simulated the diffusion of mumps in Portugal in the late 1990s at regional and local level using a SEIR (susceptible- exposed- infected removed) infection model built in a spatial network of small worlds. The model she created is called EpiSIM written in C++. Two sets of libraries were used to build this software: Qt, for the graphical API and Shapelib for accessing geographic data. Further information can be seen on the project website and on Joana’s personal website.