AlchemistExecutionContext
constructor(environmentAccess: Environment<Any, P>, node: Node<Any>, protelisDevice: ProtelisDevice<P>, reaction: Reaction<Any>, randomGenerator: RandomGenerator, networkManager: AlchemistNetworkManager)(source)
Parameters
position type
environmentAccess
the simulation it.unibo.alchemist.model.Environment
node
the local it.unibo.alchemist.model.Node
protelisDevice
reaction
the it.unibo.alchemist.model.Reaction hosting the program
randomGenerator
the org.apache.commons.math3.random.RandomGenerator for this simulation
networkManager
the AlchemistNetworkManager to be used
constructor(environment: Environment<Any, P>, localNode: Node<Any>, reaction: Reaction<Any>, random: RandomGenerator, networkManager: AlchemistNetworkManager)(source)
Parameters
environment
the simulation Environment
localNode
the local Node
reaction
the Reaction hosting the program
random
the RandomGenerator for this simulation
networkManager
the AlchemistNetworkManager to be used