Uses of Class
org.optaplanner.core.config.solver.SolverConfig
-
Packages that use SolverConfig Package Description org.optaplanner.benchmark.config Classes which represent the XML Benchmark configuration of OptaPlanner Benchmark.org.optaplanner.benchmark.impl.result org.optaplanner.core.api.solver Solver,SolverFactory, ...org.optaplanner.core.config.solver org.optaplanner.core.impl.solver -
-
Uses of SolverConfig in org.optaplanner.benchmark.config
Methods in org.optaplanner.benchmark.config that return SolverConfig Modifier and Type Method Description SolverConfigSolverBenchmarkConfig. getSolverConfig()Methods in org.optaplanner.benchmark.config with parameters of type SolverConfig Modifier and Type Method Description static PlannerBenchmarkConfigPlannerBenchmarkConfig. createFromSolverConfig(SolverConfig solverConfig)static PlannerBenchmarkConfigPlannerBenchmarkConfig. createFromSolverConfig(SolverConfig solverConfig, File benchmarkDirectory)voidSolverBenchmarkConfig. setSolverConfig(SolverConfig solverConfig) -
Uses of SolverConfig in org.optaplanner.benchmark.impl.result
Methods in org.optaplanner.benchmark.impl.result that return SolverConfig Modifier and Type Method Description SolverConfigSolverBenchmarkResult. getSolverConfig()Methods in org.optaplanner.benchmark.impl.result with parameters of type SolverConfig Modifier and Type Method Description voidSolverBenchmarkResult. setSolverConfig(SolverConfig solverConfig) -
Uses of SolverConfig in org.optaplanner.core.api.solver
Methods in org.optaplanner.core.api.solver that return SolverConfig Modifier and Type Method Description abstract SolverConfigSolverFactory. getSolverConfig()Deprecated.in favor ofSolverConfig(SolverConfig)andSolverFactory.create(SolverConfig).Methods in org.optaplanner.core.api.solver with parameters of type SolverConfig Modifier and Type Method Description static <Solution_>
SolverFactory<Solution_>SolverFactory. create(SolverConfig solverConfig)Uses aSolverConfigto build aSolverFactory.static <Solution_,ProblemId_>
SolverManager<Solution_,ProblemId_>SolverManager. create(SolverConfig solverConfig, SolverManagerConfig solverManagerConfig)static <Solution_>
SolverFactory<Solution_>SolverFactory. createFromKieContainer(org.kie.api.runtime.KieContainer kieContainer, SolverConfig solverConfig) -
Uses of SolverConfig in org.optaplanner.core.config.solver
Methods in org.optaplanner.core.config.solver that return SolverConfig Modifier and Type Method Description SolverConfigSolverConfig. copyConfig()static SolverConfigSolverConfig. createFromXmlFile(File solverConfigFile)Reads an XML solver configuration from the file system.static SolverConfigSolverConfig. createFromXmlFile(File solverConfigFile, ClassLoader classLoader)As defined bycreateFromXmlFile(File).static SolverConfigSolverConfig. createFromXmlInputStream(InputStream in)static SolverConfigSolverConfig. createFromXmlInputStream(InputStream in, ClassLoader classLoader)As defined bycreateFromXmlInputStream(InputStream).static SolverConfigSolverConfig. createFromXmlReader(Reader reader)static SolverConfigSolverConfig. createFromXmlReader(Reader reader, ClassLoader classLoader)As defined bycreateFromXmlReader(Reader).static SolverConfigSolverConfig. createFromXmlResource(String solverConfigResource)Reads an XML solver configuration from the classpath.static SolverConfigSolverConfig. createFromXmlResource(String solverConfigResource, ClassLoader classLoader)As defined bycreateFromXmlResource(String).SolverConfigSolverConfig. inherit(SolverConfig inheritedConfig)Do not use this method, it is an internal method.SolverConfigSolverConfig. withDaemon(Boolean daemon)SolverConfigSolverConfig. withEntityClasses(Class<?>... entityClasses)SolverConfigSolverConfig. withEntityClassList(List<Class<?>> entityClassList)SolverConfigSolverConfig. withEnvironmentMode(EnvironmentMode environmentMode)SolverConfigSolverConfig. withMoveThreadBufferSize(Integer moveThreadBufferSize)SolverConfigSolverConfig. withMoveThreadCount(String moveThreadCount)SolverConfigSolverConfig. withPhaseList(List<PhaseConfig> phaseConfigList)SolverConfigSolverConfig. withPhases(PhaseConfig... phaseConfigs)SolverConfigSolverConfig. withRandomFactoryClass(Class<? extends RandomFactory> randomFactoryClass)SolverConfigSolverConfig. withRandomSeed(Long randomSeed)SolverConfigSolverConfig. withRandomType(RandomType randomType)SolverConfigSolverConfig. withScoreDirectorFactory(ScoreDirectorFactoryConfig scoreDirectorFactoryConfig)SolverConfigSolverConfig. withSolutionClass(Class<?> solutionClass)SolverConfigSolverConfig. withTerminationConfig(TerminationConfig terminationConfig)SolverConfigSolverConfig. withThreadFactoryClass(Class<? extends ThreadFactory> threadFactoryClass)Methods in org.optaplanner.core.config.solver with parameters of type SolverConfig Modifier and Type Method Description SolverConfigSolverConfig. inherit(SolverConfig inheritedConfig)Do not use this method, it is an internal method.Constructors in org.optaplanner.core.config.solver with parameters of type SolverConfig Constructor Description SolverConfig(SolverConfig inheritedConfig)Allows you to programmatically change theSolverConfigper concurrent request, based on a template solver config, by building a separateSolverFactorywithSolverFactory.create(SolverConfig)and a separateSolverper request to avoid race conditions. -
Uses of SolverConfig in org.optaplanner.core.impl.solver
Methods in org.optaplanner.core.impl.solver that return SolverConfig Modifier and Type Method Description SolverConfigDefaultSolverFactory. getSolverConfig()Deprecated.Constructors in org.optaplanner.core.impl.solver with parameters of type SolverConfig Constructor Description DefaultSolverFactory(SolverConfig solverConfig)DefaultSolverFactory(SolverConfig solverConfig, SolverConfigContext solverConfigContext)
-