public class CatalysedNetwork extends ModifierNetwork
CatalysedNetwork
out of a AutocatalyticNetwork
(or at
least of a ModifierNetwork
whose original network is a AutocatalyticNetwork
).
The AmountManager
automatically monitors the food molecules amounts and whenever it
changes, it is reset to the initial value (given by AutocatalyticNetwork.getMonomerAmount()
.
The PropensityCalculator
's constant is AutocatalyticNetwork.getCatalyzedKineticConstant()
for each reaction with a catalyst and AutocatalyticNetwork.getUncatalyzedKineticConstant()
for the other ones.
The AnnotationManager
uses the underlying one but removes the AutocatalyticNetwork.CATALYSTS_FIELD
and the field Autocatalytic
from not catalyzed
reactions.
Constructor and Description |
---|
CatalysedNetwork(Network originalNet)
Create a catalyzed network from an original network.
|
Modifier and Type | Method and Description |
---|---|
AmountManager |
getAmountManager()
Gets the
AmountManager of the original network. |
AnnotationManager |
getAnnotationManager()
Gets the
AnnotationManager of the original network |
int |
getNumReactions()
Gets the number of reaction in the original network.
|
int[] |
getProducts(int reaction)
Gets the products of a reaction in the original network.
|
PropensityCalculator |
getPropensityCalculator()
Gets the
PropensityCalculator of the original network. |
int[] |
getReactants(int reaction)
Gets the reactants of a reaction in the original network.
|
String |
getReactionName(int index)
Gets a string representation of the reactio in the original network.
|
getInitialAmount, getName, getNumSpecies, getOriginalNetwork, getParentNetwork, getSpeciesByName, getSpeciesName, setInitialAmount
public CatalysedNetwork(Network originalNet)
originalNet
- the original networkpublic int getNumReactions()
ModifierNetwork
getNumReactions
in interface Network
getNumReactions
in class ModifierNetwork
public int[] getReactants(int reaction)
ModifierNetwork
getReactants
in interface Network
getReactants
in class ModifierNetwork
reaction
- index of the reaction in the original networkpublic int[] getProducts(int reaction)
ModifierNetwork
getProducts
in interface Network
getProducts
in class ModifierNetwork
reaction
- index of the reaction in the original networkpublic PropensityCalculator getPropensityCalculator()
ModifierNetwork
PropensityCalculator
of the original network.getPropensityCalculator
in interface Network
getPropensityCalculator
in class ModifierNetwork
PropensityCalculator
of the the original networkpublic AmountManager getAmountManager()
ModifierNetwork
AmountManager
of the original network.getAmountManager
in interface Network
getAmountManager
in class ModifierNetwork
AmountManager
of the the original networkpublic AnnotationManager getAnnotationManager()
ModifierNetwork
AnnotationManager
of the original networkgetAnnotationManager
in interface Network
getAnnotationManager
in class ModifierNetwork
AnnotationManager
of the original networkpublic String getReactionName(int index)
ModifierNetwork
getReactionName
in interface Network
getReactionName
in class ModifierNetwork
index
- index of the reaction in the original networkCopyright © 2007–2021. All rights reserved.