edu.hawaii.ics.yucheng
Class SpanningTreeApplet.Worker.Delegate

java.lang.Object
  extended by edu.hawaii.ics.yucheng.SpanningTreeApplet.Worker.Delegate
All Implemented Interfaces:
GraphListener
Enclosing class:
SpanningTreeApplet.Worker

 class SpanningTreeApplet.Worker.Delegate
extends java.lang.Object
implements GraphListener

A simple class that listens for progress messages from the graph solver and sends the progress data to the GUI thread.


Constructor Summary
SpanningTreeApplet.Worker.Delegate()
           
 
Method Summary
 void progress(GraphSolution partialSolution)
          Executes when progress arrives from the solver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpanningTreeApplet.Worker.Delegate

SpanningTreeApplet.Worker.Delegate()
Method Detail

progress

public void progress(GraphSolution partialSolution)
Executes when progress arrives from the solver.

Specified by:
progress in interface GraphListener
Parameters:
partialSolution - A partial solution.