StrongComponentAnalyser analyser = new StrongComponentAnalyser(graph);
Vertex[] condensedGraph = analyser.getCondensedGraph();
CyclesResult result = new CyclesResult(createStatement(), _packageCycles);
for (int i = 0; i < condensedGraph.length; i++)
{
StrongComponent strongComponent = (StrongComponent) condensedGraph[i];
if (strongComponent.getNumberOfVertices() > _maximumSize)
{
result.addCycle(strongComponent);
}
}
return result;