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

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

public final class FbaSolverProcess<F extends Fluxome>
extends FbaProcess<F,LinearSystemSolution<java.lang.String>>

This class is used to solve the equation Sv = 0.

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

Constructor Summary
FbaSolverProcess(F fluxome)
          Constructs a new FBA solver process.
 
Method Summary
 F getFluxome()
          Returns the fluxome for which Sv = 0 is solved.
 void run(ResultsManager<LinearSystemSolution<java.lang.String>> resultsManager)
          Solves Sv = 0 and adds the result to the provided manager.
 void setSolver(LinearSystemSolver<java.lang.String> solver)
          Sets the linear system solver to be used.
 
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

FbaSolverProcess

public FbaSolverProcess(F fluxome)
Constructs a new FBA solver process.

Parameters:
fluxome - the fluxome with for which Sv = 0 is solved.
Method Detail

getFluxome

public F getFluxome()
Returns the fluxome for which Sv = 0 is solved.

Specified by:
getFluxome in class FbaProcess<F extends Fluxome,LinearSystemSolution<java.lang.String>>
Returns:
the fluxome for which Sv = 0 is solved.

setSolver

public void setSolver(LinearSystemSolver<java.lang.String> solver)
Sets the linear system solver to be used.

Parameters:
solver - the linear system solver to be used.

run

public void run(ResultsManager<LinearSystemSolution<java.lang.String>> resultsManager)
Solves Sv = 0 and adds the result to the provided manager.

Parameters:
resultsManager - the results manager to which the solution to Sv = 0 will be added.