Graph Voyager is a Python program that explores various search algorithms on the Romania Map. The program provides an interactive interface for selecting different search algorithms to find paths from a source location to a goal location.
Note: It's only to demonstrate how search algorithms work.
- Breadth-First Search (BFS)
- Uniform Cost Search (UCS)
- Depth-First Search (DFS)
- Depth-Limited Search (DLS)
- Iterative Deepening Search (IDDFS)
- Bidirectional Search (BDS)
- Greedy Best-First Search (GBFS)
- A* Search
- Create the Virtual Environment:
Open your terminal and run the following command to create a virtual environment:python -m venv .venv
- On Windows:
.venv\Scripts\activate
- On macOS/Linux:
source .venv/bin/activate
pip install -r requirements.txt
python main.py
Note 1: Make sure to activate the virtual environment every time you start working on the project to ensure that the correct dependencies are used.
Note 2: There's a precompiled binary in the Releases section you can download here
- Run the program, you can downloada prebuilt release from the releases page.
- Select the desired search algorithm from the available options.
- Specify the source and goal locations.
- Press Search.
- Mohamed Darwesh @medovanx
Feel free to contribute and enhance Graph Voyager by adding more algorithms or improving the existing ones. Happy graph traversing!