Alchemist Execution Context
constructor(environmentAccess: Environment<Any, P>, node: Node<Any>, protelisDevice: ProtelisDevice<P>, reaction: Reaction<Any>, randomGenerator: RandomGenerator, networkManager: AlchemistNetworkManager)
Parameters
node
the local node hosting this execution context
protelis Device
the device wrapper exposing node properties to Protelis
reaction
the reaction hosting the running Protelis program
network Manager
the network manager used to share state among neighbouring devices
Type Parameters
P
the position type used by the environment
constructor(environment: Environment<Any, P>, localNode: Node<Any>, reaction: Reaction<Any>, random: RandomGenerator, networkManager: AlchemistNetworkManager)
Parameters
environment
the simulation Environment
local Node
the local Node
reaction
the Reaction hosting the program
random
the RandomGenerator for this simulation
network Manager
the AlchemistNetworkManager to be used