targetDistanceTo

open fun targetDistanceTo(node: Node<T>, environment: Environment<T, P>): Double

Computes the distance between this action's target and the given node within the provided environment.

Return

the distance from the action's target to the node's position.

Parameters

node

the node to measure distance to.

environment

the environment containing the node.