Question

The weights of edges in a graph are shown in the table above. Apply the sorted edges algorithm to the graph


image.png

The weights of edges in a graph are shown in the table above. Apply the sorted edges algorithm to the graph. Give your answer as a list of vertices, starting and ending at vertex A. Example: ABCDEFA 

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The sorted edges algorithm is as given below:

1. Arrange the weights of edges in increasing order. Mark the required number of vertices in a piece of paper, that is 6 in the given problem, A,B,C,D,E,F

2.Connect the points that has the least weight using a line. Continue this process keeping two things in mind:

i) If a new line results in one of the vertex to have 3 edges, don't draw that line

ii) If a new line results in a circuit that does not contain all the vertices, don't draw that line.

3. Repeat this until we get a circuit that contains all vertices just once. Now we have reached the result, that is , we reached a Hamiltonian circuit.

The answer is as given below:

So, the answer is ABDCEFA.

Add a comment
Know the answer?
Add Answer to:
The weights of edges in a graph are shown in the table above. Apply the sorted edges algorithm to the graph
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT