org.optaplanner.examples.machinereassignment.domain.solver.MrServiceDependency Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of optaplanner-examples Show documentation
Show all versions of optaplanner-examples Show documentation
OptaPlanner solves planning problems.
This lightweight, embeddable planning engine implements powerful and scalable algorithms
to optimize business resource scheduling and planning.
This module contains the examples which demonstrate how to use it in a normal Java application.
package org.optaplanner.examples.machinereassignment.domain.solver;
import org.optaplanner.examples.machinereassignment.domain.MrService;
public class MrServiceDependency {
private MrService fromService;
private MrService toService;
public MrServiceDependency() {
}
public MrServiceDependency(MrService fromService, MrService toService) {
this.fromService = fromService;
this.toService = toService;
}
public MrService getFromService() {
return fromService;
}
public void setFromService(MrService fromService) {
this.fromService = fromService;
}
public MrService getToService() {
return toService;
}
public void setToService(MrService toService) {
this.toService = toService;
}
}