I'm trying to upgrade from drools 5.2.0 to 5.3.0 and having some difficulties with the planner benchmark.<div><br></div><div>I'd like to make a set of move factories common to all local search solvers, by adding them to inheritedSolverBenchmark block. But it seems that the localSearch environment always requires a selector, so I can't specify the localSearch environment for the solverBenchmark's without providing a selector. Here's a piece of code that gives runtime error: <a href="http://paste.ubuntu.com/718806/">http://paste.ubuntu.com/718806/</a></div>
<div><br></div><div>The error is:</div><div>Exception in thread "main" java.lang.IllegalArgumentException: A selector requires configuration, for example a moveFactoryClass.</div><div><br></div><div>--- Note ---</div>
<div><br></div><div>If I understood correcly, the following configuration from examination examples:</div><div><br></div><div>examinationStepLimitSolverBenchmarkConfig.xml</div><div><br></div><div>contains a bug, because it specifies a maximum step count for a general solver</div>
<div><br></div><div><div><termination></div><div> <maximumStepCount>70</maximumStepCount></div><div></termination></div></div><div><br></div><div>This gave the following exception:</div><div><br>
</div><div>Exception in thread "main" java.lang.UnsupportedOperationException: StepCountTermination can only be used for phase termination.</div><div><br></div><div><div>Thanks,</div></div><div><br></div>