entitySelector = new ProbabilityEntitySelector(entitySelector,
resolvedCacheType, entityProbabilityWeightFactory);
alreadyCached = true;
}
if (resolvedSelectionOrder == SelectionOrder.SHUFFLED) {
entitySelector = new ShufflingEntitySelector(entitySelector, resolvedCacheType);
alreadyCached = true;
}
if (resolvedCacheType.isCached() && !alreadyCached) {
// TODO this might be pretty pointless, because FromSolutionEntitySelector caches
entitySelector = new CachingEntitySelector(entitySelector, resolvedCacheType,