alchemist
Toggle table of contents
42.3.15
alldocs
Target filter
alldocs
Switch theme
Search in API
Skip to content
alchemist
alchemist
/
it.unibo.alchemist.model.actions
/
AbstractAction
Abstract
Action
alldocs
abstract
class
AbstractAction
<
T
>
:
Action
<
T
>
An abstract class facility with some generic methods implemented.
Parameters
<T>
concentration type
Inheritors
CellTensionPolarization
ChemotacticPolarization
AbstractRandomizableAction
RemoveNode
AbstractLocalAction
AbstractActionOnSingleMolecule
AbstractMoveNode
FollowAtDistance
ToggleMolecule
CameraInjectVisibleNodeClosestToDistance
CameraSee
AbstractLsaAction
SendToNeighbor
HeadTowardRandomDirection
HeadTowardTarget
Spin
Members
Functions
clone
Action
Link copied to clipboard
alldocs
abstract
fun
cloneAction
(
node
:
Node
<
T
>
,
reaction
:
Reaction
<
T
>
)
:
Action
<
T
>
This method allows to clone this action on a new node.
execute
Link copied to clipboard
alldocs
abstract
fun
execute
(
)
Effectively executes this action.
get
Context
Link copied to clipboard
alldocs
abstract
fun
getContext
(
)
:
Context
get
Outbound
Dependencies
Link copied to clipboard
alldocs
@
Nonnull
fun
getOutboundDependencies
(
)
:
ListSet
<
out
Dependency
>
How to override: if you intend your action to influence any reaction with compatible context, return null.
to
String
Link copied to clipboard
alldocs
open
fun
toString
(
)
:
String