• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 10 pages
Other

COS2611 Assignment 4 solutions 2025

Document preview thumbnail
Preview 2 out of 10 pages

COS2611 Assignment 4 solutions 2025 0-7-9-3-2-2-6-4-2-7 if need help on how to submit and what to submit, how to save the file for submittion reach out. all instructions are followed and structured correctly. if need ms word document to easly edit reach out

Content preview

COS2611 Assignment 4 solutions 2025




Smart City Route Management System
Course:
Assignment: Smart City Route Management System — Implementation and Report
Student Name:
Student Number:
Date: 18 September 2025



Cover Page & Declaration
I declare that this submission is my own work and that I followed the requirements of the
assignment brief. All code and documentation were written by me unless otherwise
referenced.
Signature: ____________________

, Table of Contents
1. Background
2. Requirements (brief)
3. Approach and Design
4. Data Structures & Algorithms Used
5. Program Source Code (C++)
6. How to compile and run
7. Sample Inputs & Outputs (Demonstration)
8. Limitations and Possible Extensions (including optional AI)
9. Conclusion
10. References


1. Background
Cities require efficient transport routes to reduce travel times, congestion, and costs. This
project implements a route management system in C++ that models city intersections
(nodes) and routes (edges) and finds optimal routes using graph algorithms.

2. Requirements (brief)
• Implement in C++.
• Use appropriate data structures to represent the network (graph).
• Provide functions: add node, add edge, update route, find shortest route.
• Implement Dijkstra’s algorithm (and helper utilities).
• Print clear outputs.
• Submit source code and a report (this document).

3. Approach and Design
• Representation: A weighted directed graph using adjacency lists.
• Node IDs: Strings (e.g., “A”, “B”, “Intersection_12”).
• Edge weights: represent travel cost (distance, time or combined metric). For
simplicity this implementation uses integer weights (imaginable as minutes).
• Algorithms: Dijkstra for shortest path; simple comparison between two found
routes.
• Menu-driven console program: allows adding nodes, adding/updating edges,
querying shortest path, comparing routes, and showing the current graph.

Document information

Uploaded on
September 18, 2025
Number of pages
10
Written in
2025/2026
Type
Other
Person
Unknown
R100,00

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TsireT
4,8
(9)
Sold
66
Followers
1
Items
52
Last sold
1 month ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions