Consider the following oriented network:
Executing a BFS algorithm in this network, starting at node 5, and traversing the adjacent lists in increasing order, we have:
- All nodes can be reached using this algorithm
- The node with the highest distance from node 5 is node 6
- Nodes 2 and 4 have the same distance from node 5
- Node 8 is assigned as the parent of node 2
- The highest distance from node 5 is 4 links
The only statements that are correct are:
- I, II, and III
- I, III and IV
- I, II, III and V
- I, II, III, IV and V
- None of the above
Original idea by: Athyrson Machado Ribeiro
No comments:
Post a Comment