alchemist-interfaces / it.unibo.alchemist.model.interfaces / Incarnation / createReaction

createReaction

abstract fun createReaction(rand: RandomGenerator!, env: Environment<T, P>!, node: Node<T>!, time: TimeDistribution<T>!, param: String!): Reaction<T>!

Parameters

rand - RandomGenerator!: the random engine

env - Environment<T, P>!: the environment that will host this object

node - Node<T>!: the node that will host this object

time - TimeDistribution<T>!: the time distribution of the reaction

param - String!: a String describing the object

Return
Reaction<T>!: a new Reaction