Explain your key steps in determining the shortest path, and give the node sequence that corresponds to that shortest path.

Complete the following in a paper of 1–2 pages:

  1. Consider the following graph:

https://class.aiu-online.com/LCMSFileShareCommon/e13/04d/5c3/ebe/41f/8a6/e55/eef/5ea/086/37/U2IP_graph1.png

    1. Complete this table by finding the degree of each vertex, and identify whether it is even or odd:
Vertex Degree Even/Odd
A
B
C
D
E
F
G
H
    1. What is the order of the graph?
    2. Construct the 10 x 10 adjacency matrix for the graph.
  1. The graph below illustrates a switching network. The weights represent the delay times, in nanoseconds, travelled by a data packet between destinations, represented by the vertices.

https://class.aiu-online.com/LCMSFileShareCommon/095/5f7/53c/339/494/7b4/3d0/669/3ca/a8a/df/U2IP_graph2.png

b.      Complete the following table by finding the shortest distance and the path for that distance from vertex A to the other vertices:

Vertex Shortest Distance from A Path from A
B
C
D
E
F
G
H
I
    1. What is the shortest distance between A and J and the path for that distance?
  1. The following graph represents a portion of the subway system of a city. The vertices on the graph correspond to subway stations, and the edges correspond to the rails. Your job is to write a program for a cleaning car to efficiently clean this portion of the subway system.

https://class.aiu-online.com/LCMSFileShareCommon/bf1/77c/d28/3fe/438/e9e/76f/595/bc8/539/f7/U2IP_graph3.png

b.      Using Euler’s theorem, explain why it is possible to pass through all of the stations by traversing every rail only once.

c.       Using Fleury’s algorithm, provide an optimal path to clean all the rails by passing through them only once.

d.      Is it possible to find an optimal path described in question 3-b that starts on any station? Explain your answer.

e.       Is it possible to find an optimal path described in question 3-b that starts and ends at the same station? Explain why or why not.

A network engineer lives in City A, and his job is to inspect his company’s servers in various cities. The graph below shows the cost (in U.S. dollars) of travelling between each city that he has to visit.

https://class.aiu-online.com/LCMSFileShareCommon/b50/c0d/e4b/63c/492/f92/262/6b6/8ea/fce/3c/U2IP_graph4.png

.        Find a Hamiltonian path in the graph.

a.       Find a Hamiltonian circuit that will allow the engineer to inspect all of the servers. How much will the cost be for his trips?

b.      Is there another Hamiltonian circuit that will allow the engineer to inspect all of the servers other than your answer in question 4-b? If so, calculate the cost.

Consider the following binary tree:

https://class.aiu-online.com/LCMSFileShareCommon/2a8/28c/00b/d0e/43a/1b8/3d9/778/da6/5b6/6e/U2IP_graph5.png

.        What is the height of the tree?

a.       What is the height of vertex H?

b.      Write the preorder traversal representation of the tree.

c.       Write the array representation of the tree by completing the following table:

 

Vertex Left Child Right Child
A    
B    
C    
D    
E    
G    
H    
I    
J    
K    
L    
M    
N    
O    
P    
Q    
R    
S    
T    

 

 

                        Consider the following weighted graph:

https://class.aiu-online.com/LCMSFileShareCommon/b1c/3a2/640/531/4cc/2bf/764/c94/cf3/d30/60/U2DB_graph1.jpg

  • In the table below, choose the bracket that contains the first letter of your last name. Then, choose 1 value for a and 1 value for b from the numbers listed for your bracket. (Put your chosen values for a and b in the heading for your first post for the week, so your classmates will know which values you have chosen for each and so they will not choose the same values as yours. Be sure to choose a combination of a and b that is different from your classmates who have already posted or have chosen their values.) The values chosen will be the weights in the paths labeled a and b in the weighted graph above.
    • I choose the following: a = 8, b = 6
Last Name Begins With a b
A–K 10, 14, 16, 5 4, 6, 9, 11
L–Q 5, 11, 13, 8 2, 7, 12, 15
R–Z 3, 8, 10, 19 13, 15, 17, 18
  • In the weighted graph above, find the shortest path from node A to node E using Dijkstra’s shortest path algorithm and using your chosen values for a and b.
    • Explain your key steps in determining the shortest path, and give the node sequence that corresponds to that shortest path.
  • Explain 2 examples where knowledge of a shortest path algorithm could be useful in an information technology career.
  • Thinking of the graph above as undirected, does this graph have a Euler path? If so, give an example of such a path starting with a node you choose; if not, explain why not.
    • Does this graph have a Euler circuit? If so, give an example; if not, explain why not.
  • Does this graph have a Hamiltonian path? If so, give an example of such a path starting with a node you choose; if not, explain why not.
    • If there is a Hamiltonian path, is there a Hamiltonian circuit? If so, give an example of such a circuit starting with a node you choose; if not, explain why not.

 

Get 20% Discount on This Paper
Pages (550 words)
Approximate price: -

Try it now!

Get 20% Discount on This Paper

We'll send you the first draft for approval by at
Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

Ace Writing Center has stood as the world’s leading custom essay writing services providers. Once you enter all the details in the order form under the place order button, the rest is up to us.

Essays

Essay Writing Services

At Ace Writing Center, Nowadays, students normally have extremely busy schedules. You will note that some of them have to take on some evening or weekend jobs in order to get some income that can help them to sustain in college or in the university. This can deny them a chance to write all the essays given. Others usually get bombarded with a lot of work by their lecturers. This can still delay such students from working on all their essays. However, some of them usually try to work on all these essays but end up delivering their work late. This can prevent them from graduating since most lecturers are strict on deadlines. If you want to write a business essay, the wise way is to hire an outstanding essay writing service like us, so that you can get the best results. If you are keen, you will note that many companies usually overcharge their customers. Some of them are there only to make money. And in reality, they really don’t care to build a long term commitment with students. You should not choose such companies. You should take your time and choose a reliable company to work with. Ace Writing Center is the ultimate solution for you. We have been offering our writing service for more than 7 years. This is a clear indication that you will get quality essay writing service. We have a wide range of writers who can work on any business essay that you might have. We believe in doing extensive research so that we can provide quality work to all our clients. .

Admissions

Admission and Business Papers

Have you ever had to write an admission essay for college? The majority of students face the same issues when applying to a university or college and many in such situations decide they need professional help to cope with this matter. They get in a situation when the deadline keeps coming closer but lack motivation to start because they are just not sure if their writing skills are strong enough. We have a solution for you! Ace Writing Center is the best admission essay writing service with a large professional team and years of experience in providing high-quality papers to students of all levels and faculties. The mission of our team is to help students make their dreams of entering a good college come true and that’s what we offer!.

Editing

Editing and Proofreading

Sometimes all the words for your paper just flow out of your mind and into your fingers. You type quickly at your keyboard and there they are, your beautiful words right there on the screen. But you have no idea how to polish it up. You may be wishing there was a paper writing service that offered this type of writing service. Look no more! Here at Ace Writing Center, we offer you an editing and proofreading option that you can't find anywhere else..

Coursework

College Essay Writing

In case you are familiar Ace Writing Center, you know the way to distinguish a better company from a cheap one exactly. First of all, poor service website does not have a sufficient support. We think support team is an essential part of success; it has to answer all clients’ questions and be a connecting link between clients and their writers. On our web-service you will get answers about anything you need and your writer will receive all your instructions, assignments and requirements exactly and swiftly. A writing service that we run has got a flexible pricing system that will save you from senseless wastes and many bonus systems that let you sparing money for something important for you.