-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Reaction,java.io.Serializable,java.lang.Comparable
public final class Event<T> extends AbstractReaction<T>
This reaction completely ignores the propensity conditioning of the conditions, and tries to run every time the TimeDistribution wants to.
-
-
Constructor Summary
Constructors Constructor Description Event(Node<T> node, TimeDistribution<T> timedist)
-
Method Summary
Modifier and Type Method Description doublegetRate()Event<T>cloneOnNewNode(Node<T> node, Time currentTime)-
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, initializationComplete, 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
-
Event
Event(Node<T> node, TimeDistribution<T> timedist)
- Parameters:
node- the node this Event belongs totimedist- the TimeDistribution this event should use
-
-
-
-