edu.iu.iv.visualization.networks.jungkamadakawailayout
Class JUNGKamadaKawaiLayoutAlgorithm

java.lang.Object
  |
  +--edu.iu.iv.visualization.networks.jungkamadakawailayout.JUNGKamadaKawaiLayoutAlgorithm
All Implemented Interfaces:
Algorithm

public class JUNGKamadaKawaiLayoutAlgorithm
extends java.lang.Object
implements Algorithm

Wrapper for P2PKKLayout program

Author:
Hardik Sheth (hsheth@indiana.edu)

Constructor Summary
JUNGKamadaKawaiLayoutAlgorithm(edu.uci.ics.jung.graph.Graph g)
          Constructor.
 
Method Summary
 boolean execute()
          Runs the algorithm.
 edu.uci.ics.jung.graph.Graph getGraph()
          Get the network graph
 void setGraph(edu.uci.ics.jung.graph.Graph graph)
          Set the network graph to be visualized
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUNGKamadaKawaiLayoutAlgorithm

public JUNGKamadaKawaiLayoutAlgorithm(edu.uci.ics.jung.graph.Graph g)
Constructor. Set the graph to visualize

Method Detail

execute

public boolean execute()
Description copied from interface: Algorithm
Runs the algorithm.

Specified by:
execute in interface Algorithm
Returns:
true if the algorithm ran successfully, false otherwise.
See Also:
Algorithm.execute()

setGraph

public void setGraph(edu.uci.ics.jung.graph.Graph graph)
Set the network graph to be visualized

Parameters:
graph -

getGraph

public edu.uci.ics.jung.graph.Graph getGraph()
Get the network graph

Returns:
graph