public class TopologicalSort
extends java.lang.Object
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<Vertex> |
sort(java.util.Collection<? extends Vertex> vertices) |