Package org.optaplanner.examples.projectjobscheduling.domain

Examples of org.optaplanner.examples.projectjobscheduling.domain.JobType


import org.optaplanner.examples.projectjobscheduling.domain.JobType;

public class NotSourceOrSinkAllocationFilter implements SelectionFilter<Allocation> {

    public boolean accept(ScoreDirector scoreDirector, Allocation allocation) {
        JobType jobType = allocation.getJob().getJobType();
        return jobType != JobType.SOURCE && jobType != JobType.SINK;
    }
View Full Code Here

TOP

Related Classes of org.optaplanner.examples.projectjobscheduling.domain.JobType

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.