AlchemistExecutionContext
class AlchemistExecutionContext<P : Position<P>>(val environmentAccess: Environment<Any, P>, node: Node<Any>, protelisDevice: ProtelisDevice<P>, reaction: Reaction<Any>, val randomGenerator: RandomGenerator, networkManager: AlchemistNetworkManager) : AbstractExecutionContext<AlchemistExecutionContext<P>> , SpatiallyEmbeddedDevice<Double> , LocalizedDevice, TimeAwareDevice<Number> (source)
Parameters
position type
Constructors
Link copied to clipboard
constructor(environment: Environment<Any, P>, localNode: Node<Any>, reaction: Reaction<Any>, random: RandomGenerator, networkManager: AlchemistNetworkManager)
constructor(environmentAccess: Environment<Any, P>, node: Node<Any>, protelisDevice: ProtelisDevice<P>, reaction: Reaction<Any>, randomGenerator: 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard