sbrt.kernel.fba
Class MixedFluxomeV1

java.lang.Object
  extended by sbrt.kernel.fba.MixedFluxomeV1
All Implemented Interfaces:
CatalyzedFluxome, Fluxome, MixedFluxome

public final class MixedFluxomeV1
extends java.lang.Object
implements MixedFluxome

This class is a concrete implementation of MixedFluxome. All internal reactions must be of the types IrrevRxn and RevRxn, and all exchange reactions must be of the types SourceRxn, SinkRxn, and RevExchRxn.

Instances of this class are immutable.

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

Field Summary
static Interval IRREV
          The constraint used by default for irreversible internal reactions and sink reactions: [0, Infinity).
static Interval OFF
          The constraint used by default for source reactions and reversible exchange reactions: [0, 0].
static Interval REV
          The constraint used by default for reversible internal reactions: (-Infinity, Infinity).
 
Constructor Summary
MixedFluxomeV1(java.util.Map<java.lang.String,? extends ChemRxn> rxns)
          Constructs a new mixed fluxome from the provided internal and exchange reactions.
MixedFluxomeV1(java.util.Map<java.lang.String,? extends ChemRxn> rxns, java.util.Map<java.lang.String,Or<And<java.lang.String>>> catalysts)
          Constructs a new mixed fluxome from the provided internal and exchange reactions and catalysts.
 
Method Summary
 int addedConstraints()
          Returns the total number of constraints added to this fluxome.
 boolean areReqCatalysts(java.util.Collection<java.lang.String> catalysts, java.lang.String rxnName)
          Indicates if the reaction with the provided name could function if each of the catalysts in the provided collection were simultaneously absent.
 boolean areRxnNames(java.util.Collection<java.lang.String> c)
          Indicates if every string in the provided collection is the name of a reaction contained in this fluxome.
 int catalysts()
          Returns the total number of catalysts contained in this fluxome.
 void checkCatalyst(java.lang.String catalyst)
          Ensures the provided string is a valid catalyst.
 void checkRxnName(java.lang.String reactionName)
          Ensures the provided string is a valid reaction name.
 void checkRxnNames(java.util.Collection<java.lang.String> rxnNames)
          Ensures each element of the provided collection is a valid reaction name.
 int exchangeRxns()
          Returns the total number of exchange reactions contained in this fluxome.
 Or<And<java.lang.String>> getCatalystRule(java.lang.String rxnName)
          Returns the boolean logic statement for the catalysts of the reaction with the provided name.
 java.util.Map<java.lang.String,Or<And<java.lang.String>>> getCatalystRules()
          Returns all of the boolean logic statements regarding reaction catalysis.
 java.util.Set<java.lang.String> getCatalysts()
          Returns the set of names of all catalysts contained in this fluxome.
 java.util.Set<java.lang.String> getCatalyzedRxnNames(java.lang.String catalyst)
          Returns the names of the reactions catalyzed by the provided catalyst.
 java.util.Map<java.lang.String,ChemRxn> getCatalyzedRxns(java.lang.String catalyst)
          Returns all of the internal reactions contained in this fluxome that are catalyzed by the provided catalyst.
 FluxConstraints getConstraints()
          Returns all constraints in this fluxome.
 ExchangeRxn getExchangeRxn(java.lang.String reactionName)
          Returns the exchange reaction in this fluxome with the provided name.
 java.util.Set<java.lang.String> getExchangeRxnNames()
          Returns the set of names of all exchange reactions in this fluxome.
 java.util.Map<java.lang.String,ExchangeRxn> getExchangeRxns()
          Returns all of the exchange reactions contained in this fluxome.
 java.util.Map<java.lang.String,ExchangeRxn> getExchangeRxns(java.util.Collection<java.lang.String> rxnNames)
          Returns the exchange reactions with the provided names.
 Interval getFluxConstraint(java.lang.String reactionName)
          Returns the flux constraint for the provided reaction.
 java.util.Map<java.lang.String,Interval> getFluxConstraints()
          Returns the constraints on each flux in this fluxome.
 ChemRxn getInternalRxn(java.lang.String reactionName)
          Returns the internal reaction in this fluxome with the provided name.
 java.util.Set<java.lang.String> getInternalRxnNames()
          Returns the set of names of all internal reactions in this fluxome.
 java.util.Map<java.lang.String,ChemRxn> getInternalRxns()
          Returns all of the internal reactions in this fluxome.
 java.util.Map<java.lang.String,ChemRxn> getInternalRxns(java.util.Collection<java.lang.String> rxnNames)
          Returns the internal reactions whose names appear in the provided collection of reaction names.
 ChemRxn getRxn(java.lang.String reactionName)
          Returns the chemical reaction in this fluxome with the provided name.
 Interval getRxnExprConstraint(MathExpr<java.lang.String> rxnNameExpr)
          Returns the constraint associated with the expression provided.
 java.util.Set<java.lang.String> getRxnNames()
          Returns the set of names of all chemical reactions contained in this fluxome.
 java.util.Map<java.lang.String,ChemRxn> getRxns()
          Returns all chemical reactions contained in this fluxome.
 java.util.Map<java.lang.String,ChemRxn> getRxns(java.util.Collection<java.lang.String> rxnNames)
          Returns the chemical reactions with the provided names.
 java.util.Set<java.lang.String> getSpecies()
          Returns the set of names of all chemical species participating in reactions contained in this fluxome.
 SparseDoubleMatrix<java.lang.String,java.lang.String> getStoichMatrix()
          Returns the stoichiometry matrix of this fluxome.
 int internalRxns()
          Returns the total number of internal reactions contained in this fluxome.
 boolean isCatalyst(java.lang.String s)
          Indicates if the provided string is the name of an catalyst contained in this fluxome.
 boolean isExchangeRxnName(java.lang.String s)
          Indicates if the provided string is the name of an exchange reaction contained in this fluxome.
 boolean isFluxVector(java.util.Map<java.lang.String,java.lang.Double> fluxValues, double tolerance)
          Indicates if the provided flux vector lies within the feasible space of this fluxome, given the provided tolerance value.
 boolean isInternalRxnName(java.lang.String s)
          Indicates if the provided string is the name of an internal reaction contained in this fluxome.
 boolean isReqCatalyst(java.lang.String catalyst, java.lang.String rxnName)
          Indicates if the specified catalyst is required for the reaction with the specified name.
 boolean isRxnName(java.lang.String s)
          Indicates if the provided string is the name of a reaction contained in this fluxome.
 boolean isSpecies(java.lang.String s)
          Indicates if the provided string is the name of a chemical species contained in this fluxome.
 boolean isValid(Interval c, java.lang.String rxnName, double tolerance)
          Indicates if the provided interval is a valid flux constraint for the reaction having the provided name.
static MixedFluxomeV1 make(java.util.Collection<java.lang.String> reactionNames, MixedFluxome fluxome)
          Returns a mixed fluxome composed of the reactions in the provided fluxome with the names in the provided collection.
 MixedFluxomeV1 replaceConstraints(FluxConstraints fluxConstraints, double constraintTolerance)
          Returns a copy of this fluxome, but with all constraints replaced by those provided.
 int rxns()
          Returns the total number of chemical reactions contained in this fluxome.
 int species()
          Returns the total number of chemical species contained in this fluxome.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IRREV

public static final Interval IRREV
The constraint used by default for irreversible internal reactions and sink reactions: [0, Infinity).


REV

public static final Interval REV
The constraint used by default for reversible internal reactions: (-Infinity, Infinity).


OFF

public static final Interval OFF
The constraint used by default for source reactions and reversible exchange reactions: [0, 0].

Constructor Detail

MixedFluxomeV1

public MixedFluxomeV1(java.util.Map<java.lang.String,? extends ChemRxn> rxns,
                      java.util.Map<java.lang.String,Or<And<java.lang.String>>> catalysts)
Constructs a new mixed fluxome from the provided internal and exchange reactions and catalysts. The flux of each reaction is constrained to its default value.

Parameters:
rxns - reaction names mapped to the internal and exchange reactions to be contained in this fluxome.
catalysts - the names of internal reactions mapped to the boolean logic rules governing their catalysis. Only the names of catalyzed reactions need to be present as keys in this map.

MixedFluxomeV1

public MixedFluxomeV1(java.util.Map<java.lang.String,? extends ChemRxn> rxns)
Constructs a new mixed fluxome from the provided internal and exchange reactions. The flux of each reaction is constrained to its default value.

Parameters:
rxns - reaction names mapped to the internal and exchange reactions to be contained in this fluxome.
Method Detail

checkRxnNames

public void checkRxnNames(java.util.Collection<java.lang.String> rxnNames)
Ensures each element of the provided collection is a valid reaction name.

Specified by:
checkRxnNames in interface MixedFluxome
Parameters:
rxnNames - a collection of strings.
Throws:
java.lang.IllegalArgumentException - if any element of this collection is not a valid reaction name.

checkRxnName

public void checkRxnName(java.lang.String reactionName)
Ensures the provided string is a valid reaction name.

Specified by:
checkRxnName in interface MixedFluxome
Parameters:
reactionName - a potential reaction name.
Throws:
java.lang.IllegalArgumentException - if the provided string is not a valid reaction name.

checkCatalyst

public void checkCatalyst(java.lang.String catalyst)
Ensures the provided string is a valid catalyst.

Parameters:
catalyst - a potential catalyst.
Throws:
java.lang.IllegalArgumentException - if the provided string is not a valid catalyst.

replaceConstraints

public MixedFluxomeV1 replaceConstraints(FluxConstraints fluxConstraints,
                                         double constraintTolerance)
Returns a copy of this fluxome, but with all constraints replaced by those provided. The lower flux bounds for irreversible reactions, including source and sink reactions, must be >= 0. The remaining flux bounds can be any values except NaN, lower bounds cannot be Double.POSITIVE_INFINITY, and upper bounds cannot be Double.NEGATIVE_INFINITY.

Specified by:
replaceConstraints in interface CatalyzedFluxome
Specified by:
replaceConstraints in interface Fluxome
Specified by:
replaceConstraints in interface MixedFluxome
Parameters:
fluxConstraints - the new set of constraints.
constraintTolerance - the allowed amount by which constraints can violate their maximum defined intervals.
Returns:
a copy of this fluxome, but with all constraints replaced by those provided.
See Also:
isValid(Interval, String, double)

getConstraints

public FluxConstraints getConstraints()
Returns all constraints in this fluxome.

Specified by:
getConstraints in interface Fluxome
Returns:
all constraints in this fluxome.

getFluxConstraints

public java.util.Map<java.lang.String,Interval> getFluxConstraints()
Returns the constraints on each flux in this fluxome.

Returns:
each reaction name in this fluxome mapped to its flux constraint.

getFluxConstraint

public Interval getFluxConstraint(java.lang.String reactionName)
Returns the flux constraint for the provided reaction.

Specified by:
getFluxConstraint in interface Fluxome
Parameters:
reactionName - the name of the reaction whose flux constraint will be returned.
Returns:
the flux constraint for the provided reaction.

getRxnExprConstraint

public Interval getRxnExprConstraint(MathExpr<java.lang.String> rxnNameExpr)
Returns the constraint associated with the expression provided. If the expression provided does not exist in this fluxome, the constraint (-Infinity, Infinity) is returned.

Specified by:
getRxnExprConstraint in interface Fluxome
Parameters:
rxnNameExpr - the mathematical expression of reaction names whose constraint is to be returned.
Returns:
the constraint on the provided mathematical expression of fluxes.

getExchangeRxns

public java.util.Map<java.lang.String,ExchangeRxn> getExchangeRxns()
Returns all of the exchange reactions contained in this fluxome.

Specified by:
getExchangeRxns in interface Fluxome
Specified by:
getExchangeRxns in interface MixedFluxome
Returns:
the names of all exchange reactions in this fluxome mapped to their corresponding reaction.

getCatalyzedRxns

public java.util.Map<java.lang.String,ChemRxn> getCatalyzedRxns(java.lang.String catalyst)
Returns all of the internal reactions contained in this fluxome that are catalyzed by the provided catalyst.

Specified by:
getCatalyzedRxns in interface CatalyzedFluxome
Parameters:
catalyst - the name of the catalyst whose reactions are to be returned.
Returns:
the set of all internal reactions contained in this fluxome that are catalyzed by the provided catalyst.
Throws:
java.lang.IllegalArgumentException - if the provided catalyst does not exist in this fluxome.

getRxns

public java.util.Map<java.lang.String,ChemRxn> getRxns()
Returns all chemical reactions contained in this fluxome. This is the union of all internal and exchange reactions.

Specified by:
getRxns in interface Fluxome
Returns:
the names of all reactions contained in this fluxome mapped to their corresponding reaction.
See Also:
getInternalRxns(), getExchangeRxns()

getRxns

public java.util.Map<java.lang.String,ChemRxn> getRxns(java.util.Collection<java.lang.String> rxnNames)
Returns the chemical reactions with the provided names.

Specified by:
getRxns in interface Fluxome
Parameters:
rxnNames - the names of the reactions to be returned.
Returns:
the provided reaction names mapped to their corresponding reaction.
Throws:
java.lang.IllegalArgumentException - if any of the provided names are invalid.

getRxn

public ChemRxn getRxn(java.lang.String reactionName)
Returns the chemical reaction in this fluxome with the provided name.

Specified by:
getRxn in interface Fluxome
Parameters:
reactionName - the name of the chemical reaction to be returned.
Returns:
the chemical reaction in this fluxome with the provided name.
Throws:
java.lang.IllegalArgumentException - if the provided string is not a valid reaction name.
See Also:
getInternalRxn(String), getExchangeRxn(String)

getExchangeRxn

public ExchangeRxn getExchangeRxn(java.lang.String reactionName)
Returns the exchange reaction in this fluxome with the provided name.

Specified by:
getExchangeRxn in interface MixedFluxome
Parameters:
reactionName - the name of the exchange reaction to be returned.
Returns:
the chemical reaction in this fluxome with the provided name.
Throws:
java.lang.IllegalArgumentException - if the provided string is not the name of an exchange reaction in this fluxome.

getInternalRxn

public ChemRxn getInternalRxn(java.lang.String reactionName)
Returns the internal reaction in this fluxome with the provided name.

Specified by:
getInternalRxn in interface MixedFluxome
Parameters:
reactionName - the name of the internal reaction to be returned.
Returns:
the internal reaction in this fluxome with the provided name.
Throws:
java.lang.IllegalArgumentException - if the provided string is not the name of an internal reaction in this fluxome.

getCatalyzedRxnNames

public java.util.Set<java.lang.String> getCatalyzedRxnNames(java.lang.String catalyst)
Returns the names of the reactions catalyzed by the provided catalyst.

Specified by:
getCatalyzedRxnNames in interface CatalyzedFluxome
Parameters:
catalyst - the name of a catalyst in this fluxome.
Returns:
a set of names of the reactions catalyzed by the provided catalyst.
Throws:
java.lang.IllegalArgumentException - if the provided string is not the name of a catalyst in this fluxome.

getRxnNames

public java.util.Set<java.lang.String> getRxnNames()
Returns the set of names of all chemical reactions contained in this fluxome. This set is the union of the names of internal and exchange reactions.

Specified by:
getRxnNames in interface Fluxome
Returns:
the set of names of all chemical reactions contained in this fluxome.
See Also:
getInternalRxnNames(), getExchangeRxnNames()

getInternalRxnNames

public java.util.Set<java.lang.String> getInternalRxnNames()
Returns the set of names of all internal reactions in this fluxome.

Specified by:
getInternalRxnNames in interface Fluxome
Returns:
the set of names of all internal reactions in this fluxome.

getInternalRxns

public java.util.Map<java.lang.String,ChemRxn> getInternalRxns()
Returns all of the internal reactions in this fluxome.

Specified by:
getInternalRxns in interface Fluxome
Specified by:
getInternalRxns in interface MixedFluxome
Returns:
all of the internal reactions in this fluxome.

getExchangeRxnNames

public java.util.Set<java.lang.String> getExchangeRxnNames()
Returns the set of names of all exchange reactions in this fluxome.

Specified by:
getExchangeRxnNames in interface Fluxome
Returns:
the set of names of all exchange reactions in this fluxome.

getExchangeRxns

public java.util.Map<java.lang.String,ExchangeRxn> getExchangeRxns(java.util.Collection<java.lang.String> rxnNames)
Returns the exchange reactions with the provided names.

Specified by:
getExchangeRxns in interface MixedFluxome
Parameters:
rxnNames - the names of the reactions to be returned.
Returns:
reaction names mapped to their reaction.
Throws:
java.lang.IllegalArgumentException - if an invalid name is provided.

rxns

public int rxns()
Returns the total number of chemical reactions contained in this fluxome.

Specified by:
rxns in interface Fluxome
Returns:
the total number of chemical reactions contained in this fluxome.

internalRxns

public int internalRxns()
Returns the total number of internal reactions contained in this fluxome.

Specified by:
internalRxns in interface Fluxome
Returns:
the total number of internal reactions contained in this fluxome.

exchangeRxns

public int exchangeRxns()
Returns the total number of exchange reactions contained in this fluxome.

Specified by:
exchangeRxns in interface Fluxome
Returns:
the total number of exchange reactions contained in this fluxome.

addedConstraints

public int addedConstraints()
Returns the total number of constraints added to this fluxome.

Specified by:
addedConstraints in interface Fluxome
Returns:
the total number of constraints added to this fluxome.
See Also:
replaceConstraints(FluxConstraints, double)

catalysts

public int catalysts()
Returns the total number of catalysts contained in this fluxome.

Specified by:
catalysts in interface CatalyzedFluxome
Returns:
the total number of catalysts contained in this fluxome.

species

public int species()
Returns the total number of chemical species contained in this fluxome.

Specified by:
species in interface Fluxome
Returns:
the total number of chemical species contained in this fluxome.

getCatalysts

public java.util.Set<java.lang.String> getCatalysts()
Returns the set of names of all catalysts contained in this fluxome.

Specified by:
getCatalysts in interface CatalyzedFluxome
Returns:
the set of names of all catalysts contained in this fluxome.

getSpecies

public java.util.Set<java.lang.String> getSpecies()
Returns the set of names of all chemical species participating in reactions contained in this fluxome.

Specified by:
getSpecies in interface Fluxome
Returns:
the set of names of all chemical species participating in reactions contained in this fluxome.

isSpecies

public boolean isSpecies(java.lang.String s)
Indicates if the provided string is the name of a chemical species contained in this fluxome.

Specified by:
isSpecies in interface Fluxome
Parameters:
s - the string to test.
Returns:
true if the string is the name of a chemical species contained in this fluxome; false otherwise.

isCatalyst

public boolean isCatalyst(java.lang.String s)
Indicates if the provided string is the name of an catalyst contained in this fluxome.

Specified by:
isCatalyst in interface CatalyzedFluxome
Parameters:
s - the string to test.
Returns:
true if the string is the name of a catalyst contained in this fluxome; false otherwise.

isRxnName

public boolean isRxnName(java.lang.String s)
Indicates if the provided string is the name of a reaction contained in this fluxome.

Specified by:
isRxnName in interface Fluxome
Parameters:
s - the string to test.
Returns:
true if the string is the name of a reaction contained in this fluxome; false otherwise.

isInternalRxnName

public boolean isInternalRxnName(java.lang.String s)
Indicates if the provided string is the name of an internal reaction contained in this fluxome.

Specified by:
isInternalRxnName in interface Fluxome
Parameters:
s - the string to test.
Returns:
true if the string is a valid internal reaction name; false otherwise.

isExchangeRxnName

public boolean isExchangeRxnName(java.lang.String s)
Indicates if the provided string is the name of an exchange reaction contained in this fluxome.

Specified by:
isExchangeRxnName in interface Fluxome
Parameters:
s - the string to test.
Returns:
true if the string is a valid exchange reaction name; false otherwise.

areRxnNames

public boolean areRxnNames(java.util.Collection<java.lang.String> c)
Indicates if every string in the provided collection is the name of a reaction contained in this fluxome.

Specified by:
areRxnNames in interface Fluxome
Parameters:
c - a collection of strings.
Returns:
true if every string is a valid reaction name; false otherwise.

isValid

public boolean isValid(Interval c,
                       java.lang.String rxnName,
                       double tolerance)
Indicates if the provided interval is a valid flux constraint for the reaction having the provided name. The lower flux bounds for irreversible reactions, including source and sink reactions, must be >= 0. The remaining flux bounds can be any values except NaN, lower bounds cannot be Double.POSITIVE_INFINITY, and upper bounds cannot be Double.NEGATIVE_INFINITY.

Specified by:
isValid in interface Fluxome
Parameters:
c - the flux constraint to test.
rxnName - the name of the reaction.
tolerance - the allowed amount by which constraints can violate their maximum defined intervals.
Returns:
true if the provided constraint lies within it maximum defined limits; false otherwise.
Throws:
java.lang.IllegalArgumentException - if the provided reaction name does not exist in this fluxome; or if the provided tolerance is < 0, NaN, or infinite.
java.lang.NullPointerException - if the provided constraint is null

getStoichMatrix

public SparseDoubleMatrix<java.lang.String,java.lang.String> getStoichMatrix()
Returns the stoichiometry matrix of this fluxome.

Specified by:
getStoichMatrix in interface Fluxome
Returns:
the stoichiometry matrix of this fluxome. Row indices in this matrix are the names of chemical species, and column indices are reaction names.

isFluxVector

public boolean isFluxVector(java.util.Map<java.lang.String,java.lang.Double> fluxValues,
                            double tolerance)
Indicates if the provided flux vector lies within the feasible space of this fluxome, given the provided tolerance value.

Specified by:
isFluxVector in interface Fluxome
Parameters:
fluxValues - reaction names mapped to flux values.
tolerance - the numerical tolerance.
Returns:
true if the vector satisfies all constraints; false otherwise.

make

public static MixedFluxomeV1 make(java.util.Collection<java.lang.String> reactionNames,
                                  MixedFluxome fluxome)
Returns a mixed fluxome composed of the reactions in the provided fluxome with the names in the provided collection. This method can be used to copy an entire fluxome or to create a sub-fluxome. The constraints in the returned fluxome are set to their default values, that is, they are not copied from the provided fluxome.

Parameters:
reactionNames - the names of reactions in the provided fluxome used to compose the returned fluxome.
fluxome - the fluxome used to compose the returned fluxome.
Returns:
a mixed fluxome composed of the reactions in the provided fluxome with the names in the provided collection.

getCatalystRules

public java.util.Map<java.lang.String,Or<And<java.lang.String>>> getCatalystRules()
Returns all of the boolean logic statements regarding reaction catalysis.

Specified by:
getCatalystRules in interface CatalyzedFluxome
Specified by:
getCatalystRules in interface MixedFluxome
Returns:
the names of catalyzed reactions mapped to their boolean logic rules of their catalyst(s).

getCatalystRule

public Or<And<java.lang.String>> getCatalystRule(java.lang.String rxnName)
Returns the boolean logic statement for the catalysts of the reaction with the provided name.

Specified by:
getCatalystRule in interface CatalyzedFluxome
Specified by:
getCatalystRule in interface MixedFluxome
Parameters:
rxnName - the name of the reaction for which the catalyst rules are to be returned.
Returns:
the boolean logic statement for the catalysts of the reaction with the provided name. If the specified reaction is not catalyzed, an empty (non-null) rule is returned.

getInternalRxns

public java.util.Map<java.lang.String,ChemRxn> getInternalRxns(java.util.Collection<java.lang.String> rxnNames)
Returns the internal reactions whose names appear in the provided collection of reaction names. Every string in the provided collection must be the name of a reaction in this fluxome, but the names of exchange reactions are ignored.

Specified by:
getInternalRxns in interface MixedFluxome
Parameters:
rxnNames - a collection of reaction names.
Returns:
the names of internal reactions contained in rxnNames mapped to their corresponding reaction.
Throws:
java.lang.IllegalArgumentException - if a string in rxnNames is not the name of a reaction in this fluxome.

isReqCatalyst

public boolean isReqCatalyst(java.lang.String catalyst,
                             java.lang.String rxnName)
Indicates if the specified catalyst is required for the reaction with the specified name.

Specified by:
isReqCatalyst in interface CatalyzedFluxome
Parameters:
catalyst - the catalyst.
rxnName - the name of the reaction.
Returns:
true if the provided catalyst is required by the reaction with the provided name; false otherwise.
Throws:
java.lang.IllegalArgumentException - if rxnName is not a valid reaction name.

areReqCatalysts

public boolean areReqCatalysts(java.util.Collection<java.lang.String> catalysts,
                               java.lang.String rxnName)
Indicates if the reaction with the provided name could function if each of the catalysts in the provided collection were simultaneously absent.

Specified by:
areReqCatalysts in interface CatalyzedFluxome
Parameters:
catalysts - the collection of catalysts.
rxnName - the name of the reaction.
Returns:
true if the provided catalysts are required for the specified reaction to function; false otherwise.
Throws:
java.lang.IllegalArgumentException - if rxnName is not a valid reaction name.