Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
public class TopologicalSorter<V,EX extends Exception> extends Object implements GraphSorter<V,EX>
http://en.wikipedia.org/wiki/Topological_sorting#Algorithms| Constructor and Description |
|---|
TopologicalSorter(SymmetricMultiGraph<V,?,? extends EX> graph,
boolean isForward) |
public TopologicalSorter(SymmetricMultiGraph<V,?,? extends EX> graph, boolean isForward)
public List<V> sortGraph() throws CycleException, EX extends Exception
sortGraph in interface GraphSorter<V,EX extends Exception>CycleExceptionEX extends ExceptionCopyright © 2000–2016 AO Industries, Inc.. All rights reserved.