I'm trying to upgrade from drools 5.2.0 to 5.3.0 and having some difficulties with the planner benchmark.
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:
http://paste.ubuntu.com/718806/
The error is:
Exception in thread "main" java.lang.IllegalArgumentException: A selector requires configuration, for example a moveFactoryClass.
--- Note ---
If I understood correcly, the following configuration from examination examples:
examinationStepLimitSolverBenchmarkConfig.xml
contains a bug, because it specifies a maximum step count for a general solver
<termination>
<maximumStepCount>70</maximumStepCount>
</termination>
This gave the following exception:
Exception in thread "main" java.lang.UnsupportedOperationException: StepCountTermination can only be used for phase termination.