|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.fba.proc.FbaProcess<F,FbaOptimizer.Results>
sbrt.kernel.fba.proc.ObjFunAnalysis<F>
F
- the fluxome type.public final class ObjFunAnalysis<F extends Fluxome>
This class is used to perform objective function analyses.
Constructor Summary | |
---|---|
ObjFunAnalysis(FbaOptimizer<F> computer)
Constructs a new objective function process. |
Method Summary | |
---|---|
F |
getFluxome()
Returns the fluxome used in this process. |
OptSense |
getOptimizationSense()
Returns the current optimization sense. |
ProgressMonitor |
getProgress()
Returns a progress monitor for this process. |
void |
run(ResultsManager<FbaOptimizer.Results> resultsManager)
Runs this process and adds the generated results to the provided results manager via its ResultsManager.addData(Object) method. |
void |
setObjectiveFunctionSource(java.lang.Iterable<? extends MathExpr<java.lang.String>> objectiveSource)
Sets the objective function input source. |
void |
setOptimizationSense(OptSense sense)
Sets the optimization sense to the provided value. |
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 |
---|
public ObjFunAnalysis(FbaOptimizer<F> computer)
computer
- the computer with which all results will be computed.Method Detail |
---|
public F getFluxome()
getFluxome
in class FbaProcess<F extends Fluxome,FbaOptimizer.Results>
public OptSense getOptimizationSense()
public void setOptimizationSense(OptSense sense)
sense
- an optimization sense.public void setObjectiveFunctionSource(java.lang.Iterable<? extends MathExpr<java.lang.String>> objectiveSource)
objectiveSource
- a source of objective functions whose
optimal values are to be computed.public ProgressMonitor getProgress()
getProgress
in interface MonitoredProcess<FbaOptimizer.Results>
public void run(ResultsManager<FbaOptimizer.Results> resultsManager)
An objective function is retrieved from the objective source, its optimal value is computed, and the results are added to the provided results manager. This is repeated until the end of the objective source is reached.
run
in interface KernelProcess<FbaOptimizer.Results>
resultsManager
- the results manager to which the results will be added.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |