Class CLLayoutTask

  • All Implemented Interfaces:
    org.cytoscape.work.Task

    public class CLLayoutTask
    extends org.cytoscape.view.layout.AbstractParallelPartitionLayoutTask
    This class implements the Prefuse force-directed layout algorithm using OpenCL.
    See Also:
    Prefuse web site
    • Field Summary

      • Fields inherited from class org.cytoscape.view.layout.AbstractPartitionLayoutTask

        current_size, current_start, edgeWeighter, incr, partitionList, taskMonitor, total_nodes
      • Fields inherited from class org.cytoscape.view.layout.AbstractLayoutTask

        LAYOUT_ALGORITHM, layoutAttribute, networkView, nodesToLayOut, recenter, undo
      • Fields inherited from class org.cytoscape.work.AbstractTask

        cancelled
    • Constructor Summary

      Constructors 
      Constructor Description
      CLLayoutTask​(String displayName, org.cytoscape.view.model.CyNetworkView networkView, Set<org.cytoscape.view.model.View<org.cytoscape.model.CyNode>> nodesToLayOut, CLLayoutContext context, String attrName, org.cytoscape.work.undo.UndoSupport undo)
      Creates a new ForceDirectedLayout object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void layoutPartition​(org.cytoscape.view.layout.LayoutPartition partition)  
      String toString()  
      • Methods inherited from class org.cytoscape.view.layout.AbstractParallelPartitionLayoutTask

        doLayout
      • Methods inherited from class org.cytoscape.view.layout.AbstractPartitionLayoutTask

        setTaskStatus
      • Methods inherited from class org.cytoscape.view.layout.AbstractLayoutTask

        run
      • Methods inherited from class org.cytoscape.work.AbstractTask

        cancel, getTaskIterator, insertTasksAfterCurrentTask, insertTasksAfterCurrentTask, setTaskIterator
    • Constructor Detail

      • CLLayoutTask

        public CLLayoutTask​(String displayName,
                            org.cytoscape.view.model.CyNetworkView networkView,
                            Set<org.cytoscape.view.model.View<org.cytoscape.model.CyNode>> nodesToLayOut,
                            CLLayoutContext context,
                            String attrName,
                            org.cytoscape.work.undo.UndoSupport undo)
        Creates a new ForceDirectedLayout object.
    • Method Detail

      • layoutPartition

        public void layoutPartition​(org.cytoscape.view.layout.LayoutPartition partition)
        Specified by:
        layoutPartition in class org.cytoscape.view.layout.AbstractPartitionLayoutTask