cs195z.support
Class CAbstractAlgorithm<T extends Number,E extends Serializable>

java.lang.Object
  extended by cs195z.support.CAbstractAlgorithm<T,E>
All Implemented Interfaces:
CAlgorithm<T,E>, Runnable
Direct Known Subclasses:
CStudentCAST, CStudentKMeans

public abstract class CAbstractAlgorithm<T extends Number,E extends Serializable>
extends Object
implements CAlgorithm<T,E>


Constructor Summary
CAbstractAlgorithm()
           
 
Method Summary
 void clickStepped()
           
 void complete()
           
 void run()
          Controls the threaded execution of your algorithm.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cs195z.support.CAlgorithm
getResult, init, step
 

Constructor Detail

CAbstractAlgorithm

public CAbstractAlgorithm()
Method Detail

run

public void run()
Controls the threaded execution of your algorithm.

Specified by:
run in interface CAlgorithm<T extends Number,E extends Serializable>
Specified by:
run in interface Runnable

clickStepped

public void clickStepped()
Specified by:
clickStepped in interface CAlgorithm<T extends Number,E extends Serializable>

complete

public void complete()
Specified by:
complete in interface CAlgorithm<T extends Number,E extends Serializable>