[JBoss JIRA] (JBRULES-3492) Planner Benchmarker: visualize the output files
by Geoffrey De Smet (JIRA)
Geoffrey De Smet created JBRULES-3492:
-----------------------------------------
Summary: Planner Benchmarker: visualize the output files
Key: JBRULES-3492
URL: https://issues.jboss.org/browse/JBRULES-3492
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-planner
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
If we add a method (on ProblemIO or a new interface ProblemVisualizator) to do vizualization of a Solution:
public void visualize(Solution solution, BufferedImage image)
or
public File visualize(Solution solution, File dir, String filename)
then we can:
- link to it from the benchmark report
- try to get a thumbnail grid (rows are solvers, columns are problems)
-- By default, thumbnails are generated with ImageIO.scale
-- But a thumbnail needs to be customizable:
--- draw with VRP's panel to a specific image size
--- draw JFreeChart to a specific image size
--- So both the methods proposed above are unsufficient
--
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
13 years, 12 months
[JBoss JIRA] (JBRULES-3491) Planner: benchmark ranking algorithms must be failure safe (score is null)
by Geoffrey De Smet (JIRA)
Geoffrey De Smet created JBRULES-3491:
-----------------------------------------
Summary: Planner: benchmark ranking algorithms must be failure safe (score is null)
Key: JBRULES-3491
URL: https://issues.jboss.org/browse/JBRULES-3491
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-planner
Reporter: Geoffrey De Smet
Things that are problematic in the ranking code (all classes under org.drools.planner.benchmark.core.ranking):
- score can be null, totalScore can be null, ... when there are failures
- org.drools.planner.benchmark.core.ranking.TotalRankSolverBenchmarkRankingWeightFactory: Usage of SolverBenchmark.getScoreList() because some SolverBenchmark might have extra problem inputFiles.
The question is, should the ranking first compare the failureCount? Yes, I think it should.
What code should do that? the DefaultPlannerBenchmark, by default, or the rankers itself?
--
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
13 years, 12 months