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

Remove InnerScoreDirector.explainScore() that returns String and move it into ScoreManager or ScoreExplenation.

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • 8.0.0.Beta1
    • None
    • None
    • None
    • 2020 Week 40-42 (from Sep 28)
    • 2
    • Undefined
    • NEW
    • NEW

      Also remove the two AbstractScoreDirector.explainScore() methods.

      The ScoreDirector impls shouldn't be responsible to construct a summary String.
      They should probably be responsible for creating the ScoreExplenation, to avoid calling fireAllRules 3 times.

      I think the ScoreExplenation can even construct the summary string lazely, upon request.

              lpetrovi@redhat.com Lukáš Petrovický (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: