Adjacency matrices are another way to represent graphs and connections between the different vertices.
Let G be the graph below.
Write down the adjacency matrix for G.
A weighted adjacency table gives more detailed information about the connection between different vertices in a weighted graph.
The table below shows the time taken in minutes to travel by car between 4 different towns.
A | B | C | D | |
A | 16 | 35 | ||
B | 16 | 20 | 18 | |
C | 35 | 20 | 34 | |
D | 23 | 34 |
转载自savemyexams
© 2024. All Rights Reserved. 沪ICP备2023009024号-1