Implementation of search algorithms, BFS (Breadth First Search) and DFS (Depth First Search), to solve the NQueens problem.
Before running the application, make sure you have these softwares in your machine:
- Python3
- Default execution (8 queens and DFS algorithm):
$ python3 main.py
-
Specifying the search algorithm:
- BFS (Breadth First Search):
$ python3 main.py --search_algorithm BDF
- DFS (Depth First Search):
$ python3 main.py --search_algorithm DFS
-
Specifying the number of queens:
$ python3 main.py --queens_number 8