server.jung
Class GraphAnimator

java.lang.Object
  extended by server.jung.GraphAnimator

public class GraphAnimator
extends java.lang.Object

Class for animating a directed acyclic task graph. The add methods add update events to the animator event queue.


Constructor Summary
GraphAnimator(Task root)
          Constructor which tasks the root task of the DAG.
 
Method Summary
 void addArgument(Argument arg)
          Adds an argument (input edge) to the graph.
 void addTask(Task task)
          Adds a task (vertex and parent edge) to the graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphAnimator

public GraphAnimator(Task root)
Constructor which tasks the root task of the DAG.

Parameters:
root - The task that roots the graph
Method Detail

addTask

public void addTask(Task task)
Adds a task (vertex and parent edge) to the graph.

Parameters:
task - the task to add to the graph

addArgument

public void addArgument(Argument arg)
Adds an argument (input edge) to the graph.

Parameters:
arg - argument to add to the graph.