Combinatorica Package >

TopologicalSort

TopologicalSort[g]
gives a permutation of the vertices of the directed acyclic graph such that an edge implies that vertex appears before vertex .
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF