Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Other

COS2611 Assignment 4 solutions 2025

Rating
-
Sold
2
Pages
10
Uploaded on
18-09-2025
Written in
2025/2026

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

Show more Read less
Institution
Course

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.

Written for

Institution
Course

Document information

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

Subjects

$6.02
Get access to the full document:

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

Get to know the seller

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 Teachme2-tutor
Follow You need to be logged in order to follow users or courses
Sold
59
Member since
1 year
Number of followers
1
Documents
36
Last sold
2 months ago
intell

4.8

8 reviews

5
6
4
2
3
0
2
0
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

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

Student with book image

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

Alisha Student

Frequently asked questions