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 Details

    • AlgorithmServices

      public AlgorithmServices()
  • Method Details

    • doCircularEdgeCrossingsMinimization

      public static void doCircularEdgeCrossingsMinimization​(Object referenceObject, ArrayList<Node> nodes, Runnable threadUnsafePostTask)
      Parameters:
      sortedNodes -
      object -
      runnable -
    • getNumberOfCircularEdgeCrossings

      public static int getNumberOfCircularEdgeCrossings​(Collection<Node> nodes)
    • 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 -