TopologicalSort[g] 给出有向无环图 g 的按拓扑排序的 g 的顶点列表.
求顶点的拓扑序列:
AcyclicGraphQ VertexReplace Sort
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »