[jboss-jira] [JBoss JIRA] (JBRULES-3500) Planner Benchmark configuration: it should be possible to inherit and partially overwrite phase configurations
Geoffrey De Smet (JIRA)
jira-events at lists.jboss.org
Wed May 9 12:30:17 EDT 2012
Geoffrey De Smet created JBRULES-3500:
-----------------------------------------
Summary: Planner Benchmark configuration: it should be possible to inherit and partially overwrite phase configurations
Key: JBRULES-3500
URL: https://issues.jboss.org/browse/JBRULES-3500
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-planner
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
If you configure something like this:
{code}
<inheritedSolverBenchmark>
...
<solver>
...
<localSearch>
<selector>
<selector>
<moveFactoryClass>org.drools.planner.examples.cloudbalancing.solver.move.factory.CloudComputerChangeMoveFactory</moveFactoryClass>
</selector>
<selector>
<moveFactoryClass>org.drools.planner.examples.cloudbalancing.solver.move.factory.CloudProcessSwapMoveFactory</moveFactoryClass>
</selector>
</selector>
<forager>
<minimalAcceptedSelection>4</minimalAcceptedSelection>
</forager>
</localSearch>
</solver>
</inheritedSolverBenchmark>
<solverBenchmark>
<name>simulatedAnnealing400</name>
<solver>
<localSearch>
<acceptor>
<simulatedAnnealingStartingTemperature>0hard/400soft</simulatedAnnealingStartingTemperature>
</acceptor>
</localSearch>
</solver>
</solverBenchmark>
<solverBenchmark>
<name>simulatedAnnealing800</name>
<solver>
<localSearch>
<acceptor>
<simulatedAnnealingStartingTemperature>0hard/800soft</simulatedAnnealingStartingTemperature>
</acceptor>
</localSearch>
</solver>
</solverBenchmark>
{code}
You get 2 localSearch phases per benchmark, (the second of which crashes due to missing config), instead of 1 localSearch phase as you'd expect.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list