Project comparing heuristic methods on activity-dependency problems. Implementation was done using Python for the Heuristic Algorithms course at FNSPE CTU.
The core dependencies for the HMADP project are:
- Python - version 3.9.6 or newer.
The dependencies for HMADP are the following Python packages:
- matplotlib - for visualizing problem timelines
- nose2 - for unit tests
- nose2-cov - for test coverage (with reports etc.)
- numpy - for various operations during visualization
- sphinx - for generating the documentation
They can be installed using the init
task predefined in Makefile
:
$ make init
Unit tests are written using the nose2
testing framework. They can be run using the following tasks predefined in
Makefile
:
# Run tests only
$ make tests
# Run tests with coverage
$ make tests_coverage
# Run tests with coverage and output the results into a html report
$ make tests_coverage_report
To remove the generated coverage report run:
$ make clean
Documentation is generated using
sphinx. To build the documentation go
to docs/
and run the following predefined task:
$ make html
To remove the documentation generate in docs/build/
execute the following in docs/
:
$ make clean
The project was developed using Visual Studio Code. In an effort to produce conventional and somewhat correct code, a selection of Visual Studio Code extensions and non-default settings were employed.
Files: Trim Trailing Whitespace
- Trim the trailing whitespace at the end of a line when saving a file.