Class AbstractUncountableValueRange<T>

java.lang.Object
ai.timefold.solver.core.impl.domain.valuerange.AbstractUncountableValueRange<T>
All Implemented Interfaces:
ValueRange<T>, SortableValueRange<T>
Direct Known Subclasses:
DoubleValueRange

@Deprecated(forRemoval=true, since="1.1.0") public abstract class AbstractUncountableValueRange<T> extends Object implements ValueRange<T>, SortableValueRange<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Uncountable value ranges were never fully supported in many places throughout the solver and therefore never gained traction. Use CountableValueRange instead, and configure a step.
Abstract superclass for ValueRange that is not a CountableValueRange).
See Also:
  • Constructor Details

    • AbstractUncountableValueRange

      public AbstractUncountableValueRange()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • sort

      public ValueRange<T> sort(ValueRangeSorter<T> sorter)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: SortableValueRange
      The sorting operation copies the current value range and sorts it using the provided sorter.
      Specified by:
      sort in interface SortableValueRange<T>
      Parameters:
      sorter - never null, the value range sorter
      Returns:
      A new instance of the value range, with the data sorted.