Interface NearbyAutoConfigurationEnabled<Config_ extends MoveSelectorConfig<Config_>>
- All Known Implementing Classes:
ChangeMoveSelectorConfig,KOptListMoveSelectorConfig,ListChangeMoveSelectorConfig,ListSwapMoveSelectorConfig,SwapMoveSelectorConfig,TailChainSwapMoveSelectorConfig,UnionMoveSelectorConfig
public interface NearbyAutoConfigurationEnabled<Config_ extends MoveSelectorConfig<Config_>>
For move selectors that support Nearby Selection autoconfiguration.
-
Method Summary
Modifier and TypeMethodDescriptionboolean@NonNull Config_enableNearbySelection(@NonNull Class<? extends NearbyDistanceMeter<?, ?>> distanceMeter, @NonNull Random random)
-
Method Details
-
canEnableNearbyInMixedModels
boolean canEnableNearbyInMixedModels()- Returns:
- true if it can enable the nearby setting for the given move configuration; otherwise, it returns false.
-
enableNearbySelection
@NonNull Config_ enableNearbySelection(@NonNull Class<? extends NearbyDistanceMeter<?, ?>> distanceMeter, @NonNull Random random) - Returns:
- new instance with the Nearby Selection settings properly configured
-