request: toposort into levels
未关闭
algorithm
- 主要语言
- C++
- 星标
- 392
- 派生
- 239
- 平均合并
- 1 天 11 分钟
- 30 天内合并 PR
- 20
描述
I don't think it's currently possible to get each "level" from`topological_sort` (where a level contains the set of vertices with no unfinished dependencies e.g. if a depends on b, b depends on z, and c depends on z, then the levels are [z], [b, c], [a]).
I think this would be a helpful feature. I'd be happy to write a PR if others are interested.
贡献指南
评估
这个 Issue 还没有评估数据。