public void Test() { var g = GraphGenerator.dag4StronglyConnectedComponents(); var scc = new StronglyConnectedComponents(g); for (var v = 0; v < g.V(); ++v) { console.WriteLine(v + "\t:" + scc.componentId(v)); } }
public void Test() { var g = GraphGenerator.dag4StronglyConnectedComponents(); var scc = new StronglyConnectedComponents(g); for (var v = 0; v < g.V(); ++v) { console.WriteLine(v + "\t:" + scc.componentId(v)); } }