edu.jhu.ece.iacl.jist.plugins.testing
Class MedicAlgorithmDemo

java.lang.Object
  extended by AlgorithmBase
      extended by edu.jhu.ece.iacl.jist.pipeline.ProcessingAlgorithm
          extended by edu.jhu.ece.iacl.jist.plugins.testing.MedicAlgorithmDemo

public class MedicAlgorithmDemo
extends ProcessingAlgorithm

Author:
Blake Lucas (bclucas@jhu.edu)

Nested Class Summary
protected static class MedicAlgorithmDemo.MyAlgorithm
          Example algorithm
 
Field Summary
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.ProcessingAlgorithm
algorithmInformation, inputParams, JIST_VERSION, outputParams, performance, runningInSeparateProcess
 
Constructor Summary
MedicAlgorithmDemo()
           
 
Method Summary
protected  void createInputParameters(ParamCollection inputParams)
          Create input parameters for this plug-in
protected  void createOutputParameters(ParamCollection outputParams)
          Create output parameters for this plug-in
protected  void execute(CalculationMonitor monitor)
          Execute algorithm
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.ProcessingAlgorithm
getAboutFile, getAlgorithmInformation, getAlgorithmLabel, getAlgorithmName, getDefaultJVMArgs, getInput, getMapFile, getOutput, getOutputDirectory, getPreferredSize, getTimeStamp, getUsageFile, init, init, isRunningInSeparateProcess, load, runAlgorithm, runAlgorithm, saveResources, setInput, setMapFile, setOutput, setOutputDirectory, setOutputMetaFile, setPreferredSize, setRunningInSeparateProcess, writeSummaryFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MedicAlgorithmDemo

public MedicAlgorithmDemo()
Method Detail

createInputParameters

protected void createInputParameters(ParamCollection inputParams)
Create input parameters for this plug-in

Specified by:
createInputParameters in class ProcessingAlgorithm
Parameters:
inputParams - the input parameters

createOutputParameters

protected void createOutputParameters(ParamCollection outputParams)
Create output parameters for this plug-in

Specified by:
createOutputParameters in class ProcessingAlgorithm
Parameters:
outputParams - the output parameters

execute

protected void execute(CalculationMonitor monitor)
                throws AlgorithmRuntimeException
Execute algorithm

Specified by:
execute in class ProcessingAlgorithm
Parameters:
monitor - progress monitor
Throws:
AlgorithmRuntimeException - the algorithm runtime exception