alchemist
Toggle table of contents
37.1.1
jvm
Platform filter
jvm
Switch theme
Search in API
alchemist
alchemist
/
it.unibo.alchemist.model.protelis.actions
/
SendToNeighbor
Send
To
Neighbor
class
SendToNeighbor
:
AbstractAction
<
T
>
Members
Constructors
Send
To
Neighbor
Link copied to clipboard
constructor
(
node
:
Node
<
Any
>
,
reaction
:
Reaction
<
Any
>
,
program
:
RunProtelisProgram
<
out
Any
>
)
Functions
clone
Action
Link copied to clipboard
open
fun
cloneAction
(
node
:
Node
<
Any
>
,
reaction
:
Reaction
<
Any
>
)
:
SendToNeighbor
This method allows to clone this action on a new node.
execute
Link copied to clipboard
open
fun
execute
(
)
Effectively executes this action.
get
Context
Link copied to clipboard
open
fun
getContext
(
)
:
Context
get
Outbound
Dependencies
Link copied to clipboard
fun
getOutboundDependencies
(
)
:
ListSet<? extends Dependency>
How to override: if you intend your action to influence any reaction with compatible context, return null.
get
Protelis
Program
Link copied to clipboard
open
fun
getProtelisProgram
(
)
:
RunProtelisProgram
<
out
Any
>
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String