TypeBased

fun <T> TypeBased(environment: Euclidean2DEnvironment<T>, pedestrian: Pedestrian2D<T>, typeWeights: LinkedHashMap<KClass<SteeringAction<T, Euclidean2DPosition>>, Double>, defaultWeight: Double = 0.0)

Parameters

environment
    the environment in which the pedestrian moves.
pedestrian
    the owner of the steering actions combined by this strategy.
typeWeights
    the weight for each type of steering action.