Need help with your Discussion

Get a timely done, PLAGIARISM-FREE paper
from our highly-qualified writers!

glass
pen
clip
papers
heaphones

Northern Virginia Community College Data Structures Questions

Northern Virginia Community College Data Structures Questions

Northern Virginia Community College Data Structures Questions

Description

Imagine the following problem:

The corporation you work for has just established a number of offices in a foreign land.
But the CEO is worried that corporate strategies and trade secrets will be exposed if
regular telecommunication channels like the internet are used for communication
between these offices. After a long brainstorming session, the Board of Directors came
up with the solution: pigeons.
By nature, pigeons know how to fly to wherever their nest is established. They can also
be trained to fly back to a second location, where their food is regularly delivered. Thus,
messenger pigeons are an effective, hardtointercept, pointtopoint communication
link. To link two offices, establish a pigeon nest in one office, feed that pigeon in the
other office, and it will learn to fly between the two offices and carry some messages.
The only problem is that pigeons become unreliable over long distances, and the
corporation needs 100% reliability.
You, as the Director of IT, have been charged with verifying if the plan will work. You
consulted biology experts and learned that for distances of up to 200 miles, 100%
reliability can be achieved by welltrained pigeons. Above 200 miles the reliability drops
below 100%, which is not acceptable. Given the geographic locations of the offices, you
calculated direct straightline distances between all pairs of offices.
Based on all the information you gathered, you need to decide whether any office can
deliver a message to any other office, with 100% reliability, via pigeon post (possibly
using a pigeon relay involving multiple officetooffice hops, with each hop at most 200
miles). You asked your IT team to submit possible options on how to solve the problem,
and you received the following options:

A) Create a graph with one node per office. For each pair of offices, look up the direct
straightline distance between them, in miles. Add an edge between each pair of
offices, with the distances as edge weights. Run MST on the graph. Inspect the MST,
if all edges in it are below 200 miles, return “yes, pigeon post will work”. If the tree
contains one or more edges with distance above 200 miles, return “no, cannot achieve
100% reliability”.
B) Create a graph with one node per office. For each pair of offices, look up the direct
straightline distance between them, in miles. If the distance is 200 miles or less, add
an edge between the pair of offices to the graph, if the distance is above 200 miles,
no edge. Run allpairs shortest path algorithm. If at the end all the vertexvertex
shortest distances in the graph are finite return “yes, pigeon post will work”. If at least
one pair has “+INF”, return “no, cannot achieve 100% reliability”.
C) Create a graph with one node per office. For each pair of offices, look up the direct
straightline distance between them, in miles. Add an edge between each pair of
offices, with the distances as edge weights. Run allpairs shortest path algorithm on
the graph. Inspect the shortest paths between every pair of nodes, if all the edges on all the paths are 200 miles or less, return “yes, pigeon post will work”, if there is one or more edge with weight greater than 200 miles, return “no, cannot achieve100%

reliability”.
D) Create a graph with one node per office. For each pair of offices, look up the direct
straightline distance between them, in miles. If the distance is 200 miles or less, add
an edge between the pair of offices to the graph, if the distance is above 200 miles,
no edge. Detect if the graph has only one connected component, or more than one:
run depthfirst search complexity starting from a random node. If the graph has a
single connected component (all nodes were visited by the DFS without any restarts),
then answer “yes, pigeon post will work”, otherwise answer “no, cannot achieve 100%
reliability”.

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter


1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

We Can Write It for You! Enjoy 20% OFF on This Order. Use Code SAVE20

Stuck with your Assignment?

Enjoy 20% OFF Today
Use code SAVE20