Miscellaneous Methods
These other methods are also available within DeviceAPI
for use within agent functions:
Method |
Return |
Description |
---|---|---|
|
Returns the current step index, the first step has index 0. Exit conditions execute before the step counter is incremented. |
|
|
|
Returns the current thread index, each agent executing the agent function has a unique thread index in the range [0, N). |