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 void
doCircularEdgeCrossingsMinimization(Object referenceObject, ArrayList<Node> nodes, Runnable threadUnsafePostTask)
static int
getNumberOfCircularEdgeCrossings(Collection<Node> nodes)
static void
selectAndRunLayoutAlgorithm(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
-
-