[rules-users] [planner][5.3.0.Final] Benchmark

Guilherme Kunigami kunigami.dev at gmail.com
Tue Oct 25 09:57:11 EDT 2011


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.

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111025/77f3ea16/attachment.html 


More information about the rules-users mailing list