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

Add the possibility to add an instance of Termination to the TerminationConfig

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • 5.4.0.Final
    • None
    • optaplanner-core
    • None

    Description

      The TerminationConfig class doesn't allow the user to sets a custom instance of a Termination. The only function available is to sets a Termination class using TerminationConfig.setTerminationClass(Class<Termination>). The user is then limited to provide a custom termination class that doesn't required any settings. (i.e.: it's not possible to have a Termination with a constructor requiring arguments)

      I suggest to add a function similar to other configuration class. e.g.: TerminationConfig.setTermination(Termination) and TerminationConfig.getTermination()

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: