public class AbstractPlannerBenchmarkFactory extends PlannerBenchmarkFactory
PlannerBenchmarkFactory
Modifier and Type | Field and Description |
---|---|
protected PlannerBenchmarkConfig |
plannerBenchmarkConfig |
protected SolverConfigContext |
solverConfigContext |
Constructor and Description |
---|
AbstractPlannerBenchmarkFactory() |
AbstractPlannerBenchmarkFactory(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, createFromSolverFactory, createFromSolverFactory, createFromXmlFile, createFromXmlFile, createFromXmlInputStream, createFromXmlInputStream, createFromXmlReader, createFromXmlReader, createFromXmlResource, createFromXmlResource
protected final SolverConfigContext solverConfigContext
protected PlannerBenchmarkConfig plannerBenchmarkConfig
public AbstractPlannerBenchmarkFactory()
public AbstractPlannerBenchmarkFactory(SolverConfigContext solverConfigContext)
solverConfigContext
- never nullpublic PlannerBenchmarkConfig getPlannerBenchmarkConfig()
PlannerBenchmarkFactory
PlannerBenchmarkConfig
at runtime before building
the PlannerBenchmark
.
This method is not thread-safe.
getPlannerBenchmarkConfig
in class PlannerBenchmarkFactory
public PlannerBenchmark buildPlannerBenchmark()
PlannerBenchmarkFactory
PlannerBenchmark
instance.buildPlannerBenchmark
in class PlannerBenchmarkFactory
@SafeVarargs public final <Solution_> PlannerBenchmark buildPlannerBenchmark(Solution_... problems)
PlannerBenchmarkFactory
PlannerBenchmark
instance for datasets that are already in memory.buildPlannerBenchmark
in class PlannerBenchmarkFactory
Solution_
- the solution type, the class with the PlanningSolution
annotationproblems
- never null, can be nonepublic <Solution_> PlannerBenchmark buildPlannerBenchmark(List<Solution_> problemList)
PlannerBenchmarkFactory
PlannerBenchmark
instance for datasets that are already in memory.buildPlannerBenchmark
in class PlannerBenchmarkFactory
Solution_
- the solution type, the class with the PlanningSolution
annotationproblemList
- never null, can be emptypublic void checkPlannerBenchmarkConfigNotNull()
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.