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

Consecutive Intervals Constraint Collector: Javadoc + Seperation of API, Breaks, Performance Improvement

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 8.10.0.Final
    • None
    • optaplanner-core
    • None
    • 2021 Week 28-30 (from Jul 12)
    • 3
    • Undefined
    • NEW
    • NEW

    Description

      • The convention in Java is that the start is inclusive, the end is exclusive. (You can check for yourself that JDK functions follow that convention religiously). The Javadocs on the constraint collector static methods need to say that.
      • Ideally also the code would say it - when you're accepting a range in any constructor, just name the variable properly. (endMap, for example, would becomeĀ endMapExclusive.)
      • Support for breaks between consecutive intervals
      • Separation between API and implementation
      • Try to improve performance on remove

      Attachments

        Issue Links

          Activity

            People

              cchianel Christopher Chianelli
              cchianel Christopher Chianelli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: