Examples of CartesianProductMoveSelector


Examples of org.drools.planner.core.heuristic.selector.move.composite.CartesianProductMoveSelector

                    moveSelectorConfig.buildMoveSelector(environmentMode, solutionDescriptor,
                            minimumCacheType, resolvedSelectionOrder));
        }

        boolean randomSelection = resolvedSelectionOrder == SelectionOrder.RANDOM;
        return new CartesianProductMoveSelector(moveSelectorList, randomSelection);
    }
View Full Code Here

Examples of org.optaplanner.core.impl.heuristic.selector.move.composite.CartesianProductMoveSelector

            moveSelectorList.add(
                    moveSelectorConfig.buildMoveSelector(configPolicy,
                            minimumCacheType, SelectionOrder.fromRandomSelectionBoolean(randomSelection)));
        }
        boolean ignoreEmptyChildIterators_ = ignoreEmptyChildIterators == null ? true : ignoreEmptyChildIterators;
        return new CartesianProductMoveSelector(moveSelectorList, ignoreEmptyChildIterators_, randomSelection);
    }
View Full Code Here

Examples of org.optaplanner.core.impl.heuristic.selector.move.composite.CartesianProductMoveSelector

                false));
        moveSelectorList.add(new ChangeMoveSelector(
                new MimicReplayingEntitySelector(recordingEntitySelector),
                secondaryValueSelector,
                false));
        MoveSelector moveSelector = new CartesianProductMoveSelector(moveSelectorList, true, false);
        QueuedEntityPlacer placer = new QueuedEntityPlacer(recordingEntitySelector,
                Collections.singletonList(moveSelector));

        DefaultSolverScope solverScope = mock(DefaultSolverScope.class);
        placer.solvingStarted(solverScope);
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.