Requirements may be installed via pip install -r requirements.txt
from within the package folder.
- Generate files and nodes files using
python gen_test_data.py -o OUTPUT_FILENAME -n NUM_DATA
- Run solution using
python solution.py -f INPUT_FILES_FILENAME -n INPUT_NODES_FILENAME
- Help for either function (include optional arguments for plotting, etc.) can be
shown using
python gen_test_data.py --help
orpython solution.py --help
- Plot the results using
python solution.py -f INPUT_FILES_FILENAME -n INPUT_NODES_FILENAME --plot
orpython solution.py -f INPUT_FILES_FILENAME -n INPUT_NODES_FILENAME --plotly
(for matplotlib and plotly, respectively)
A web implementation of this package is available at https://filenode-distributor.herokuapp.com/