|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.fba.FluxConstraints
public class FluxConstraints
This class is used to group sets of flux constraints.
Typically, a constraint in FBA only applies to the flux of a single chemical reaction. This type of constraint is referred to here as a "flux constraint".
It is also possible, however, to constrain the value of a mathematical expression containing one or more fluxes. This type of constraint is referred to here as an "expression constraint", or sometimes as a "reaction expression constraint".
Instances of this class are immutable.
Constructor Summary | |
---|---|
FluxConstraints(java.util.Map<java.lang.String,Interval> fluxConstraints)
Constructs a set of FBA constraints from the provided argument. |
|
FluxConstraints(java.util.Map<java.lang.String,Interval> fluxConstraints,
java.util.Map<? extends MathExpr<java.lang.String>,Interval> exprConstraints)
Constructs a set of FBA constraints from the provided arguments. |
Method Summary | |
---|---|
Interval |
getConstraint(MathExpr<java.lang.String> rxnExpr)
Returns the constraint of the provided mathematical expression of reaction names. |
Interval |
getConstraint(java.lang.String rxnName)
Returns the flux constraint for the provided reaction. |
UnmodifiableMap<MathExpr<java.lang.String>,Interval> |
getExprConstraints()
Returns the constraints for mathematical expressions of fluxes. |
UnmodifiableMap<java.lang.String,Interval> |
getFluxConstraints()
Returns the flux constraints for single reactions. |
int |
total()
Returns the total number of elements contained in this set of constraints. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FluxConstraints(java.util.Map<java.lang.String,Interval> fluxConstraints, java.util.Map<? extends MathExpr<java.lang.String>,Interval> exprConstraints)
fluxConstraints
- reactions names mapped to their
corresponding flux constraint.exprConstraints
- mathematical expressions of reaction names
mapped to their corresponding constraint.public FluxConstraints(java.util.Map<java.lang.String,Interval> fluxConstraints)
fluxConstraints
- reactions names mapped to their
corresponding flux constraint.Method Detail |
---|
public UnmodifiableMap<java.lang.String,Interval> getFluxConstraints()
public UnmodifiableMap<MathExpr<java.lang.String>,Interval> getExprConstraints()
public Interval getConstraint(java.lang.String rxnName)
rxnName
- the name of the reaction whose flux constraint is to be returned.
null
if the reaction is not present in this set.public Interval getConstraint(MathExpr<java.lang.String> rxnExpr)
rxnExpr
- the mathematical expression of reaction names whose
constraint is to be returned.
null
if the expression is not
present in this set.public int total()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |