AlchemistExecutionContext

constructor(environment: Environment<Any, P>, localNode: Node<Any>, reaction: Reaction<Any>, random: RandomGenerator, networkManager: AlchemistNetworkManager)

Parameters

environment

the simulation Environment

localNode

the local Node

reaction

the Reaction hosting the program

random

the RandomGenerator for this simulation

networkManager

constructor(environment: Environment<Any, P>, localNode: Node<Any>, protelisDevice: ProtelisDevice<P>, reaction: Reaction<Any>, random: RandomGenerator, networkManager: AlchemistNetworkManager)

Parameters

environment

the simulation Environment

localNode

the local Node

protelisDevice

the local ProtelisDevice

reaction

the Reaction hosting the program

random

the RandomGenerator for this simulation

networkManager