use of org.optaplanner.core.config.solver.termination.TerminationConfig in project kie-benchmarks by kiegroup.
the class TSPSubChainSwapMoveSelectorBenchmark method getTerminationConfig.
@Override
public TerminationConfig getTerminationConfig() {
TerminationConfig terminationConfig = new TerminationConfig();
terminationConfig.setTerminationClass(EasyTSPCalculateCountTermination.class);
return terminationConfig;
}
use of org.optaplanner.core.config.solver.termination.TerminationConfig in project kie-benchmarks by kiegroup.
the class AbstractCloudBalanceMoveSelectorBenchmark method getTerminationConfig.
@Override
public TerminationConfig getTerminationConfig() {
TerminationConfig terminationConfig = new TerminationConfig();
terminationConfig.setTerminationClass(CloudBalanceCalculateCountTermination.class);
return terminationConfig;
}
use of org.optaplanner.core.config.solver.termination.TerminationConfig in project kie-benchmarks by kiegroup.
the class VRPSubChainSwapMoveSelectorBenchmark method getTerminationConfig.
@Override
public TerminationConfig getTerminationConfig() {
TerminationConfig terminationConfig = new TerminationConfig();
terminationConfig.setTerminationClass(EasyVRPCalculateCountTermination.class);
return terminationConfig;
}
use of org.optaplanner.core.config.solver.termination.TerminationConfig in project kie-benchmarks by kiegroup.
the class AbstractVRPTWHeuristicBenchmark method getTerminationConfig.
@Override
public TerminationConfig getTerminationConfig() {
TerminationConfig terminationConfig = new TerminationConfig();
terminationConfig.setStepCountLimit(100);
return terminationConfig;
}
use of org.optaplanner.core.config.solver.termination.TerminationConfig in project kie-benchmarks by kiegroup.
the class AbstractVRPTWMoveSelectorBenchmark method getTerminationConfig.
@Override
public TerminationConfig getTerminationConfig() {
TerminationConfig terminationConfig = new TerminationConfig();
terminationConfig.setTerminationClass(EasyVRPCalculateCountTermination.class);
return terminationConfig;
}
Aggregations