Question: Task Description - SPLIT PROJECT INTO 3 PARTS: CLIENT - USER IO AND FILE IO AND DIGRAPH PATHFINDING. I only need the client part of

Task Description-SPLIT PROJECT INTO 3PARTS: CLIENT-USER IO AND FILE IO AND DIGRAPH PATHFINDING.
I only need the client part of the project.
Construct a data input file containing the representation of the graph pictured belowa "DIGRAPH". The "DIGRAPH" vertices labels are the integer in each node circle. Arrows indicate edge directions. Edges without arrowheads are bidirectional and exist as two directed edges.
Your program is to accept a single command line argument when invoked being the data file name. Your program will then read the file contents into memory (using your designed dynamic memory-based data storage structure).It would be unwise to code your data structure based on the assumption that the graph size is limited to what is pictured below. The test/demo graph may be larger (have extra nodes).
Once the program reads the file data, close it,you may not read from it again. Your program will then prompt the user for three source vertices and destinations. Sample interaction:
Provide 3sources: 71926
Destination I?: 32
Shortest Path I from vertex "Number"
Shortest Path 2from vertex ^(**)Number ^(**):
Shortest Path 3from vertex "Number":
Destination 2?: 22
Shortest Path I from vertex "Number":
Shortest Path 2from vertex ^(**)Number":
Shortest Path 3from vertex "Number":
Destination 3?: 3
Shortest Path I from vertex "Number"
Shortest Path 2from vertex ^(**)Number ^(**):
Shortest Path 3from vertex "Number":
Program termination
Upon a negative value user input the program will terminate, to do so it must:
Write a properly formatted log file of all interaction from invocation to termi-nation
For each Shortest path in the log it should also present running time of the
calculation in nanoseconds
De-allocate all dynamically allocated memory
Record the overall runtime in seconds
Record the date and time of the run
Display a termination message on the screen
Code Implementation Constraints:
Assume all libraries are blacklisted, exceptions are listed below, you may use all or a subset of the exceptions list contents.
fstream
iomanip
iostream
cstdlib
cassert
cstring
chrono and the chrono namespace
Please note that the exceptions list libraries contain some algorithms these are also blacklisted. Every action performed by your solution must a result of code you designed and implemented.
Task Description - SPLIT PROJECT INTO 3 PARTS:

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 Programming Questions!