Interface SelectionSorter<Solution_,​T>

  • Type Parameters:
    Solution_ - the solution type, the class with the PlanningSolution annotation
    T - the selection type
    All Known Implementing Classes:
    ComparatorSelectionSorter, WeightFactorySelectionSorter
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface SelectionSorter<Solution_,​T>
    Decides the order of a List of selection (which is a PlanningEntity, a planningValue, a Move or a Selector).

    Implementations are expected to be stateless. The solver may choose to reuse instances.