Interface SelectionProbabilityWeightFactory<Solution_,T>

Type Parameters:
Solution_ - the solution type, the class with the PlanningSolution annotation
T - the selection type
All Known Implementing Classes:
FairSelectorProbabilityWeightFactory
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 SelectionProbabilityWeightFactory<Solution_,T>
Create a probabilityWeight for a selection (which is a PlanningEntity, a planningValue, a Move or a Selector). A probabilityWeight represents the random chance that a selection will be selected. Some use cases benefit from focusing moves more actively on specific selections.

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