Class GraphISOMLayout

  • All Implemented Interfaces:
    edu.uci.ics.jung.algorithms.layout.Layout, edu.uci.ics.jung.algorithms.util.IterativeContext, org.apache.commons.collections15.Transformer

    public class GraphISOMLayout
    extends edu.uci.ics.jung.algorithms.layout.AbstractLayout
    implements edu.uci.ics.jung.algorithms.util.IterativeContext
    Implements a self-organizing map layout algorithm, based on Meyer's self-organizing graph methods.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected edu.uci.ics.jung.algorithms.layout.GraphElementAccessor elementAccessor  
      • Fields inherited from class edu.uci.ics.jung.algorithms.layout.AbstractLayout

        graph, initialized, locations, size
    • Constructor Summary

      Constructors 
      Constructor Description
      GraphISOMLayout​(edu.uci.ics.jung.graph.Graph g)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean done()
      For now, we pretend it never finishes.
      GraphISOMLayout.ISOMVertexData getISOMVertexData​(java.lang.Object v)  
      java.lang.String getStatus()
      Returns the current number of epochs and execution status, as a string.
      void initialize()  
      boolean isIncremental()
      This one is an incremental visualization.
      void reset()  
      void step()
      Advances the current positions of the graph elements.
      • Methods inherited from class edu.uci.ics.jung.algorithms.layout.AbstractLayout

        getGraph, getSize, getX, getY, isLocked, lock, lock, offsetVertex, setGraph, setInitializer, setLocation, setLocation, setSize, transform
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • elementAccessor

        protected edu.uci.ics.jung.algorithms.layout.GraphElementAccessor elementAccessor
    • Constructor Detail

      • GraphISOMLayout

        public GraphISOMLayout​(edu.uci.ics.jung.graph.Graph g)
    • Method Detail

      • getStatus

        public java.lang.String getStatus()
        Returns the current number of epochs and execution status, as a string.
      • initialize

        public void initialize()
        Specified by:
        initialize in interface edu.uci.ics.jung.algorithms.layout.Layout
      • step

        public void step()
        Advances the current positions of the graph elements.
        Specified by:
        step in interface edu.uci.ics.jung.algorithms.util.IterativeContext
      • isIncremental

        public boolean isIncremental()
        This one is an incremental visualization.
        Returns:
        true is the layout algorithm is incremental, false otherwise
      • done

        public boolean done()
        For now, we pretend it never finishes.
        Specified by:
        done in interface edu.uci.ics.jung.algorithms.util.IterativeContext
        Returns:
        true is the increments are done, false otherwise
      • reset

        public void reset()
        Specified by:
        reset in interface edu.uci.ics.jung.algorithms.layout.Layout