我的问题与Nearby selection with subChainChangeMoveSelector or subChainSwapMoveSelector
基本相同我无法为<nearbySelection>
或subChainSwapMoveSelector
配置subChainChangeMoveSelector
。
文档概述了nearbySelector
的用法,例如:
<tailChainSwapMoveSelector>
<entitySelector id="entitySelector3"/>
<valueSelector>
<nearbySelection>
<originEntitySelector mimicSelectorRef="entitySelector3"/>
<nearbyDistanceMeterClass>...CustomerNearbyDistanceMeter</nearbyDistanceMeterClass>
<parabolicDistributionSizeMaximum>40</parabolicDistributionSizeMaximum>
</nearbySelection>
</valueSelector>
</tailChainSwapMoveSelector>
但是,由于entitySelector
或subChainChangeMove
缺少entitySelectorConfig,因此无法在subChainSwapMove
或<subChainSwapMoveSelector>
<entityClass>...</entityClass>
<selectReversingMoveToo>true</selectReversingMoveToo>
<subChainSelector>
<minimumSubChainSize>2</minimumSubChainSize>
<maximumSubChainSize>10</maximumSubChainSize>
<valueSelector variableName="previousStandstill" mimicSelectorRef="subChainSwapMove">
<nearbySelection>
<originEntitySelector mimicSelectorRef="subChainSwapMove"/>
<nearbyDistanceMeterClass>....</nearbyDistanceMeterClass>
<parabolicDistributionSizeMaximum>40</parabolicDistributionSizeMaximum>
</nearbySelection>
</valueSelector>
</subChainSelector>
</subChainSwapMoveSelector>
上设置buildMimicReplaying()
。它们确实支持valueSelectorConfig,而后者又支持nearbySelectionConfig。但是,不可能执行以下操作:
if (id != null
|| variableName != null
|| cacheType != null
|| selectionOrder != null
|| nearbySelectionConfig != null
因为ValueSeletorConfig尝试调用entitySelectorConfig
时失败
nearbySelection
这是一个错误吗?这两个动作是否应该有一个valueSelector
,还是由于文档仅概述了entitySelector
的使用,我如何使{{1}}与{{1}}一起工作?
谢谢!