Class DefaultSolverFactory<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.solver.DefaultSolverFactory<Solution_>
- Type Parameters:
Solution_- the solution type, the class with thePlanningSolutionannotation
- All Implemented Interfaces:
SolverFactory<Solution_>
public final class DefaultSolverFactory<Solution_>
extends Object
implements SolverFactory<Solution_>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildPhaseList(HeuristicConfigPolicy<Solution_> configPolicy, BestSolutionRecaller<Solution_> bestSolutionRecaller, SolverTermination<Solution_> termination) buildRandomFactory(EnvironmentMode environmentMode_) buildSolver(@NonNull SolverConfigOverride<Solution_> configOverride) As defined bySolverFactory.buildSolver().voidensurePreviewFeature(PreviewFeature previewFeature) getClock()<Score_ extends Score<Score_>>
ScoreDirectorFactory<Solution_,Score_> @Nullable IntegerresolveMoveThreadCount(boolean enforceMaximum) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.timefold.solver.core.api.solver.SolverFactory
buildSolver
-
Constructor Details
-
DefaultSolverFactory
-
-
Method Details
-
getClock
-
getSolutionDescriptor
-
getScoreDirectorFactory
public <Score_ extends Score<Score_>> ScoreDirectorFactory<Solution_,Score_> getScoreDirectorFactory() -
buildSolver
public @NonNull Solver<Solution_> buildSolver(@NonNull SolverConfigOverride<Solution_> configOverride) Description copied from interface:SolverFactoryAs defined bySolverFactory.buildSolver().- Specified by:
buildSolverin interfaceSolverFactory<Solution_>- Parameters:
configOverride- includes settings that override the default configuration
-
resolveMoveThreadCount
-
buildRandomFactory
-
buildPhaseList
public List<Phase<Solution_>> buildPhaseList(HeuristicConfigPolicy<Solution_> configPolicy, BestSolutionRecaller<Solution_> bestSolutionRecaller, SolverTermination<Solution_> termination) -
ensurePreviewFeature
-