public class DefaultPlannerBenchmarkFactory extends PlannerBenchmarkFactory
PlannerBenchmarkFactory
Modifier and Type | Field and Description |
---|---|
protected PlannerBenchmarkConfig |
plannerBenchmarkConfig |
protected SolverConfigContext |
solverConfigContext |
Constructor and Description |
---|
DefaultPlannerBenchmarkFactory(PlannerBenchmarkConfig plannerBenchmarkConfig) |
DefaultPlannerBenchmarkFactory(PlannerBenchmarkConfig plannerBenchmarkConfig,
SolverConfigContext solverConfigContext) |
Modifier and Type | Method and Description |
---|---|
PlannerBenchmark |
buildPlannerBenchmark()
Creates a new
PlannerBenchmark instance. |
<Solution_> |
buildPlannerBenchmark(Solution_... problems)
Creates a new
PlannerBenchmark instance for datasets that are already in memory. |
PlannerBenchmarkConfig |
getPlannerBenchmarkConfig()
Deprecated.
|
SolverConfigContext |
getSolverConfigContext() |
buildPlannerBenchmark, create, createFromFreemarkerXmlFile, createFromFreemarkerXmlFile, createFromFreemarkerXmlFile, createFromFreemarkerXmlFile, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlReader, createFromFreemarkerXmlReader, createFromFreemarkerXmlReader, createFromFreemarkerXmlReader, createFromFreemarkerXmlResource, createFromFreemarkerXmlResource, createFromFreemarkerXmlResource, createFromFreemarkerXmlResource, createFromKieContainerXmlResource, createFromKieContainerXmlResource, createFromKieContainerXmlResource, createFromSolverConfigXmlResource, createFromSolverConfigXmlResource, createFromSolverConfigXmlResource, createFromSolverConfigXmlResource, createFromSolverFactory, createFromSolverFactory, createFromXmlFile, createFromXmlFile, createFromXmlInputStream, createFromXmlInputStream, createFromXmlReader, createFromXmlReader, createFromXmlResource, createFromXmlResource
protected final PlannerBenchmarkConfig plannerBenchmarkConfig
protected final SolverConfigContext solverConfigContext
public DefaultPlannerBenchmarkFactory(PlannerBenchmarkConfig plannerBenchmarkConfig)
public DefaultPlannerBenchmarkFactory(PlannerBenchmarkConfig plannerBenchmarkConfig, SolverConfigContext solverConfigContext)
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 none@Deprecated public PlannerBenchmarkConfig getPlannerBenchmarkConfig()
PlannerBenchmarkFactory
PlannerBenchmarkFactory
dynamically (without parsing XML each time),
use PlannerBenchmarkFactory.create(PlannerBenchmarkConfig)
instead.
This method is not thread-safe.
getPlannerBenchmarkConfig
in class PlannerBenchmarkFactory
public SolverConfigContext getSolverConfigContext()
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.