alchemist
Toggle table of contents
37.1.1
jvm
Platform filter
jvm
Switch theme
Search in API
alchemist
alchemist
/
it.unibo.alchemist.model.actions
/
RemoveNode
Remove
Node
class
RemoveNode
<
T
>
:
AbstractAction
<
T
>
Removes the current node from the environment.
Parameters
<T>
concentration type
Members
Constructors
Remove
Node
Link copied to clipboard
constructor
(
environment
:
Environment
<
T
,
out
Any
>
,
node
:
Node
<
T
>
)
Functions
clone
Action
Link copied to clipboard
open
fun
cloneAction
(
node
:
Node
<
T
>
,
reaction
:
Reaction
<
T
>
)
:
RemoveNode
<
T
>
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.
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String