Topological Sort with Fixed Indices

Revision en2, by nchn27, 2019-07-26 20:25:13

The goal is to create a topological sorting except some vertices need to have specific indices in the final ordering. Is there a nice, fast way to do this?

Tags dag, topological sort, topo sort, directed graph

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English nchn27 2019-07-26 20:25:13 4 Tiny change: 'o do this?' -> 'o do this?\n\n'
en1 English nchn27 2019-07-26 08:04:06 190 Initial revision (published)