greeting to all,
since I'm a beginner in programming c + + I can not declare a list of neighbors of a vertex from an adjacency matrix as follows:
eg
* I j k
i 0 1 0
j 1 0 1
k 0 1 0
neighbor (i) = {j}
neighbor (j) = {i, k}
neighbor (k) = {j}
is what I work with a list structure? if yes how to declare??
I'm sure if you work with a list you do not need the linked list