use of ch.hsr.servicecutter.api.SolverConfigurationFactory in project context-mapper-dsl by ContextMapper.
the class ServiceCutterConfigHandler method createInitialServiceCutterConfig.
private ServiceCutterConfig createInitialServiceCutterConfig() {
ServiceCutterConfig config = new ServiceCutterConfig();
SolverConfiguration defaultSolverConfig = new SolverConfigurationFactory().createDefaultConfiguration();
config.setAlgorithm(defaultSolverConfig.getAlgorithm());
config.setAlgorithmParams(defaultSolverConfig.getAlgorithmParams());
config.setPriorities(defaultSolverConfig.getPriorities());
return config;
}
Aggregations