-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Reaction,java.io.Serializable,java.lang.Comparable
public class ChemicalReaction<T> extends AbstractReaction<T>
-
-
Constructor Summary
Constructors Constructor Description ChemicalReaction(Node<T> n, TimeDistribution<T> pd)
-
Method Summary
Modifier and Type Method Description ChemicalReaction<T>cloneOnNewNode(Node<T> node, Time currentTime)final voidinitializationComplete(Time atTime, Environment<T, out Object> environment)final doublegetRate()-
Methods inherited from class it.unibo.alchemist.model.implementations.reactions.AbstractReaction
canExecute, compareTo, equals, execute, getActions, getConditions, getInboundDependencies, getInputContext, getNode, getOutboundDependencies, getOutputContext, getTau, getTimeDistribution, hashCode, setActions, setConditions, toString, update -
Methods inherited from class it.unibo.alchemist.model.interfaces.Reaction
canExecute, execute, getActions, getConditions, getInboundDependencies, getInputContext, getNode, getOutboundDependencies, getOutputContext, getTau, getTimeDistribution, initializationComplete, setActions, setConditions, update -
Methods inherited from class java.lang.Comparable
compareTo -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ChemicalReaction
ChemicalReaction(Node<T> n, TimeDistribution<T> pd)
- Parameters:
n- nodepd- time distribution
-
-
Method Detail
-
cloneOnNewNode
ChemicalReaction<T> cloneOnNewNode(Node<T> node, Time currentTime)
-
initializationComplete
final void initializationComplete(Time atTime, Environment<T, out Object> environment)
-
getRate
final double getRate()
-
-
-
-