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

Constraint Streams: Only build KieBase once

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 8.11.0.Final
    • None
    • optaplanner-core
    • None

    Description

      At the moment, KieBase is rebuilt from the constraint provider every time constraint weights change. This is inefficient. Mario suggests a different approach in Drools:

      you call fireAllRules(AgendaFilter agendaFilter)
      see org.kie.api.runtime.rule.AgendaFilter
      it's just a simple predicate in the end, stating if a specific match should fire or not

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: