Skip to content

The GeoSim mobility model simulate the movement of people in cities taking individual and social preferences into account.

License

Notifications You must be signed in to change notification settings

jamesonthecrow/geosim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GeoSim

The GeoSim mobility model simulate the movement of people in cities taking individual and social preferences into account.

Dependencies

GeoSim requires numpy, matplotlib, and networkx to run.

Example

To run the mode with the sample network run the following code block in python:

import geosim

params = {
			'rho': lambda: 0.6,
			'gamma': 0.6,
			'alpha': lambda: numpy.random.exponential(0.2),
			'beta': 0.8,
			'tau': 17.0,
			'xmin': 1.0,
			'network_type': 'real',
			'fname': 'sample_network.pickle',
			'nusers': 100,
			'nlocations': 250,
			'ncontacts': 20,
			'nsteps': 5001
	}
model = geosim.GeoSim(params)
model.run()

About

The GeoSim mobility model simulate the movement of people in cities taking individual and social preferences into account.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages