4 [Answer this question on the insert provided.]
\includegraphics[max width=\textwidth, alt={}, center]{9aa57bb0-3d88-4858-a348-ff95592fa659-3_918_1242_351_443}
In this network the vertices represent towns, the arcs represent roads and the weights on the arcs show the lengths of roads in kilometres.
- Use Dijkstra's algorithm on the diagram in the insert to find the length of the shortest path from \(A\) to each of the other vertices. You must show your working, including temporary labels, permanent labels and the order in which the permanent labels were assigned. Find the route of the shortest path from \(A\) to \(G\).
The total weight of the arcs is 120 kilometres.
- By using an appropriate algorithm, find the length of a shortest route that uses every road starting and ending at \(A\). You should explain your method.
- Find the length of a shortest route that uses every road starting at \(A\) and ending at \(G\). You should explain your method.