Class AlgorithmServices
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.services.AlgorithmServices
- All Implemented Interfaces:
HelperClass
public class AlgorithmServices extends Object implements HelperClass
- Author:
- Christian Klukas (c) 2004 IPK-Gatersleben
-
Constructor Summary
Constructors Constructor Description AlgorithmServices() -
Method Summary
Modifier and Type Method Description static voiddoCircularEdgeCrossingsMinimization(Object referenceObject, ArrayList<Node> nodes, Runnable threadUnsafePostTask)static intgetNumberOfCircularEdgeCrossings(Collection<Node> nodes)static voidselectAndRunLayoutAlgorithm(Graph clusterReferenceGraph, Selection selection, String commandTitle, boolean executeMoveToTopAfterwards)This method calls a user defined layout algorithm for the given graph.
-
Constructor Details
-
AlgorithmServices
public AlgorithmServices()
-
-
Method Details
-
doCircularEdgeCrossingsMinimization
public static void doCircularEdgeCrossingsMinimization(Object referenceObject, ArrayList<Node> nodes, Runnable threadUnsafePostTask)- Parameters:
sortedNodes-object-runnable-
-
getNumberOfCircularEdgeCrossings
-
selectAndRunLayoutAlgorithm
public static void selectAndRunLayoutAlgorithm(Graph clusterReferenceGraph, Selection selection, String commandTitle, boolean executeMoveToTopAfterwards)This method calls a user defined layout algorithm for the given graph.- Parameters:
clusterReferenceGraph-selection-
-