sbrt.kernel.fba.proc
Class FluxomeReducerProcess<T extends Fluxome>

java.lang.Object
  extended by sbrt.kernel.fba.proc.FbaProcess<T,T>
      extended by sbrt.kernel.fba.proc.FluxomeReducerProcess<T>
Type Parameters:
T - a type of fluxome.
All Implemented Interfaces:
KernelProcess<T>, MonitoredProcess<T>

public final class FluxomeReducerProcess<T extends Fluxome>
extends FbaProcess<T,T>
implements MonitoredProcess<T>

This class is used to execute fluxome reduction processes.

Author:
This class was written and documented by Jeremiah Wright while in the Wagner lab.

Constructor Summary
FluxomeReducerProcess(T fluxome, FluxomeReducer<T> reducer)
          Constructs a new fluxome reduction process.
 
Method Summary
 T getFluxome()
          Returns the fluxome used in this process.
 ProgressMonitor getProgress()
          Returns a progress monitor for this process.
 void run(ResultsManager<T> resultsManager)
          Runs this process and adds the generated results to the provided results manager via its ResultsManager.addData(Object) method.
 
Methods inherited from class sbrt.kernel.fba.proc.FbaProcess
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FluxomeReducerProcess

public FluxomeReducerProcess(T fluxome,
                             FluxomeReducer<T> reducer)
Constructs a new fluxome reduction process.

Parameters:
fluxome - the fluxome to be reduced.
reducer - the computer with which all results will be computed.
Method Detail

getFluxome

public T getFluxome()
Returns the fluxome used in this process.

Specified by:
getFluxome in class FbaProcess<T extends Fluxome,T extends Fluxome>
Returns:
the fluxome used in this process.

getProgress

public ProgressMonitor getProgress()
Returns a progress monitor for this process.

Specified by:
getProgress in interface MonitoredProcess<T extends Fluxome>
Returns:
a progress monitor for this process.

run

public void run(ResultsManager<T> resultsManager)
Runs this process and adds the generated results to the provided results manager via its ResultsManager.addData(Object) method.

Specified by:
run in interface KernelProcess<T extends Fluxome>
Parameters:
resultsManager - the results manager to which the results will be added.