I'm considering graph data structure implementations and am looking at the "incidence list" representation. There is a brief description of it here:
So each vertex in the graph stores a list of those edges upon which it is incident.
Given that my graph is a digraph, I'm not very clear from this description on a couple of points:
- Does the graph itself also store a list of all edges?
- Do vertices only store outgoing edges, or incoming and outgoing?
- If both, are they in separate lists?
I'm quite familiar with the other graph representations (adjacency list, adjacency matrix, edge list, incidence matrix), so this isn't a question about graph implementations in general, just this particular one.
Any pointers would be much appreciated.
Armand