• 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 34 pages
Other

Cos2611 Final Project Solution(Assignment 5) year 2026

Document preview thumbnail
Preview 2 out of 34 pages

Project question 1. Project Overview Municipalities and local authorities across Southern Africa are responsible for responding to incidents that affect communities. These incidents may include problems relating to water, electricity, roads, sanitation and public facilities. When several incidents are reported at the same time, an operations centre needs to decide which incidents require attention, which response teams are available, and how a response team can reach the affected location. For this project, you have been asked to develop a Municipal Incident Response System for a fictional municipal operations region in Southern Africa. The region consists of real Southern African locations connected by roads. A limited number of response teams are available to deal with reported incidents. Your task is to design and implement a C++ program that assists the municipality in managing and responding to these incidents. Important There is more than one possible way to design a solution to this problem. You are expected to analyse the problem, decide how the information should be represented and determine appropriate ways of processing the information. You are not being given a prescribed data structure or algorithm for solving the problem. 2. Project Scenario The municipal operations centre receives reports of incidents occurring at different locations within its area of responsibility. Each incident has a type and severity, and each incident occurs at one of the locations in the region. The municipality has a limited number of response teams. Each team has a particular capability and is currently located at one of the locations in the region. The locations are connected by roads, and the roads have associated travel times. The operations centre therefore needs a system that can help it answer questions such as: What incidents are currently open? Which incidents should receive attention first? Which response teams are suitable for a particular incident? How can a response team reach an incident location? What is the current status of an incident or response team? Your program must provide functionality that assists the operator with these types of decisions. 3. Locations The system must contain 10 real locations in Southern Africa. You must select the 10 locations that will form part of your scenario. The locations may be selected from South Africa or neighbouring Southern African countries. However, the selected locations should form a plausible geographical region for the purposes of the project. Each location must have: a unique identifier; a real location name. The names of the selected locations must be hard-coded in your program. You may not invent locations for the purpose of satisfying this requirement. Real-world data You must conduct appropriate research to identify your selected locations and the road connections between them. The sources used to establish your locations and road connections must be recorded in comments in your C++ source file. For example: // Real-world data sources: // Source 1: ... // Source 2: ... You do not need to submit separate source documents.

Content preview

COS2611 FINAL PROJECT 2026
OUTPUT SAMPLE

, COS2611 FINAL PROJECT 2026




SAMPLE CODE
#include <iostream>// for cout and cin
#include <vector>//for vectors
#include <string>// for string
#include <algorithm>//for reverse
#include <iomanip>//set and left
#include <cstdlib> // rand(), srand()
#include <sstream> //for stringstream


using namespace std;


const int ROADS_NUMBER = 16;//Number of road connections
const int TEAMS_NUMBER = 6;//Number of response team
const int INCIDENTS_NUMBER = 10;//Number of incidents
const int LOCATIONS_NUMBER = 10;//Number of locations


const unsigned int SEED = 100;
const int INFINITE = 200000;


struct Location
{
int uniqueID;
string location_name;

Document information

Uploaded on
September 7, 2026
Number of pages
34
Written in
2026/2027
Type
Other
Person
Unknown
R159,33

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.
foxNotes
4,9
(9)
Sold
150
Followers
63
Items
51
Last sold
3 weeks 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