mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-04 16:03:11 +02:00
git-subtree-dir: Programming/EARIN git-subtree-mainline:635e287095git-subtree-split:a09c96dd65
21 lines
844 B
Plaintext
21 lines
844 B
Plaintext
To run the program install python, go to project repository and just run python main.py:
|
|
python main.py
|
|
|
|
you can specify the name of the file which stores maze by typing:
|
|
python main.py mazeFile.txt
|
|
|
|
python main.py -h --help print help prompt
|
|
|
|
python main.py -t --test non interactive (does not print steps) for testing
|
|
different heuristics, goes through entire generatedMazes folder and
|
|
compares heuristic speed and path length, saves solved mazes to solvedMazes folder
|
|
|
|
python main.py -t --test [FOLDER] non interactive (does not print steps) for testing
|
|
different heuristics, goes through entire [FOLDER] folder and
|
|
compares heuristic speed and path length, saves solved mazes to solvedMazes folder
|
|
|
|
python main.py -g --generate [NUMBER] - generates as many mazes as entered in
|
|
Number parameter and puts it in the generatedMazes folder
|
|
|
|
|