java.lang.Object
org.jgrapht.demo.DependencyDemo
This class is a demonstration program for creating a dependency chart, directed graph, then
 locating and outputting any implicit loops, cycles.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidGenerate two cases, one with cycles, this is dependencies and one without.static voidtest(boolean createCycles) Test creating a directed graph, checking it for cycles and either outputting cycles detected or topological ordering if not. 
- 
Constructor Details
- 
DependencyDemo
public DependencyDemo() 
 - 
 - 
Method Details
- 
test
public static void test(boolean createCycles) Test creating a directed graph, checking it for cycles and either outputting cycles detected or topological ordering if not.- Parameters:
 createCycles- true - create a directed graph which contains cycles. false - create a directed graph which does not contain any cycles.
 - 
main
Generate two cases, one with cycles, this is dependencies and one without.- Parameters:
 args- Ignored.
 
 -