## 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 and Description
    --- | ---
    `SolverConfig` | SolverBenchmarkConfig.`getSolverConfig()`

    Methods in org.optaplanner.benchmark.config with parameters of type SolverConfig
    Modifier and Type | Method and Description
    --- | ---
    `static PlannerBenchmarkConfig` | PlannerBenchmarkConfig.`createFromSolverConfig(SolverConfig solverConfig)`
    `static PlannerBenchmarkConfig` | PlannerBenchmarkConfig.`createFromSolverConfig(SolverConfig solverConfig, File benchmarkDirectory)`
    `void` | SolverBenchmarkConfig.`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 and Description
    --- | ---
    `SolverConfig` | SolverBenchmarkResult.`getSolverConfig()`

    Methods in org.optaplanner.benchmark.impl.result with parameters of type SolverConfig
    Modifier and Type | Method and Description
    --- | ---
    `void` | SolverBenchmarkResult.`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 and Description
    --- | ---
    `abstract SolverConfig` | SolverFactory.`getSolverConfig()` Deprecated. in favor of `SolverConfig(SolverConfig)` and `SolverFactory.create(SolverConfig)`. Will be removed in 8.0.

    Methods in org.optaplanner.core.api.solver with parameters of type SolverConfig
    Modifier and Type | Method and Description
    --- | ---
    `static <Solution_> SolverFactory<Solution_>` | SolverFactory.`create(SolverConfig solverConfig)` Uses a `SolverConfig` to build a `SolverFactory`.
    `static <Solution_,ProblemId_> SolverManager<Solution_,ProblemId_>` | SolverManager.`create(SolverConfig solverConfig, SolverManagerConfig solverManagerConfig)` Use a `SolverConfig` and a `SolverManagerConfig` to build a `SolverManager`.
    `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 and Description
    --- | ---
    `SolverConfig` | SolverConfig.`copyConfig()`
    `static SolverConfig` | SolverConfig.`createFromXmlFile(File solverConfigFile)` Reads an XML solver configuration from the file system.
    `static SolverConfig` | SolverConfig.`createFromXmlFile(File solverConfigFile, ClassLoader classLoader)` As defined by `createFromXmlFile(File)`.
    `static SolverConfig` | SolverConfig.`createFromXmlInputStream(InputStream in)`
    `static SolverConfig` | SolverConfig.`createFromXmlInputStream(InputStream in, ClassLoader classLoader)` As defined by `createFromXmlInputStream(InputStream)`.
    `static SolverConfig` | SolverConfig.`createFromXmlReader(Reader reader)`
    `static SolverConfig` | SolverConfig.`createFromXmlReader(Reader reader, ClassLoader classLoader)` As defined by `createFromXmlReader(Reader)`.
    `static SolverConfig` | SolverConfig.`createFromXmlResource(String solverConfigResource)` Reads an XML solver configuration from the classpath.
    `static SolverConfig` | SolverConfig.`createFromXmlResource(String solverConfigResource, ClassLoader classLoader)` As defined by `createFromXmlResource(String)`.
    `SolverConfig` | SolverConfig.`inherit(SolverConfig inheritedConfig)` Do not use this method, it is an internal method.
    `SolverConfig` | SolverConfig.`withDaemon(Boolean daemon)`
    `SolverConfig` | SolverConfig.`withEntityClasses(Class<?>... entityClasses)`
    `SolverConfig` | SolverConfig.`withEntityClassList(List<Class<?>> entityClassList)`
    `SolverConfig` | SolverConfig.`withEnvironmentMode(EnvironmentMode environmentMode)`
    `SolverConfig` | SolverConfig.`withMoveThreadBufferSize(Integer moveThreadBufferSize)`
    `SolverConfig` | SolverConfig.`withMoveThreadCount(String moveThreadCount)`
    `SolverConfig` | SolverConfig.`withPhaseList(List<PhaseConfig> phaseConfigList)`
    `SolverConfig` | SolverConfig.`withPhases(PhaseConfig... phaseConfigs)`
    `SolverConfig` | SolverConfig.`withRandomFactoryClass(Class<? extends RandomFactory> randomFactoryClass)`
    `SolverConfig` | SolverConfig.`withRandomSeed(Long randomSeed)`
    `SolverConfig` | SolverConfig.`withRandomType(RandomType randomType)`
    `SolverConfig` | SolverConfig.`withScoreDirectorFactory(ScoreDirectorFactoryConfig scoreDirectorFactoryConfig)`
    `SolverConfig` | SolverConfig.`withSolutionClass(Class<?> solutionClass)`
    `SolverConfig` | SolverConfig.`withTerminationConfig(TerminationConfig terminationConfig)`
    `SolverConfig` | SolverConfig.`withThreadFactoryClass(Class<? extends ThreadFactory> threadFactoryClass)`

    Methods in org.optaplanner.core.config.solver with parameters of type SolverConfig
    Modifier and Type | Method and Description
    --- | ---
    `SolverConfig` | SolverConfig.`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 and Description
    `SolverConfig(SolverConfig inheritedConfig)` Allows you to programmatically change the `SolverConfig` per concurrent request, based on a template solver config, by building a separate `SolverFactory` with `SolverFactory.create(SolverConfig)` and a separate `Solver` per 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 and Description
    --- | ---
    `SolverConfig` | DefaultSolverFactory.`getSolverConfig()` Deprecated.

    Constructors in org.optaplanner.core.impl.solver with parameters of type SolverConfig
    Constructor and Description
    `DefaultSolverFactory(SolverConfig solverConfig)`
    `DefaultSolverFactory(SolverConfig solverConfig, SolverConfigContext solverConfigContext)`

Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.