09 Activity 1 ARG LUGO Monica
09 Activity 1 ARG LUGO Monica
09 Activity 1 ARG LUGO Monica
Adjacency Matrix
Directed:
A B C D E F G
A 0 0 0 0 0 0 0
B 1 0 0 0 0 0 0
C 0 1 0 0 0 0 0
D 0 0 0 1 0 1 0
E 0 0 1 0 0 0 0
F 0 0 0 0 1 0 0
G 0 0 0 0 0 0 0
Undirected:
A B C D E F G
A 0 1 0 0 0 0 0
B 1 0 1 0 0 0 0
C 0 1 0 1 1 0 0
D 0 0 1 0 1 1 1
E 0 0 1 1 0 1 0
F 0 0 0 1 1 0 0
G 0 0 0 1 0 1 0
Adjacency List
Directed:
A-B
B-C
C – D, E
D – E, F, G
E - C, D, F
F – D, E
G–G
Undirected:
A-B E-F
B-C F-D
C–E G
D-G