Is there a name for a tree like graph, where nodes can have multiple parents, but still from only 1 level above

StackOverflow https://stackoverflow.com/questions/16310151

문제

Is there a name for a tree like graph, where nodes can have multiple parents, but still from only 1 level above.

Therefore the graph is directed and acyclic, but it has other constraints as well.

This will also mean that, all paths from any particular node back to the root are the same length.

도움이 되었습니까?

해결책

I believe that this is called a layered graph. A graph of this sort is a graph where you can split the nodes into groups L1, L2, ..., Ln such that each edge (u, v) goes from some layer Li to a second layer Li+1.

Hope this helps!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top