Package org.optaplanner.core.impl.solver
Class DefaultSolverFactory<Solution_>
java.lang.Object
org.optaplanner.core.impl.solver.DefaultSolverFactory<Solution_>
- Type Parameters:
Solution_
- the solution type, the class with thePlanningSolution
annotation
- All Implemented Interfaces:
SolverFactory<Solution_>
public final class DefaultSolverFactory<Solution_>
extends Object
implements SolverFactory<Solution_>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a newSolver
instance.<Score_ extends Score<Score_>>
InnerScoreDirectorFactory<Solution_,Score_>
-
Constructor Details
-
DefaultSolverFactory
-
-
Method Details
-
getSolutionDescriptor
-
getScoreDirectorFactory
public <Score_ extends Score<Score_>> InnerScoreDirectorFactory<Solution_,Score_> getScoreDirectorFactory() -
buildSolver
Description copied from interface:SolverFactory
Creates a newSolver
instance.- Specified by:
buildSolver
in interfaceSolverFactory<Solution_>
- Returns:
- never null
-