|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.fba.proc.FbaProcess<F,LinearComb<java.lang.String>>
sbrt.kernel.fba.proc.RandomObjectiveGenerator<F>
F
- the fluxome type.public final class RandomObjectiveGenerator<F extends Fluxome>
This class is used to generate random objective functions.
Constructor Summary | |
---|---|
RandomObjectiveGenerator(F fluxome)
Constructs a new random objective function generator. |
Method Summary | |
---|---|
F |
getFluxome()
Returns the fluxome for which random objective functions are to be generated. |
ProgressMonitor |
getProgress()
Returns a progress monitor for this process. |
void |
run(ResultsManager<LinearComb<java.lang.String>> resultsManager)
Generates random objective functions and adds them to the provided results manager. |
void |
setIterations(int iterations)
Sets the number of random objective functions to be produced. |
void |
setRandom(java.util.Random random)
Sets the random number generator to the one provided. |
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 RandomObjectiveGenerator(F fluxome)
fluxome
- the fluxome for which random objective functions are to
be generated.Method Detail |
---|
public F getFluxome()
getFluxome
in class FbaProcess<F extends Fluxome,LinearComb<java.lang.String>>
public ProgressMonitor getProgress()
getProgress
in interface MonitoredProcess<LinearComb<java.lang.String>>
public void setRandom(java.util.Random random)
random
- the random number generator to use.public void setIterations(int iterations)
iterations
- the number of random objective functions to be
produced.public void run(ResultsManager<LinearComb<java.lang.String>> resultsManager)
run
in interface KernelProcess<LinearComb<java.lang.String>>
resultsManager
- the results manager to which the random objective
functions will be added.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |