-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1st stable version of the program #21
Open
EnzoGuillouche
wants to merge
58
commits into
main
Choose a base branch
from
dev
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Set up the REST API project with the following file structure: - `Src/Api`: Contains core REST API logic. - `Src/Api/JsonXml`: Includes JSON and XML response formatting logic. - `Src/Api/Algorithm`: Placeholder for backend pathfinding logic. - `Headers`: For input handling and display functionalities. - Implemented a multi-platform REST API server with: - Conditional compilation for Windows and POSIX systems. - Multithreaded client handling using `std::thread`. - Basic error handling and dynamic response formatting. - Placeholder logic for backend functionality.
added main menu and 'find my way' menu created start.sh for mac users
created output.exe(build), enhanced api functionality, added parsing for USA-roads.csv
An error handling system is implemented.
added credits and completed it exception handling in 'find my way' menu handleException is now a function to avoid big copy paste
The algorithm to calculate the quickest path has been implemented, but needs some improvements. A program that loads the dataset has been also created, but will need to be linked with the server.
in 'find my way' menu, after entering the start and end point, let the user choose if they want to continue, re-enter the start and end point or exit after doing the calculation, let the result display and the user to choose when they want to exit if we want to go to the say point, why bothering calculate the quickest path when you have to stay ? :) well it's fixed :D
./vscode does not contain personal information
The program now outputs the correct travel time beside the ordered list of edges.
changes everywhere in the interface :)
The path is no longer displayed on the console, but is converted into JSON data in the Bin folder
The XML format is now supported for outputs. To include all libraries, start files needed to be modified.
While entering the landmark IDs of your choice onto the console, you now cannot enter an ID that is not a landmark ID in the dataset.
…e it more readable
The libraries used for the project need to be within the project directory, to prevent independent OS issues.
Initial API Implementation
The API now handles the algorithm, and is perfectly linked with the main program. (needs to be tested on Windows)
a for loop to recreate the graph has been deleted modifications were done to properly make the algorithm work
Restapi Working version for Windows
Optimized algorithm into dev (waiting less :D)
EnzoGuillouche
added
enhancement
New feature or request
high
High priority level
dev
Development related
labels
Jan 22, 2025
Evan-UHRING
approved these changes
Jan 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 :D
All the files have been moved to their appropriate location.
You can launch the server and the client together with the pathQuickLauncher file, and still launch both files separately.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request stands for merging the first stable version of the program.
Features:
The server needs to be online to calculate the quickest path.
Don't hesitate to request changes if the program needs to be modified 😁