Question: REII 2 1 1 Practical: Shortest Path on a Graph Using Dijkstra's Algorithm Overview In this practical, you will write a C program to find

REII 211 Practical: Shortest Path on a Graph Using Dijkstra's Algorithm
Overview
In this practical, you will write a C program to find the shortest path on a graph using Dijkstra's algorithm. You will also write a short report documenting your work.
Instructions
Graph Representation:
The graph will be represented as a CSV file where each row represents an edge with the following format: Vertex1, Vertex2, Weight'.
2. Menu Options:
Your program should provide the following menu options:
Add a new graph to be saved in CSV format.
Choose to work with a specific graph from the saved CSV files.
Choose to find the shortest path based on the active graph from the CSV.
Adding a New Graph:
Prompt the user to enter the details of the new graph (vertexes and weights).
Save the graph in a CSV file.
Working with a Specific Graph:
List all CSV files in a specific folder directory dynamically.
Prompt the user to choose a file to import.
Finding the Shortest Path:
Prompt the user to enter the start and end vertexes.
Use Dijkstra's algorithm to find the shortest path.
Display the path and its total weight.
Report:
Write a short report documenting your practical. The report should include the following headings:
Introduction
Graph Representation
Algorithm Implementation
Results and Discussion
Conclusion
 REII 211 Practical: Shortest Path on a Graph Using Dijkstra's Algorithm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!