alchemist
alchemist
/
it.unibo.alchemist.model.implementations.actions.steeringstrategies
/
targetDistanceTo
target
Distance
To
fun
<
T
,
P
:
Position
<
P
>
,
Vector
<
P
>
>
SteeringActionWithTarget
<
T
,
P
>
.
targetDistanceTo
(
node
:
Node
<
T
>
,
env
:
Environment
<
T
,
P
>
)
:
Double
Content copied to clipboard
Computes the distance between this action's target and the given
node
.