public class TopologicalSort
extends java.lang.Object
Constructor and Description |
---|
TopologicalSort() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<Vertex<?>,java.util.Set<Vertex<?>>> |
mapDependencies(java.util.Collection<? extends Vertex<?>> vertices) |
static java.util.List<? extends Vertex<?>> |
sort(java.util.Collection<? extends Vertex<?>> vertices) |