Giter Club home page Giter Club logo

agents.jl's Introduction

Agents.jl: agent-based modeling framework in Julia

Agents.jl

status Build Status codecov

Agents.jl is a Julia framework for agent-based modeling (ABM). It provides a structure and components for quickly implementing agent-based models, run them in batch, collect data, and visualize them. To that end, it provides the following functionalities:

  • Simple, concise and extendable API for running ABMs.
  • Default grids to run the simulations, including simple or toroidal 1D grids, simple or toroidal regular rectangular and triangular 2D grids, and simple or toroidal regular cubic 3D grids with von Neumann or Moore neighborhoods.
  • Several different default schedulers.
  • Running the simulations in parallel on multiple cores.
  • Automatic data collection in a DataFrame at desired intervals.
  • Batch running and batch data collection.
  • Visualizing agent distributions on grids.

Julia is a language that is especially suitable for ABMs, because a) it runs fast, b) it is easy to express your ideas in and quick to write, and c) it has rich and easy-to-use packages for data analysis.

Agents.jl is lightweight and modular. It has a short learning curve, and allows one to extend its capabilities and express complicated modeling scenarios. Agents.jl was initially inspired by the Mesa framework for Python, but is up to 13 times faster than Mesa while using much less lines of code, as we demonstrate in our documentation.

Installation

Install using the following command inside Julia:

]add Agents

It is compatible with Julia 0.7+.

For a tutorial, read the docs:

Contributions

Any contribution to Agents.jl is welcome in the following ways:

  • Modifying the code or documentation with a pull request.
  • Reporting bugs and suggestions in the issues section of the project's Github.

Previewing Documentation Edits

Modifications to the documentation can be previewed by building the documentation locally, which is made possible by a script located in docs/make.jl. The Documenter package is required and can be installed by running import Pkg; Pkg.add("Documenter") in a REPL session. Then the documentation can be built and previewed in build/ first by running julia docs/make.jl from a terminal.

Citation

If you use this package in a publication, please cite the paper below:

R. Vahdati, Ali (2019). Agents.jl: agent-based modeling framework in Julia. Journal of Open Source Software, 4(42), 1611, https://doi.org/10.21105/joss.01611

agents.jl's People

Contributors

kavir1698 avatar datseris avatar def-mycroft avatar marcelovmaciel avatar imgbot[bot] avatar imgbotapp avatar jedbrown avatar mvmaciel-fitec avatar suzil avatar mbaz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.