Recommended Fit API becomes Assignment Recommendation API

Apache 2.0

Use recommendAssignment() instead of recommendFit().

ai.timefold.solver.migration.v8.SolutionManagerRecommendAssignmentRecipe
mod run . --recipe=ai.timefold.solver.migration.v8.SolutionManagerRecommendAssignmentRecipe

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change method name ai.timefold.solver.core.api.solver.SolutionManager recommendFit(java.lang.Object, java.lang.Object, java.util.function.Function) to recommendAssignment
  2. Change method name ai.timefold.solver.core.api.solver.SolutionManager recommendFit(java.lang.Object, java.lang.Object, java.util.function.Function, ai.timefold.solver.core.api.solver.ScoreAnalysisFetchPolicy) to recommendAssignment
  3. Change type RecommendedFit to RecommendedAssignment