Abstract

Motivated by an application in the design of VLSI layouts, we consider a generalization of the usual topological sorting problem on directed, acyclic graphs. The difference is that an instance of the generalized problem may require some nodes in the graph to occupy fixed positions in the topological order. We also allow several nodes to share the same position in the topological order.We describe an algorithm to decide whether a generalized topological sorting problem has a solution and if so, to find a solution and to test whether the solution is unique. The algorithm runs in O(e + n log log n) time on a directed, acyclic graph with n nodes and e edges and in linear time on the graphs arising in our application.KeywordsPriority QueueSuccessful VariantTopological OrderMain PathPartial NumberingThese keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.