geneticWedge.gp.display
Class UpdateFrame

java.lang.Object
  extended by java.util.TimerTask
      extended by geneticWedge.gp.display.UpdateFrame
All Implemented Interfaces:
java.lang.Runnable

public class UpdateFrame
extends java.util.TimerTask

UpdateFrame updates a TreeFrame by replacing the displayed Individual with a new randomly generated Individual at 3-second intervals. It is called by the demo program DisplayTree.


Constructor Summary
UpdateFrame(TreeFrame treeFrame, Function[] functions, Input[] inputs, Constant[] constants)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateFrame

public UpdateFrame(TreeFrame treeFrame,
                   Function[] functions,
                   Input[] inputs,
                   Constant[] constants)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask