sbrt.kernel.fba.proc
Class ExtremeCurrentProcess<F extends IrrevRxnFluxome>

java.lang.Object
  extended by sbrt.kernel.fba.proc.FbaProcess<F,DoubleMatrix<?,java.lang.String>>
      extended by sbrt.kernel.fba.proc.ExtremeCurrentProcess<F>
Type Parameters:
F - the fluxome type.
All Implemented Interfaces:
KernelProcess<DoubleMatrix<?,java.lang.String>>, MonitoredProcess<DoubleMatrix<?,java.lang.String>>

public final class ExtremeCurrentProcess<F extends IrrevRxnFluxome>
extends FbaProcess<F,DoubleMatrix<?,java.lang.String>>
implements MonitoredProcess<DoubleMatrix<?,java.lang.String>>

This class is used to identify the extreme currents in stoichiometric networks.

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

Constructor Summary
ExtremeCurrentProcess(F fluxome, ExtremeCurrentComputer computer)
          Constructs a new extreme current process.
 
Method Summary
 F getFluxome()
          Returns the fluxome used in this process.
 ProgressMonitor getProgress()
          Returns a progress monitor for this process.
 void run(ResultsManager<DoubleMatrix<?,java.lang.String>> 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

ExtremeCurrentProcess

public ExtremeCurrentProcess(F fluxome,
                             ExtremeCurrentComputer computer)
Constructs a new extreme current process.

Parameters:
fluxome - the fluxome for which extreme currents will be identified.
computer - the computer with which all results will be computed.
Method Detail

getFluxome

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

Specified by:
getFluxome in class FbaProcess<F extends IrrevRxnFluxome,DoubleMatrix<?,java.lang.String>>
Returns:
the fluxome used in this process.

getProgress

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

Specified by:
getProgress in interface MonitoredProcess<DoubleMatrix<?,java.lang.String>>
Returns:
a progress monitor for this process.

run

public void run(ResultsManager<DoubleMatrix<?,java.lang.String>> 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<DoubleMatrix<?,java.lang.String>>
Parameters:
resultsManager - the results manager to which the results will be added.