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.default @NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withBestSolutionConsumer(@NonNull Consumer<? super Solution_> bestSolutionConsumer) Deprecated, for removal: This API element is subject to removal in a future version.@NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withBestSolutionEventConsumer(@NonNull Consumer<NewBestSolutionEvent<Solution_>> bestSolutionEventConsumer) 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.default @NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withFinalBestSolutionConsumer(@NonNull Consumer<? super Solution_> finalBestSolutionConsumer) Deprecated, for removal: This API element is subject to removal in a future version.UsewithFinalBestSolutionEventConsumer(Consumer)instead.@NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withFinalBestSolutionEventConsumer(@NonNull Consumer<FinalBestSolutionEvent<Solution_>> finalBestSolutionEventConsumer) Sets the final best solution consumer, which is called at the end of the solving process and returns the final best solution.default @NonNull SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withFirstInitializedSolutionConsumer(@NonNull SolverJobBuilder.FirstInitializedSolutionConsumer<? super Solution_> firstInitializedSolutionConsumer) Deprecated, for removal: This API element is subject to removal in a future version.UsewithFirstInitializedSolutionEventConsumer(Consumer)instead.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.UsewithFirstInitializedSolutionEventConsumer(Consumer)instead.SolverJobBuilder.withFirstInitializedSolutionEventConsumer(@NonNull Consumer<FirstInitializedSolutionEvent<Solution_>> firstInitializedSolutionEventConsumer) Sets the consumer of the first initialized solution, the beginning of the actual optimization process.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.default SolverJobBuilder<Solution_,ProblemId_> SolverJobBuilder.withSolverJobStartedConsumer(Consumer<? super Solution_> solverJobStartedConsumer) Deprecated, for removal: This API element is subject to removal in a future version.UsewithSolverJobStartedEventConsumer(Consumer)instead.SolverJobBuilder.withSolverJobStartedEventConsumer(Consumer<SolverJobStartedEvent<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.withBestSolutionEventConsumer(@NonNull Consumer<NewBestSolutionEvent<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.withFinalBestSolutionEventConsumer(@NonNull Consumer<FinalBestSolutionEvent<Solution_>> finalBestSolutionConsumer) @NonNull SolverJobBuilder<Solution_,ProblemId_> DefaultSolverJobBuilder.withFirstInitializedSolutionEventConsumer(@NonNull Consumer<FirstInitializedSolutionEvent<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.withSolverJobStartedEventConsumer(Consumer<SolverJobStartedEvent<Solution_>> solverJobStartedConsumer)
withBestSolutionEventConsumer(Consumer)instead.