This Android App is a visualization tool for the Dijkstra's algorithm, a popular algorithm in graph theory used to find the shortest path between two nodes in a graph.
To install Visualizer-Android, you can either download the APK file from the "Releases" section of this repository, or you can clone the repository and build the app from source using Android Studio.
-
Open a terminal and navigate to the directory where you want to clone the repository.
-
Run the following command to clone the repository:
git clone https://github.com/huhu72/Visualizer-Android.git
- Open Android Studio and select "Open an existing Android Studio project"
- Navigate to the directory where you cloned the repository and select the "Visualizer-Android" directory.
- Wait for Android Studio to finish building the project.
- Connect an Android device to your computer, or use an emulator to run the app.
- Click the "Run" button in Android Studio to build and run the app on the selected device.
To use the application, follow these steps:
- Click the "Start" button to enable node selection mode.
- Click any square to set it as the starting node.
- Click the "End" button to enable end node selection mode.
- Click any square to set it as the ending node.
- Click the "Wall" button to enable wall node selection mode.
- Click any square to set it as a wall node.
- Click the "Run" button to run the algorithm and visualize the shortest path between the start and end nodes.
- To reset the grid, click the "Reset" button.
If you want to contribute to Visualizer-Android, feel free to fork the repository and submit a pull request. Make sure to follow the coding style and guidelines outlined in the repository.
Visualizer-Android is licensed under the MIT License. See LICENSE for more information.