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

    • NEW
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: