If I topologically sort a DAG, can I drop half the adjacency matrix?
问题 I think I have understood a particular situation as described below, but I lack the theoretical knowledge to conduct a proof and I couldn't find any source that mentions it. If my understanding is correct, I can save half the space on my adjacency matrix, if it isn't I'm likely to have pretty weird bugs. So I'd like to be sure, and I'd appreciate if someone with a more solid background could review my reasoning. Say I represent a DAG of n vertices in an n * n adjacency matrix such that the