Alchemist Execution Context
class AlchemistExecutionContext<P : Position<P>>(val environmentAccess: Environment<Any, P>, node: Node<Any>, protelisDevice: ProtelisDevice<P>, reaction: Reaction<Any>, val randomGenerator: ERROR CLASS: Symbol not found for RandomGenerator, networkManager: AlchemistNetworkManager) : <ERROR CLASS> ERROR CLASS: Symbol not found for AbstractExecutionContext<it/unibo/alchemist/model/protelis/AlchemistExecutionContext<P>>, <ERROR CLASS> ERROR CLASS: Symbol not found for SpatiallyEmbeddedDevice<kotlin/Double>, <ERROR CLASS> ERROR CLASS: Symbol not found for LocalizedDevice, <ERROR CLASS> ERROR CLASS: Symbol not found for TimeAwareDevice<kotlin/Number>
Parameters
position type
Constructors
Link copied to clipboard
constructor(environmentAccess: Environment<Any, P>, node: Node<Any>, protelisDevice: ProtelisDevice<P>, reaction: Reaction<Any>, randomGenerator: ERROR CLASS: Symbol not found for RandomGenerator, networkManager: AlchemistNetworkManager)
constructor(environment: Environment<Any, P>, localNode: Node<Any>, reaction: Reaction<Any>, random: ERROR CLASS: Symbol not found for RandomGenerator, networkManager: AlchemistNetworkManager)
Properties
Link copied to clipboard
The device position, in form of Position.
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Computes the distance between two nodes, through Environment.getDistanceBetweenNodes.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Computes the distance along a map. Requires a MapEnvironment.