alchemist-full
Toggle table of contents
43.0.3
alldocs
Target filter
alldocs
Switch theme
Search in API
Skip to content
alchemist-full
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
AbstractActionOnSingleMolecule
AbstractLocalAction
AbstractMoveNode
RemoveNode
FollowAtDistance
ToggleMolecule
CameraInjectVisibleNodeClosestToDistance
CameraSee
AbstractRandomizableAction
ChemotacticPolarization
CellTensionPolarization
AbstractLsaAction
SendToNeighbor
HeadTowardRandomDirection
HeadTowardTarget
Spin
Members
Members & Extensions
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.
should
Equal
Link copied to clipboard
alldocs
infix
fun
Action
<
*
>
.
shouldEqual
(
other
:
Action
<
*
>
)
to
String
Link copied to clipboard
alldocs
open
fun
toString
(
)
:
String