public abstract class Reaction extends Object
ChemicalEntitys used in a Reaction are
encapsulated to Reactants to define stoichiometry and ReactantRole. The implementations of
Reaction have to specify how to calculate the actual acceleration of a reaction.| Constructor and Description |
|---|
Reaction() |
| Modifier and Type | Method and Description |
|---|---|
abstract javax.measure.Quantity<ReactionRate> |
calculateAcceleration(BioNode node,
CellSection section)
Determines the actual acceleration of concentration that would result in a change in concentration if the
reaction is occurring in the given
BioNode. |
abstract Set<ChemicalEntity<?>> |
collectAllReferencedEntities() |
protected javax.measure.Quantity<MolarConcentration> |
determineConcentration(BioNode node,
CellSection section,
ReactantRole role)
Determines the concentration of reactants that influence the velocity of the reaction.
|
String |
getDisplayString() |
List<ChemicalEntity> |
getProducts() |
List<StoichiometricReactant> |
getStoichiometricReactants()
Returns the list of reactants for this reaction.
|
List<ChemicalEntity> |
getSubstrates() |
boolean |
isElementary()
Returns
true if this Reaction is considered elementary and false otherwise. |
void |
setElementary(boolean elementary)
Sets this Reaction as elementary.
|
void |
setStoichiometricReactants(List<StoichiometricReactant> stoichiometricReactants)
Sets the list of reactants for this reaction.
|
public List<StoichiometricReactant> getStoichiometricReactants()
public void setStoichiometricReactants(List<StoichiometricReactant> stoichiometricReactants)
stoichiometricReactants - The list of reactants for this reaction.public List<ChemicalEntity> getSubstrates()
public List<ChemicalEntity> getProducts()
protected javax.measure.Quantity<MolarConcentration> determineConcentration(BioNode node, CellSection section, ReactantRole role)
node - The node, where the concentrations are collected.role - The role that is to be summarized (ReactantRole.INCREASING for Products and ReactantRole.DECREASING for Substrates).section - The cell section.public abstract javax.measure.Quantity<ReactionRate> calculateAcceleration(BioNode node, CellSection section)
BioNode.node - The node containing the concentrations of species subject to this reaction.section - The cell section.public abstract Set<ChemicalEntity<?>> collectAllReferencedEntities()
public boolean isElementary()
true if this Reaction is considered elementary and false otherwise.true if this Reaction is considered elementary and false otherwise.public void setElementary(boolean elementary)
elementary - true if this Reaction is elementary and false otherwise.public String getDisplayString()
Copyright © 2017. All rights reserved.