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

*BigDecimalScoreHolders should have a scale consistency with BendableBigDecimalScoreHolder

XMLWordPrintable

    • 2019 Week 05-07, 2019 Week 08-10
    • 1
    • NEW
    • NEW

      • In BendableBigDecimalScoreHolder:
        • the score of 3*10^2 + 4*10^2 = 700.
        • the score of nothing is 0.
      • In HardMediumSoftBigDecimalScoreHolder etc however:
        • the score of 3*10^2 + 4*10^2 = 7*10^2.
        • the score of nothing is 0.

      That's inconsistent. The later is also slower than needed.

      Solution: bring everything consistent by enforcing a minimum scale of zero.

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

              Created:
              Updated:
              Resolved: