2
4
7
9
(Choose 1 answer)
Given a graph in the figure, the weighted matrix of the graph is (visitnodes in ABC order):
A. [[0. 1. 0. 1]. [1. 0. 1. 1]. [0. 1. 0. 1]. [1. 1. 1. 0]]
B. [[0. 1. 0. 1]. [0. 0. 1. 0]. [0. 0. 0. 0]. [0. 1. 1. 0]]
C. [[0. 2. 0. 9]. [0. 0. 7. 0]. [0. 0. 0. 0]. [0. 4. 8. 0]]
D. [[0. 2. 0. 0]. [0. 0. 7. 0]. [0. 0. 0. 0]. [0. 4. 8. 0]]
8
27