Package bio.singa.simulation.model.modules.concentration.imlementations.reactions.behaviors.kineticlaws
Class AbstractKineticLaw
- java.lang.Object
-
- bio.singa.simulation.model.modules.concentration.imlementations.reactions.behaviors.kineticlaws.AbstractKineticLaw
-
- All Implemented Interfaces:
KineticLaw
- Direct Known Subclasses:
IrreversibleKineticLaw,MichaelisMentenKineticLaw,ReversibleKineticLaw
public abstract class AbstractKineticLaw extends Object implements KineticLaw
- Author:
- cl
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<Class<? extends bio.singa.features.model.Feature>,RateConstant>cachedFeatureprotected Reactionreaction
-
Constructor Summary
Constructors Constructor Description AbstractKineticLaw(Reaction reaction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends bio.singa.features.model.Feature>
TgetRate(Class<T> featureClass)protected doublegetScaledRate(Class<? extends bio.singa.features.model.Feature> featureClass)protected doublemultiply(List<ReactantConcentration> reactants)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface bio.singa.simulation.model.modules.concentration.imlementations.reactions.behaviors.kineticlaws.KineticLaw
determineVelocity
-
-
-
-
Field Detail
-
reaction
protected Reaction reaction
-
cachedFeature
protected Map<Class<? extends bio.singa.features.model.Feature>,RateConstant> cachedFeature
-
-
Constructor Detail
-
AbstractKineticLaw
public AbstractKineticLaw(Reaction reaction)
-
-
Method Detail
-
getScaledRate
protected double getScaledRate(Class<? extends bio.singa.features.model.Feature> featureClass)
-
getRate
public <T extends bio.singa.features.model.Feature> T getRate(Class<T> featureClass)
-
multiply
protected double multiply(List<ReactantConcentration> reactants)
-
-