alchemist
Toggle table of contents
37.1.1
jvm
Platform filter
jvm
Switch theme
Search in API
alchemist
alchemist
/
it.unibo.alchemist.model.actions
/
AbstractAction
Abstract
Action
abstract
class
AbstractAction
<
T
>
:
Action
<
T
>
An abstract class facility with some generic methods implemented.
Parameters
<T>
concentration type
Inheritors
SendToNeighbor
ChemotacticPolarization
CellTensionPolarization
AbstractRandomizableAction
AbstractMoveNode
AbstractActionOnSingleMolecule
AbstractLocalAction
RemoveNode
FollowAtDistance
ToggleMolecule
CameraInjectVisibleNodeClosestToDistance
CameraSee
LsaAbstractAction
HeadTowardRandomDirection
HeadTowardTarget
Spin
Members
Functions
clone
Action
Link copied to clipboard
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
abstract
fun
execute
(
)
Effectively executes this action.
get
Context
Link copied to clipboard
abstract
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