public class CycleRemovingHierarchyConverter extends java.lang.Object implements HierarchyConverter
Constructor and Description |
---|
CycleRemovingHierarchyConverter(CycleRemovingAlgorithm algorithm) |
Modifier and Type | Method and Description |
---|---|
void |
convert(Graph graph) |
Hierarchy |
getResultingHierarchy() |
protected void |
removeCycles(Graph graph) |
Graph |
resetToOriginalGraph() |
public CycleRemovingHierarchyConverter(CycleRemovingAlgorithm algorithm)
public void convert(Graph graph)
convert
in interface HierarchyConverter
public Hierarchy getResultingHierarchy() throws java.lang.IllegalStateException
getResultingHierarchy
in interface HierarchyConverter
java.lang.IllegalStateException
public Graph resetToOriginalGraph()
resetToOriginalGraph
in interface HierarchyConverter
protected void removeCycles(Graph graph)