Discrite event simulator for OpenStreetMapX.jl
The goal of this package is to provide a mechanism for multi-agent simulation of cities.
Documentation | Build Status |
---|---|
Linux and macOS |
- DEV — documentation of the development version.
The current version uses Julia 1.0
using Pkg
Pkg.add("OpenStreetMapX")
Pkg.add(PackageSpec(url="https://github.com/pszufe/OpenStreetMapXDES.jl"))
Note that on Linux platform you need to separately install libexpat
used by OpenStreetMapX
.
N = 100;
iter = 1;
λ_ind = 0.4;
λ_soc = 0.2;
l = 5.0;
map_data = OpenStreetMapX.get_map_data(datapath, mapfile);
sim_data = get_sim_data(map_data,N,l);
@time run_simulation!(sim_data,
λ_ind,
λ_soc,
iter)