AI_PROJECT/readme.txt

24 lines
1.1 KiB
Plaintext

Required packages:
pygame,matplotlib,sklearn,pandas
How to install:
pip install pygame
pip install matplotlib
pip install scikit-learn
pip install pandas
How to run:
For BFS3:
-in App.py: -change bfs3_flag to True (other flags need to be disabled) -ensure that in App.py in BFS3 you give goalTreasure
-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)