edu.jhu.ece.iacl.jist.pipeline.dest
Class PipeParamSummaryDestination

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.pipeline.PipeModule
      extended by edu.jhu.ece.iacl.jist.pipeline.PipeDestination
          extended by edu.jhu.ece.iacl.jist.pipeline.dest.PipeParamSummaryDestination
All Implemented Interfaces:
PipePort.PortListener, ParamViewObserver
Direct Known Subclasses:
PipeAssertionTestDestination

public class PipeParamSummaryDestination
extends PipeDestination

Destination to collect a summary of parameter values for all experiments.

Author:
Blake Lucas (bclucas@jhu.edu)

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule
PipeModule.PipeListener
 
Field Summary
protected  java.util.ArrayList<java.lang.Object[]> dataObjects
          The data objects.
protected  ParamString fileName
          The file name.
protected  ParamObject<java.lang.Object[][]> paramSummaryFile
          The param summary file.
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeDestination
selectedParams
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule
bounds, cell, currentContext, inputHash, inputParams, inputPorts, label, listeners, name, outputHash, outputParams, outputPorts
 
Constructor Summary
PipeParamSummaryDestination()
           
 
Method Summary
 void complete()
          Clean up destination after iterating though all experiments.
protected  ParamCollection createInputParams()
          Create input parameters.
protected  ParamCollection createOutputParams()
          Create output parameters.
 ParamCollection getInputParam()
          Get input parameter
 void iterate(javax.swing.ProgressMonitor monitor)
          Iterate through objects.
 void reset()
          Reset destination after iterating through all values.
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeDestination
createModuleCell, getCurrentLayout, init, pull, release, setCurrentLayout
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule
addListener, connectAction, disconnect, disconnectAction, forward, getAncestors, getAncestors, getBounds, getChildren, getCurrentContext, getDescendants, getDescendants, getInputHash, getInputParams, getInputPorts, getLabel, getListeners, getModuleCell, getName, getOutputHash, getOutputParams, getOutputPorts, getParents, isAncestorOf, isDescendantOf, isRoot, push, removeAllListeners, removeListener, setBounds, setCurrentContext, setLabel, setModuleCell, setName, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

paramSummaryFile

protected ParamObject<java.lang.Object[][]> paramSummaryFile
The param summary file.


fileName

protected ParamString fileName
The file name.


dataObjects

protected transient java.util.ArrayList<java.lang.Object[]> dataObjects
The data objects.

Constructor Detail

PipeParamSummaryDestination

public PipeParamSummaryDestination()
Method Detail

getInputParam

public ParamCollection getInputParam()
Get input parameter

Overrides:
getInputParam in class PipeDestination
Returns:
the input param

complete

public void complete()
Clean up destination after iterating though all experiments.

Specified by:
complete in class PipeDestination

createInputParams

protected ParamCollection createInputParams()
Create input parameters.

Specified by:
createInputParams in class PipeDestination
Returns:
the param collection

createOutputParams

protected ParamCollection createOutputParams()
Create output parameters.

Specified by:
createOutputParams in class PipeDestination
Returns:
the param collection

iterate

public void iterate(javax.swing.ProgressMonitor monitor)
Iterate through objects.

Specified by:
iterate in class PipeDestination
Parameters:
monitor - the monitor

reset

public void reset()
Description copied from class: PipeDestination
Reset destination after iterating through all values.

Specified by:
reset in class PipeDestination