Data Structures EC-200: Wireless Network
Data Structures EC-200: Wireless Network
d Marks Marks
R1 Functionality 30
30 %
R2 Specification & Efficient 60
Data Structure
DATA STRUCTURES
implementation
60 %
R3 EC-200
Documentation
10 %
10
R4
Wireless Network
In Time Submission 1
R5 Plagiarism 1
Course R6 Viva 1 Instructor:
Lecturer Anum Abdul Salam
1.1. Methodology
As mentioned in the Section 1, the Wireless Network can be represented via the Graph or
more Specifically UDG. Including the representation for the Graph in this project was
crucial therefore the given problem solved well using the Adjacency List representation
of the Garph,therefore further modification in the Graph Class was required ,such that
distributing the Vertices randomly(which represents the nodes in the
Network),Connecting the nodes that are withing range of 1unit through the edges. A part
from the basic representation of the Graph in C++, certain modification was required, i.e.
finding out the
Shortest Path or more Specifically shortest distance between the source and the
destination channel. Therefore, certain algorithms had designed for the project, the flow
chart diagram is included in the Report in the Section 2
Flow Chart “Shortest Path”
Figure 2.1: Flow Chart Shortest Path
1.2. Results
2. Conclusion
Analyzing the problem in the first sight can be imagined as the toughest task, but
breaking down the problem in to the small pieces and then solving it can make the given
task easy therefore after analyzing ,Designing ,connecting and linking the different parts
of the program, certain new ideas and design “how the different problems can be
represented ,or how it can be solved “.While designing the problem ,as mentioned in the
Section 2 that algorithms are designed for this problem, so the knowledge of how
algorithm can be used to represent the Scenario, how the things will be going on?, what is
required to accomplish the task?... is introduces after implementation. Apart from the
above discussion, many resources helped a lot in this Project. The references are given in
the Section 4.
The Design of the projects revolves upon the four pillars
1): Defining the basic structure of the Nodes
2): Making the Links of these Nodes
3): Presenting all the functionality which is essential in the Graph representation
4): Inserting the edges and vertices to meet up to the requirement of the situation
3. References
(2019, November 23). Retrieved from GeeksforGreek: https://www.geeksforgeeks.org/printing-
paths-dijkstras-shortest-path-algorithm/
Pradhun, S. (2017, March 20). rand() and srand() in C/C++. Retrieved from GeeksforGeeks:
https://www.geeksforgeeks.org/rand-and-srand-in-ccpp/
Unit disk graph. ( 2020, April 1). Retrieved from Wikipedia:
https://en.wikipedia.org/wiki/Unit_disk_graph