Question: REQUIREMENTS: Must submit a C + + program that compiles on the CSE CELL Machines. Failure to provide such will result in a ZERO for
REQUIREMENTS:
Must submit a C program that compiles on the CSE CELL Machines.
Failure to provide such will result in a ZERO for your final grade No Partial Credit
Must cite any external resources used in a Header Comment in the appropriate files
Failure to provide external resources results in a reduction in your final grade.
Main.cpp: driver code
Each functionality must have their own function.Each section is marked accordingly.
Graph.cpph
Adjacency List MUST BE PRESENTEach functionality must have it's own function.Each section is marked accordingly.
Additional Object Declarations are optional, but must be in their own cpp and h files.
For example not limited to:
Vector.cpphEdge.cpph
Create an Adjacency List inside a Graph class from User Input. Points
Example Prompt:
How many Vertices are in this Graph? NonNegative Values
For Vertex : who are their Neighbors? stops inquiry
For Vertex : who are their Neighbors? stops inquiry
Other supporting Data Structures are permitted, but the Adjacency List inside a Graph ObjectClass is REQUIRED! no partial credit
This functionality can be inside the Graph.cpp file, but must be inside a separate function.
Failure to do this will result in at most HALF credit for this feature.
Print the Adjacency List to the screen. POINTS
Example Prompt for a Graph of Vertices:
:
:
:
:
:
This functionality can be inside the Graph or Main cpp files, but must be inside a separate function.
Failure to do this will result in at most credit for this feature.
Prompt the user for a walk from v to vL and test if the provided walk is valid. POINTS
Example Prompt:
Input walk sequence of alternating vertices that starts and ends with a vertex: stops input
WALK NOT VALID!
Input walk sequence of alternating vertices that starts and ends with a vertex: stops input
WALK IS VALID!
This functionality can be inside the Graph or Main cpp files, but must be inside a separate function.
Failure to do this will result in at most HALF credit for this feature.
Test and Prompt valid Walk Sequence Properties: POINTS
OpenClosed
Trail
Path
Circuit
Cycle
Example Prompt:
The Walk Sequence has the following properties:
OPEN
TRAIL
This functionality can be inside the Graph or Main cpp files, but must be inside a separate function.
Failure to do this will result in at most HALF credit for this feature. Create an Adjacency List inside a Graph class from User Input. Points
Example Prompt:
How many Vertices are in this Graph? NonNegative Values
For Vertex : who are their Neighbors? stops inquiry
For Vertex : who are their Neighbors? stops inquiry
Other supporting Data Structures are permitted, but the Adjacency List inside a Graph ObjectClass is REQUIRED! no partial credit
This functionality can be inside the Graph.cpp file, but must be inside a separate function.
Failure to do this will result in at most HALF credit for this feature.
Print the Adjacency List to the screen. POINTS
Example Prompt for a Graph of Vertices:
:
:
:
:
:
This functionality can be inside the Graph or Main cpp files, but must be inside a separate function.
Failure to do this will result in at most credit for this feature. Prompt the user for a walk from v to vL and test if the provided walk is valid. POINTS
Example Prompt:
Input walk sequence of alternating vertices that starts and ends with a vertex: stops input
WALK NOT VALID!
Input walk sequence of alternating vertices that starts and ends with a vertex: stops input
WALK IS VALID!
This functionality can be inside the Graph or Main cpp files, but must be inside a separate function.
Failure to do this will result in at most HALF credit for this feature. Test and Prompt valid Walk Sequence Properties: POINTS
OpenClosed
Trail
Path
Circuit
Cycle
Example Prompt:
The Walk Sequence langle has the following properties:
OPEN
TRAIL
This functionality can be inside the Graph or Main cpp files, but must be inside a separate function.
Failure to do this will result in at most HALF credit for this feature.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
