Class AlgorithmED

java.lang.Object
  extended by Algorithm
      extended by AlgorithmED
All Implemented Interfaces:
java.lang.Runnable

public class AlgorithmED
extends Algorithm

implements the euclidean distance algorithm.


Constructor Summary
AlgorithmED()
           
 
Method Summary
 void computeDecisionRegions()
          Computes the line of discrimination
 void computeErrors()
          Computes and displays the classification errors for each set
 boolean initialize()
          Overrides the initialize() method in the base class.
 void run()
          Implementation of the run function from the Runnable interface.
 
Methods inherited from class Algorithm
computeMeans, disableControl, enableControl, nextStep, prevStep, scaleToFitData, setDataPoints, setInputPanel, setOutputPanel, setProcessBox
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgorithmED

public AlgorithmED()
Method Detail

initialize

public boolean initialize()
Overrides the initialize() method in the base class. Initializes member data and prepares for execution of first step. This method "resets" the algorithm.

Specified by:
initialize in class Algorithm
Returns:
Returns true

run

public void run()
Implementation of the run function from the Runnable interface. Determines what the current step is and calls the appropriate method.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class Algorithm

computeDecisionRegions

public void computeDecisionRegions()
Computes the line of discrimination


computeErrors

public void computeErrors()
Computes and displays the classification errors for each set