Package org.optaplanner.core.impl.localsearch.decider.acceptor

Examples of org.optaplanner.core.impl.localsearch.decider.acceptor.CompositeAcceptor


            acceptorList.add(acceptor);
        }
        if (acceptorList.size() == 1) {
            return acceptorList.get(0);
        } else if (acceptorList.size() > 1) {
            CompositeAcceptor compositeAcceptor = new CompositeAcceptor();
            compositeAcceptor.setAcceptorList(acceptorList);
            return compositeAcceptor;
        } else {
            // TODO Create a good all-round acceptor instead of fail-fasting.
            throw new IllegalArgumentException("The acceptor does not specify any acceptorType (" + acceptorTypeList
                    + ") or other acceptor property.\n"
View Full Code Here

TOP

Related Classes of org.optaplanner.core.impl.localsearch.decider.acceptor.CompositeAcceptor

Copyright © 2018 www.massapicom. 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.