a console-based program for efficiently finding the nearest pizza shop or a specific pizza shop using KD-Tree.
Our project in DS (Data Structure) with C++ programming language.
-
Clone the Repository
If you have Git installed, run the following command in your terminal
git clone https://github.com/Mr-MRF-Dev/Pizza-Finder.git
Alternatively, If You Have Github CLI installed:
gh repo clone Mr-MRF-Dev/Pizza-Finder
-
Navigate to the Project Directory
cd ./Pizza-Finder
-
Create a build directory
mkdir build cd build
-
Generate the Makefiles & Build the project (With Cmake)
cmake .. make
or use MinGW Makefiles
cmake .. -G "MinGW Makefiles" mingw32-make
-
Run Project!
.\Pizza.exe
-
Install the CMake Tools extension from the VS Code marketplace.
-
Create a CMake Project: Open the Command Palette (
Ctrl+Shift+P
), typeCMake: Quick Start
, and follow the prompts to set up a new project. (I suggest you use theCreate From Compilers
) -
Configure the Project: Open the Command Palette (Ctrl+Shift+P), type CMake: Configure, and select it.
-
Run and Debug: Use the Command Palette to select
CMake: Debug
to start debugging. or selectCMake: Run Without Debugging
.
π Request for Proposal ( RFP )
A simple RFP for this project.
Add Area
: Add a new area.Add Pizza Shop
: Add a new main pizza shop.Add Branch
: Add a new branch to a pizza shop.Delete Branch
: Remove a branch from a pizza shop.List Pizza Shops
: List pizza shops in a neighborhood.List Branches
: List branches of a pizza shop.Find Nearest Pizza Shop
: Locate the nearest pizza shop.Find Nearest Branch
: Locate the nearest branch of a pizza shop.List Available Pizza Shops
: List pizza shops in an area.Most Branches
: Identify the pizza shop with the most branches.Undo Orders
: Undo selected orders.Exit
: Quit the program
we welcome any contributions you may have. If you're interested in helping out, fork the repository and create an Issue and PR.
This project is licensed under the MIT License. See the LICENSE file for details.