Class BiochemicalReaction
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Actionable
,it.unibo.alchemist.model.Reaction
,java.io.Serializable
,java.lang.Comparable
public final class BiochemicalReaction extends ChemicalReaction<T>
A biochemical Reaction.
-
-
Field Summary
Fields Modifier and Type Field Description public final TimeDistribution<T>
timeDistribution
public final Node<T>
node
-
Constructor Summary
Constructors Constructor Description BiochemicalReaction(Node<Double> node, TimeDistribution<Double> timeDistribution, Environment<Double, out Object> environment, RandomGenerator randomGenerator)
-
Method Summary
Modifier and Type Method Description BiochemicalReaction
cloneOnNewNode(@Nonnull() Node<Double> node, @Nonnull() Time currentTime)
void
execute()
void
setConditions(@Nonnull() List<out Condition<Double>> conditions)
-
Methods inherited from class it.unibo.alchemist.model.reactions.AbstractReaction
canExecute, compareTo, equals, getActions, getConditions, getInboundDependencies, getInputContext, getNode, getOutboundDependencies, getOutputContext, getTau, getTimeDistribution, hashCode, setActions, toString, update
-
Methods inherited from class it.unibo.alchemist.model.reactions.ChemicalReaction
getRate, initializationComplete
-
Methods inherited from class it.unibo.alchemist.model.Reaction
cloneOnNewNode
-
Methods inherited from class it.unibo.alchemist.model.Actionable
getInboundDependencies, getOutboundDependencies
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BiochemicalReaction
BiochemicalReaction(Node<Double> node, TimeDistribution<Double> timeDistribution, Environment<Double, out Object> environment, RandomGenerator randomGenerator)
- Parameters:
node
- nodetimeDistribution
- time distributionenvironment
- the environmentrandomGenerator
- the random generator
-
-
Method Detail
-
cloneOnNewNode
@Nonnull() BiochemicalReaction cloneOnNewNode(@Nonnull() Node<Double> node, @Nonnull() Time currentTime)
-
execute
void execute()
-
setConditions
void setConditions(@Nonnull() List<out Condition<Double>> conditions)
-
-
-
-