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

SolutionDescriptor should know the set of factClass, so that CS.from() can use those for check

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 8.0.0.Beta1
    • None
    • optaplanner-core
    • None
    • 2020 Week 40-42 (from Sep 28)
    • 2
    • Undefined
    • NEW
    • NEW

    Description

      The InnerConstraintFactory should not do any reflection, including the call to extractCollectionGenericTypeParameter().

      Proposal A)
      SolutionDescriptor has a factClassSet (a fact is either a problem fact or a planning entities).

      Proposal B)
      SolutionDescriptor has a problemFactClassSet (and it already entityDescriptorMap.keySet() for the entities)

      Attachments

        Activity

          People

            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

            Dates

              Created:
              Updated:
              Resolved: