|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.fba.proc.FbaProcess<F,java.util.Map<java.lang.String,Interval>>
sbrt.kernel.fba.proc.RandConstGeneratorV1<F>
F
- the fluxome type.public final class RandConstGeneratorV1<F extends Fluxome>
This class is used to generate random flux constraints.
Constructor Summary | |
---|---|
RandConstGeneratorV1(F fluxome)
Constructs a new random constraint generator. |
Method Summary | |
---|---|
int |
getActiveFluxes()
Returns the number of active fluxes in each set of randomly generated flux constraints. |
F |
getFluxome()
Returns the fluxome for which random constraints are to be generated. |
Interval |
getInactive()
Returns the constraint used for inactive reactions. |
Interval |
getIrrevConstraint()
Returns the constraint used for active irreversible reactions. |
int |
getIterations()
Returns the number of sets of random constraints to be generated. |
ProgressMonitor |
getProgress()
Returns a progress monitor for this process. |
Interval |
getRevConstraint()
Returns the constraint used for active reversible reactions. |
void |
run(ResultsManager<java.util.Map<java.lang.String,Interval>> resultsManager)
Generates sets of random flux constraints and adds them to the provided results manager. |
void |
setActiveFluxes(int activeFluxes)
Sets the total number of active fluxes to be contained in each randomly generated set of flux constraints. |
void |
setInactive(Interval inactive)
Sets the constraint used for inactive reactions. |
void |
setIrrevConstraint(Interval constraint)
Sets the constraint used for active irreversible reactions. |
void |
setIterations(int iterations)
Sets the number of sets of random flux constraints to be produced. |
void |
setRandom(java.util.Random random)
Sets the random number generator to the one provided. |
void |
setReactions(java.util.Set<java.lang.String> reactionNames)
Sets the reaction names for which random constraints are to be generated. |
void |
setRevConstraint(Interval constraint)
Sets the constraint used for active reversible reactions. |
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 RandConstGeneratorV1(F fluxome)
fluxome
- the fluxome for which random flux constraints are to
be generated.Method Detail |
---|
public F getFluxome()
getFluxome
in class FbaProcess<F extends Fluxome,java.util.Map<java.lang.String,Interval>>
public int getIterations()
public void setIterations(int iterations)
iterations
- the number of random flux constraints to be
produced.public int getActiveFluxes()
public void setActiveFluxes(int activeFluxes)
activeFluxes
- the total number of active fluxes to be contained
in each randomly generated set of flux constraints.public void setReactions(java.util.Set<java.lang.String> reactionNames)
reactionNames
- the reaction names for which random constraints
are to be generated.public void setRandom(java.util.Random random)
random
- the random number generator to use.public Interval getIrrevConstraint()
public Interval getRevConstraint()
public Interval getInactive()
public void setIrrevConstraint(Interval constraint)
constraint
- the constraint used for active irreversible reactions.public void setRevConstraint(Interval constraint)
constraint
- the constraint used for active reversible reactions.public void setInactive(Interval inactive)
inactive
- the constraint used for inactive reactions.public void run(ResultsManager<java.util.Map<java.lang.String,Interval>> resultsManager)
run
in interface KernelProcess<java.util.Map<java.lang.String,Interval>>
resultsManager
- the results manager to which reaction names
mapped to their randomly assigned constraint is added.public ProgressMonitor getProgress()
getProgress
in interface MonitoredProcess<java.util.Map<java.lang.String,Interval>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |