DistanceWeighted

fun <T> DistanceWeighted(    environment: Euclidean2DEnvironment<T>,     node: Node<T>,     defaultWeight: Double = 1.0)

Parameters

environment
    the environment in which the node moves.
node
    the owner of the steering action this strategy belongs to.