# 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 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. Beyond the core, the library offers many specialized implementations that may be used as appropriate, but can equally well be replaced with alternative implementations. The library name, Eris, is the name of the Greek goddess of chaos. ## Requirements - [boost](http://www.boost.org/); only the Math component is needed (and only during compilation). - [Eigen](http://eigen.tuxfamily.org/) - A C++ compiler supporting the C++11 standard, such as [clang](http://clang.llvm.org/) (3.3+) or [g++](https://gcc.gnu.org/) (4.9+) ## Compiling To compile on a unix-like system, create a new build directory somewhere, then from this directory run: cmake /path/to/eris make -j4 You can install directly to the system (usually under /usr/local) using: make install or alternatively build a .deb package to install using one of: make package followed by an appropriate package command to install the resulting package (for example, on Debian/Ubuntu: dpkg -i eris_x.y.z~gityyyymmdd~tag_amd64.deb). You may also be able to use: cpack -G RPM to generate a .rpm package instead of a .deb, but this functionality is untested by the author. ## 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 . ## Author Jason Rhinelander -- [e-mail](mailto:jason@imaginary.ca), [homepage](https://imaginary.ca)