For this graph, determine the topological order. The two main algorithms to do this are:
Iteratively look for a vertex that has an outdegree of 0 (it has no successor) and add it to the front of a list
Iteratively look for a vertex that has an indegree of 0 (it has no precessor) and add it to the end of a list
After producing the topological order with one of the above algorithms, then repeat the exercise using the other algorithm.
Shortest Paths
Interpret the vertices below as cities and the edges as the cost to lay down fiber optic cable.
Calculate the cost from A to each city for the following graphs:
Spanning Trees
For each of the following trees, calculate a DFS spanning tree and a BFS spanning tree (starting at A):
Interpret the vertices below as cities and the edges as the cost to lay down fiber optic cable.
What is the least cost to connect every city (starting with city A) for each graph?
Draw all of the edges that are part of the solution.
Euler Circuits
Do the graphs below have Euler circuits (each starting at vertex A)?
If so, list the vertices in the order visited.