Simulator for Causal Block Diagrams

rparedis 3a65cad8aa More Latex debugging and cleaner solution 3 yıl önce
doc 31c116b3f7 LaTeX generator v2 fully completed now 3 yıl önce
examples 3a65cad8aa More Latex debugging and cleaner solution 3 yıl önce
src 3a65cad8aa More Latex debugging and cleaner solution 3 yıl önce
.gitignore ec8a62a682 Tested C gen 4 yıl önce
CBD-startingpoint.zip 36dc8eff63 Bugfixes + plotting extensions + LotkaVolterra example 4 yıl önce
README.md 20a1dfa6a0 First work on C conversion 4 yıl önce
docs.sh 50acbb065b Bugfixes 4 yıl önce
requirements.txt bb8df13c2a Changes to docs + P2 compatibility 4 yıl önce
test.sh ec562b52c7 Swapped src/CBD directory names to allow for setup.py 4 yıl önce
whishlist.txt 8f7844e583 Added adaptive step size docs 4 yıl önce

README.md

CBD Simulator Framework

 Copyright the Modelling, Simulation and Design Lab (MSDL)
           http://msdl.cs.mcgill.ca/

 Author(s): Marc Provost
            Hans Vangheluwe
            Joachim Denil
            Claudio Gomes
            Randy Paredis
  
 Purpose: simulates CBD models in Python.

 Requires Python version >= 2.7 or >= 3.6

Installation and Updates

The simulator can easily be installed with one of the following commands, from the src directory (one of the following options suffices).

# OPTION 1:
python setup.py install --user

# OPTION 2:
pip install .

# OPTION 3:
python -m pip install .

Note that these commands assume python and pip refer to either Python 2 or Python 3, depending on your system.

Note: Some editors allow you to "mark" a directory as a source root. Use this option in your favorite IDE to use the library in a project without the need for installing it. Alternatively, the src directory could also be added to the PYTHONPATH variable.

To update your version to the newest simulator version, obtain the latest version from the repository and run one of the above commands once more.

Documentation

Take a look at the documentation (in the doc/ folder) for more details on this framework. This includes detailed API descriptions, use cases and examples (both simple and complex).

The HTML-version of the documentation can be built from within the doc/ folder with the make html command.