Examples of SubChainSwapMoveSelector


Examples of org.drools.planner.core.heuristic.selector.move.generic.chained.SubChainSwapMoveSelector

        SubChainSelectorConfig rightSubChainSelectorConfig = secondarySubChainSelectorConfig == null
                ? subChainSelectorConfig : secondarySubChainSelectorConfig;
        SubChainSelector rightSubChainSelector = rightSubChainSelectorConfig.buildSubChainSelector(environmentMode,
                solutionDescriptor, entityDescriptor,
                minimumCacheType, resolvedSelectionOrder);
        return new SubChainSwapMoveSelector(leftSubChainSelector, rightSubChainSelector,
                resolvedSelectionOrder == SelectionOrder.RANDOM,
                selectReversingMoveToo == null ? true : selectReversingMoveToo);
    }
View Full Code Here

Examples of org.optaplanner.core.impl.heuristic.selector.move.generic.chained.SubChainSwapMoveSelector

        SubChainSelectorConfig rightSubChainSelectorConfig = secondarySubChainSelectorConfig == null
                ? subChainSelectorConfig_ : secondarySubChainSelectorConfig;
        SubChainSelector rightSubChainSelector = rightSubChainSelectorConfig.buildSubChainSelector(configPolicy,
                entityDescriptor,
                minimumCacheType, SelectionOrder.fromRandomSelectionBoolean(randomSelection));
        return new SubChainSwapMoveSelector(leftSubChainSelector, rightSubChainSelector, randomSelection,
                selectReversingMoveToo == null ? true : selectReversingMoveToo);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.