class AlchemistExecutionContext<P : Position<P>!> : AbstractExecutionContext<AlchemistExecutionContext<P>!>, SpatiallyEmbeddedDevice<Double!>, LocalizedDevice, TimeAwareDevice<Number!>
<init> |
AlchemistExecutionContext(environment: Environment<Any!, P>!, localNode: ProtelisNode<P>!, reaction: Reaction<Any!>!, random: RandomGenerator!, networkManager: AlchemistNetworkManager!) |
APPROXIMATE_NBR_RANGE |
Put this static val APPROXIMATE_NBR_RANGE: Molecule! |
USE_ROUTES_AS_DISTANCES |
Put this static val USE_ROUTES_AS_DISTANCES: Molecule! |
distanceTo |
Computes the distance between two nodes, through fun distanceTo(target: DeviceUID!): Doublefun distanceTo(target: Int): Double |
equals |
fun equals(other: Any?): Boolean |
getCoordinates |
fun getCoordinates(): Tuple! |
getCurrentTime |
fun getCurrentTime(): Number! |
getDevicePosition |
fun getDevicePosition(): P |
getDeviceUID |
fun getDeviceUID(): DeviceUID! |
getEnvironmentAccess |
fun getEnvironmentAccess(): Environment<Any!, P>! |
hashCode |
fun hashCode(): Int |
instance |
fun instance(): AlchemistExecutionContext<P>! |
nbrDelay |
fun nbrDelay(): Field<Any!>! |
nbrLag |
fun nbrLag(): Field<Any!>! |
nbrRange |
fun nbrRange(): Field<Double!>! |
nbrVector |
fun nbrVector(): Field<Tuple!>! |
nextRandomDouble |
fun nextRandomDouble(): Double |
routingDistance |
Computes the distance along a map. Requires a fun routingDistance(dest: Node<Any!>!): Doublefun routingDistance(dest: Number!): Doublefun routingDistance(dest: GeoPosition!): Doublefun routingDistance(dest: Tuple!): Double |