if (!(valueSelector instanceof EntityIndependentValueSelector)) {
throw new IllegalArgumentException("The moveSelectorConfig (" + this
+ ") needs to be based on a EntityIndependentValueSelector (" + valueSelector + ")."
+ " Check your @" + ValueRangeProvider.class.getSimpleName() + " annotations.");
}
return new SubChainChangeMoveSelector(subChainSelector, (EntityIndependentValueSelector) valueSelector,
randomSelection, selectReversingMoveToo == null ? true : selectReversingMoveToo);
}