public class AbstractPlannerBenchmarkFactory extends PlannerBenchmarkFactory
PlannerBenchmarkFactory| Modifier and Type | Field and Description |
|---|---|
protected PlannerBenchmarkConfig |
plannerBenchmarkConfig |
protected org.optaplanner.core.config.SolverConfigContext |
solverConfigContext |
| Constructor and Description |
|---|
AbstractPlannerBenchmarkFactory() |
AbstractPlannerBenchmarkFactory(org.optaplanner.core.config.SolverConfigContext solverConfigContext) |
| Modifier and Type | Method and Description |
|---|---|
PlannerBenchmark |
buildPlannerBenchmark()
Creates a new
PlannerBenchmark instance. |
<Solution_> |
buildPlannerBenchmark(List<Solution_> problemList)
Creates a new
PlannerBenchmark instance for datasets that are already in memory. |
<Solution_> |
buildPlannerBenchmark(Solution_... problems)
Creates a new
PlannerBenchmark instance for datasets that are already in memory. |
void |
checkPlannerBenchmarkConfigNotNull() |
PlannerBenchmarkConfig |
getPlannerBenchmarkConfig()
Allows you to programmatically change the
PlannerBenchmarkConfig at runtime before building
the PlannerBenchmark. |
createFromFreemarkerXmlFile, createFromFreemarkerXmlFile, createFromFreemarkerXmlFile, createFromFreemarkerXmlFile, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlReader, createFromFreemarkerXmlReader, createFromFreemarkerXmlReader, createFromFreemarkerXmlReader, createFromFreemarkerXmlResource, createFromFreemarkerXmlResource, createFromFreemarkerXmlResource, createFromFreemarkerXmlResource, createFromKieContainerXmlResource, createFromKieContainerXmlResource, createFromKieContainerXmlResource, createFromSolverFactory, createFromSolverFactory, createFromXmlFile, createFromXmlFile, createFromXmlInputStream, createFromXmlInputStream, createFromXmlReader, createFromXmlReader, createFromXmlResource, createFromXmlResourceprotected final org.optaplanner.core.config.SolverConfigContext solverConfigContext
protected PlannerBenchmarkConfig plannerBenchmarkConfig
public AbstractPlannerBenchmarkFactory()
public AbstractPlannerBenchmarkFactory(org.optaplanner.core.config.SolverConfigContext solverConfigContext)
solverConfigContext - never nullpublic PlannerBenchmarkConfig getPlannerBenchmarkConfig()
PlannerBenchmarkFactoryPlannerBenchmarkConfig at runtime before building
the PlannerBenchmark.
This method is not thread-safe.
getPlannerBenchmarkConfig in class PlannerBenchmarkFactorypublic PlannerBenchmark buildPlannerBenchmark()
PlannerBenchmarkFactoryPlannerBenchmark instance.buildPlannerBenchmark in class PlannerBenchmarkFactory@SafeVarargs public final <Solution_> PlannerBenchmark buildPlannerBenchmark(Solution_... problems)
PlannerBenchmarkFactoryPlannerBenchmark instance for datasets that are already in memory.buildPlannerBenchmark in class PlannerBenchmarkFactorySolution_ - the solution type, the class with the PlanningSolution annotationproblems - never null, can be nonepublic <Solution_> PlannerBenchmark buildPlannerBenchmark(List<Solution_> problemList)
PlannerBenchmarkFactoryPlannerBenchmark instance for datasets that are already in memory.buildPlannerBenchmark in class PlannerBenchmarkFactorySolution_ - the solution type, the class with the PlanningSolution annotationproblemList - never null, can be emptypublic void checkPlannerBenchmarkConfigNotNull()
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.