public abstract class Algorithm
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
Algorithm() |
Modifier and Type | Method and Description |
---|---|
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 |
setInputPanel(InputPanel in_panel_a)
Initializes the input panel.
|
boolean |
setOutputPanel(OutputPanel out_panel_a)
Initializes the output panel.
|
boolean |
setProcessBox(ProcessBox pro_box_a)
Initializes the process box.
|
public boolean nextStep()
public boolean prevStep()
public boolean setOutputPanel(OutputPanel out_panel_a)
out_panel_a
- output panel objectOutputPanel
public boolean setInputPanel(InputPanel in_panel_a)
in_panel_a
- input panel objectInputPanel
public boolean setProcessBox(ProcessBox pro_box_a)
pro_box_a
- process box objectProcessBox
public boolean setDataPoints(DataPoints data_a)
data_a
- data pointsDataPoints
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()