alchemist
Toggle table of contents
42.3.18
alldocs
Target filter
alldocs
Switch theme
Search in API
Skip to content
alchemist
alchemist
/
it.unibo.alchemist.model.biochemistry.actions
/
AbstractNeighborAction
Abstract
Neighbor
Action
alldocs
abstract
class
AbstractNeighborAction
<
T
>
:
AbstractRandomizableAction
<
T
>
Represents an action on a neighbor.
Parameters
<T>
the concentration type.
Inheritors
RemoveJunctionInCell
RemoveJunctionInNeighbor
AddJunctionInNeighbor
AddJunctionInCell
ChangeBiomolConcentrationInNeighbor
Members
Functions
clone
Action
Link copied to clipboard
alldocs
abstract
fun
cloneAction
(
newNode
:
Node
<
T
>
,
newReaction
:
Reaction
<
T
>
)
:
AbstractNeighborAction
<
T
>
This method allows to clone this action on a new node.
execute
Link copied to clipboard
alldocs
open
fun
execute
(
)
Execute the action on a random neighbor if the node has a neighborhood.
abstract
fun
execute
(
targetNode
:
Node
<
T
>
)
Execute the action on the given target node.
get
Context
Link copied to clipboard
alldocs
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