Package org.protelis.vm
Interface SpatiallyEmbeddedDevice<D extends java.lang.Number>
-
- Type Parameters:
D
- number type
- All Superinterfaces:
ExecutionContext
public interface SpatiallyEmbeddedDevice<D extends java.lang.Number> extends ExecutionContext
A device embedded in space.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Field<D>
nbrRange()
Get the distance between the current device and its neighbors.-
Methods inherited from interface org.protelis.vm.ExecutionContext
buildField, buildFieldDeferred, commit, getCurrentTime, getDeltaTime, getDeviceUID, getExecutionEnvironment, getPersistent, getVariable, newCallStackFrame, newCallStackFrame, nextRandomDouble, putMultipleVariables, putVariable, restrictDomain, returnFromCallFrame, runInNewStackFrame, setGloballyAvailableReferences, setPersistent, setup
-
-