[SOLVED] CS293 Lab 11

34.99 $

Category: Tags: , , , , , , , , , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon L11-h0a04n.zip (234.5 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (1 vote)

Given the source station and the set of destination stations the passenger wants to visit over a month, you are required to use the idea of a minimum spanning tree (but with appropriate modifications) find the minimum-cost travel plan for the passenger, where the cost of

You must also print the total cost of the monthly plan, i.e. the sum of all the monthly train journey costs and the monthly transit costs at all stations where a change of trains happens for some journey.
In case there are multiple monthly plans with the same minimum cost, you can print any one of them.
To compile the planner, please use g++ -g -o planner main.cpp
To debug, please use gdb ./planner on Linux or lldb ./planner on Mac

  • L11-h0a04n.zip