alchemist
alchemist
/
it.unibo.alchemist.model.implementations.actions
/
CellMove
Cell
Move
class
CellMove
<
P
:
Position
<
P
>
?
>
:
AbstractMoveNode
<
Double
,
P
>
Content copied to clipboard
Constructors
Functions
Parameters
Parameters
<P>
Position
type
Constructors
Cell
Move
Link copied to clipboard
open
fun
CellMove
(
environment
:
Environment
<
Double
,
P
>
,
node
:
Node
<
Double
>
,
inPercent
:
Boolean
,
delta
:
Double
)
Content copied to clipboard
Initialize an Action that move the cell of a given space delta, which can be expressed in percent of the cell's diameter or in absolute.
Functions
clone
Action
Link copied to clipboard
open
fun
cloneAction
(
node
:
Node
<
Double
>
,
reaction
:
Reaction
<
Double
>
)
:
CellMove
<
P
>
Content copied to clipboard
execute
Link copied to clipboard
open
fun
execute
(
)
Content copied to clipboard
get
Context
Link copied to clipboard
fun
getContext
(
)
:
Context
Content copied to clipboard
get
Next
Position
Link copied to clipboard
open
fun
getNextPosition
(
)
:
P
Content copied to clipboard
get
Node
Link copied to clipboard
open
fun
getNode
(
)
:
CellNode
<
P
>
Content copied to clipboard
get
Outbound
Dependencies
Link copied to clipboard
fun
getOutboundDependencies
(
)
:
ListSet
<
out
Dependency
>
Content copied to clipboard
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
Content copied to clipboard