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

Constraint Streams: Only build KieBase once

XMLWordPrintable

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

      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

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

                Created:
                Updated:
                Resolved: