2024-05-10 18:39:26 +02:00
|
|
|
Required packages:
|
2024-05-10 19:41:13 +02:00
|
|
|
pygame,matplotlib,sklearn,pandas
|
2024-05-10 18:39:26 +02:00
|
|
|
How to install:
|
|
|
|
pip install pygame
|
|
|
|
pip install matplotlib
|
2024-05-10 19:41:13 +02:00
|
|
|
pip install scikit-learn
|
2024-06-07 15:29:26 +02:00
|
|
|
pip install pandas
|
|
|
|
How to run:
|
|
|
|
For BFS3:
|
2024-06-09 18:33:50 +02:00
|
|
|
-in App.py: -change bfs3_flag to True (other flags need to be disabled) -ensure that in App.py in BFS3 you give goalTreasure
|
2024-06-07 15:29:26 +02:00
|
|
|
-in Image.py change range in function return_random_plant to (0,5)
|
|
|
|
For Astar:
|
|
|
|
in App.py change Astar to True (other flags need to be disabled)
|
|
|
|
-in Image.py change range in function return_random_plant to (0,7)
|
|
|
|
For Astar2:
|
|
|
|
-in App.py change Astar2 flag to True (other flags need to be disabled)
|
|
|
|
-in Image.py change range in function return_random_plant to (0,7)
|
|
|
|
For Tree:
|
|
|
|
-in App.py change TreeFlag to True (other flags need to be disabled)
|
|
|
|
-in Image.py change range in function return_random_plant to (0,5)
|
|
|
|
For neuralnetwork:
|
|
|
|
-in App.py change nnFlag to True (other flags need to be disabled)
|
|
|
|
For final_show (neuralnetwork+tree+genetic algorithm)
|
|
|
|
-in App.py change finalFlag to True (other flags need to be disabled)
|