sbrt.kernel.fba.proc
Class CycleIdProcess<F extends Fluxome>

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

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

This class is used to execute steady state cycle identification processes.

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

Constructor Summary
CycleIdProcess(F fluxome, CycleComputer<F> computer)
          Constructs a new steady state cycle identification 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

CycleIdProcess

public CycleIdProcess(F fluxome,
                      CycleComputer<F> computer)
Constructs a new steady state cycle identification process.

Parameters:
fluxome - the fluxome whose cycles are to be computed.
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 Fluxome,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.