Skip to content

erisproject/eris

Repository files navigation

Eris - agent-based economic modelling library

Description

Eris is a C++ library designed for simulating “economies“ consisting of agents who follow programmable rules, with the intention of deriving complex macro-level behaviour that is an emergent property of agent interaction. This project provides no implementation itself, but is intended to be used as the basis of an agent-based model. See the creativity project for a working example of a moderately complex ABM built using eris.

This project was motivated by the inadequacy of mathematical models, which often impose severe constraints on agents in the name of tractability.

At its core, this library imposes few constraints on the behaviour of agents. Individuals agents can, for instance, be programmed to be ultra-rational, or can be “dumb” in the sense of following only simple rules of thumb. The behaviours and means of interacting are left to packages developed using this library.

Beyond the core, the library offers many specialized implementations that may be used as appropriate, but can equally well be ignored, enhanced, or replaced with alternative implementations.

The library name, Eris, is the name of the Greek goddess of chaos.

Documentation

Library overview

See the Eris overview documentation for an introductory overview to how the library works.

API documentation

The API documentation can be built from the source code, as described in the Compiling section below, and is also available at https://imaginary.ca/eris/api/. A good place to start is the eris::Simulation class, and the classes in the eris::interopt and eris::intraopt namespaces.

See also the various classes of the creativity ABM for a working example of a moderately complex agent-based model.

Compiling

Requirements

  • boost
  • liblzma
  • Eigen, version 3.2.7 or above.
  • A C++ compiler supporting the C++14 standard, such as clang (3.4+) or g++ (5+)

If you wish to build the HTML API documentation, additional requirements are:

Building

To compile on a unix-like system, create a new build directory somewhere, then from this directory run:

cmake /path/to/eris-src
make -j4

You can install directly to the system (usually under /usr/local) using:

make install

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Author

Jason Rhinelander -- e-mail, homepage

About

Eris - agent-based economic modelling library

Resources

License

Stars

Watchers

Forks

Packages

No packages published