Filtered

constructor(steerStrategy: SteeringStrategy<T, P>, filter: List<SteeringAction<T, P>>.() -> List<SteeringAction<T, P>>)

Parameters

steerStrategy

the underlying strategy to which the filtered actions are delegated.

filter

the filter function applied to the actions list before delegation.

Type Parameters

T

the concentration type.

P

the Position type used by the strategy.