Uses of Interface
ai.timefold.solver.core.api.solver.SolverJobBuilder
Packages that use SolverJobBuilder
-
Uses of SolverJobBuilder in ai.timefold.solver.core.api.solver
Methods in ai.timefold.solver.core.api.solver that return SolverJobBuilderModifier and TypeMethodDescription@NonNull SolverJobBuilder<Solution_,ProblemId_> SolverManager.solveBuilder()Creates a Builder that allows to customize and submit a planning problem to solve.@NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withBestSolutionConsumer(@NonNull Consumer<? super Solution_> bestSolutionConsumer) Sets the best solution consumer, which may be called multiple times during the solving process.@NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withConfigOverride(@NonNull SolverConfigOverride<Solution_> solverConfigOverride) Sets the solver config override.@NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withExceptionHandler(@NonNull BiConsumer<? super ProblemId_, ? super Throwable> exceptionHandler) Sets the custom exception handler.@NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withFinalBestSolutionConsumer(@NonNull Consumer<? super Solution_> finalBestSolutionConsumer) Sets the final best solution consumer, which is called at the end of the solving process and returns the final best solution.@NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withFirstInitializedSolutionConsumer(@NonNull SolverJobBuilder.FirstInitializedSolutionConsumer<? super Solution_> firstInitializedSolutionConsumer) Sets the consumer of the first initialized solution, the beginning of the actual optimization process.default @NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withFirstInitializedSolutionConsumer(@NonNull Consumer<? super Solution_> firstInitializedSolutionConsumer) Deprecated, for removal: This API element is subject to removal in a future version.default @NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withProblem(@NonNull Solution_ problem) Sets the problem definition.@NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withProblemFinder(@NonNull Function<? super ProblemId_, ? extends Solution_> problemFinder) Sets the mapping function to the problem definition.@NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withProblemId(@NonNull ProblemId_ problemId) Sets the problem id.SolverJobBuilder.withSolverJobStartedConsumer(Consumer<? super Solution_> solverJobStartedConsumer) Sets the consumer for when the solver starts its solving process. -
Uses of SolverJobBuilder in ai.timefold.solver.core.impl.solver
Classes in ai.timefold.solver.core.impl.solver that implement SolverJobBuilderMethods in ai.timefold.solver.core.impl.solver that return SolverJobBuilderModifier and TypeMethodDescription@NonNull SolverJobBuilder<Solution_,ProblemId_> DefaultSolverManager.solveBuilder()@NonNull SolverJobBuilder<Solution_,ProblemId_> DefaultSolverJobBuilder.withBestSolutionConsumer(@NonNull Consumer<? super Solution_> bestSolutionConsumer) @NonNull SolverJobBuilder<Solution_,ProblemId_> DefaultSolverJobBuilder.withConfigOverride(@NonNull SolverConfigOverride<Solution_> solverConfigOverride) @NonNull SolverJobBuilder<Solution_,ProblemId_> DefaultSolverJobBuilder.withExceptionHandler(@NonNull BiConsumer<? super ProblemId_, ? super Throwable> exceptionHandler) @NonNull SolverJobBuilder<Solution_,ProblemId_> DefaultSolverJobBuilder.withFinalBestSolutionConsumer(@NonNull Consumer<? super Solution_> finalBestSolutionConsumer) @NonNull SolverJobBuilder<Solution_,ProblemId_> DefaultSolverJobBuilder.withFirstInitializedSolutionConsumer(@NonNull SolverJobBuilder.FirstInitializedSolutionConsumer<? super Solution_> firstInitializedSolutionConsumer) @NonNull SolverJobBuilder<Solution_,ProblemId_> DefaultSolverJobBuilder.withProblemFinder(@NonNull Function<? super ProblemId_, ? extends Solution_> problemFinder) @NonNull SolverJobBuilder<Solution_,ProblemId_> DefaultSolverJobBuilder.withProblemId(@NonNull ProblemId_ problemId) DefaultSolverJobBuilder.withSolverJobStartedConsumer(Consumer<? super Solution_> solverJobStartedConsumer)
withFirstInitializedSolutionConsumer(FirstInitializedSolutionConsumer)instead.