문제

Like the question says. After a

solver.solve();

I want to see specific rules (with values) that were violated. How can I get them from the solution?

도움이 되었습니까?

해결책

The examples already do this, take a look at this method:

org.drools.planner.examples.common.business.SolutionBusiness#getScoreDetailList()

But it's not standardized yet, see this issue.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top