Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-645

Benchmark report: planning entity count should differentiate between movable and immovable planning entities

    XMLWordPrintable

    Details

    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      The benchmark report mentions the entity count, but it also counts the immovable planning entities.
      With 40 movable entities and 60 immovable, it should show: "Planning entity count: 40 (plus 60 immovable)"
      With 40 movable entities and 0 immovable, it should show: "Planning entity count: 40"
      Similarly for planning variable count.

      Pretty easy to fix, if you read these files:

      benchmarkReport.html.ftl
      ProblemBenchmarkResult.entityCount
      EntityDescriptor.movableEntitySelectionFilter
      get it from ScoreDirector.getSolutionDescriptor().findEntityDescriptor(...)

      Probably easiest to try out with CurriculumCourseBenchmarkApp by using a dataset with a few Lecture.isLocked() set to true.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ge0ffrey Geoffrey De Smet
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: