Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5581

Add groupBy feature to executable model DSL

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • None
    • 2020 Week 34-36 (from Aug 17)
    • NEW
    • NEW

    Description

      Optaplanner's CS-D requires that the executable model should provide a construct to build an efficient groupBy implementation.

      More details are available here https://docs.google.com/document/d/1IxL2HNMNf_OYxOGGzkVjwXc7NW5ZEear-kz4OfHMXVM/edit#

      We already measured that an implementation based on a 3-rules solution as sketched here https://github.com/triceo/groupby/blob/master/src/main/resources/org/optaplanner/examples/cloudbalancing/solver/cloudBalancingScoreRules3.drl fulfills the expected performance requirements, so we need

      1. a convenient method in the executable model DSL to define a groupBy
      2. an implementation that internally translates the groupBy defined with 1. into the equivalent of that 3-rules based solution

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              mfusco@redhat.com Mario Fusco
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: