|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAlgorithm
public abstract class Algorithm
Base class for all pattern recognition algorithms
Constructor Summary | |
---|---|
Algorithm()
|
Method Summary | |
---|---|
void |
computeMeans()
Computes the means for each existing data set |
void |
disableControl()
Disables the next and previous keys before beggining to execute a step. |
void |
enableControl()
Enables the next and previous keys after the execution of a step. |
abstract boolean |
initialize()
Initializes algorithm. |
boolean |
nextStep()
Determines and executes next step of the algorithm in a new thread of execution. |
boolean |
prevStep()
Determines and executes previous step of the algorithm in a new thread of execution. |
abstract void |
run()
Implementation of run from the Runnable interface. |
void |
scaleToFitData()
Scales the data axes to fit the data. |
boolean |
setDataPoints(DataPoints data_a)
Initializes the data points. |
boolean |
setOutputPanel(OutputPanel out_panel_a)
Initializes the output panel. |
boolean |
setProcessBox(ProcessBox pro_box_a)
Initializes the process box. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Algorithm()
Method Detail |
---|
public boolean nextStep()
public boolean prevStep()
public boolean setOutputPanel(OutputPanel out_panel_a)
out_panel_a
- output panel object
OutputPanel
public boolean setProcessBox(ProcessBox pro_box_a)
pro_box_a
- process box object
ProcessBox
public boolean setDataPoints(DataPoints data_a)
data_a
- data points
DataPoints
public void computeMeans()
public void scaleToFitData()
public void disableControl()
public void enableControl()
public abstract void run()
run
in interface java.lang.Runnable
public abstract boolean initialize()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |