我正在使用自动布线的SolveManager和opaplanner-spring-boot-starter jar。
@Autowired
private SolverManager<BatchSolution, UUID> solverManager;
并想报告使用的约束条件。
Map<Object, Indictment> indictmentMap = guiScoreDirector.getIndictmentMap();
在以前的版本中,我用。
ScoreDirectorFactory<Solution_> scoreDirectorFactory = solver.getScoreDirectorFactory();
guiScoreDirector = scoreDirectorFactory.buildScoreDirector();
而且在例子中看不到如何通过solverManager访问scoreDirector。