public class SolverBenchmarkConfig<Solution_> extends AbstractConfig<SolverBenchmarkConfig>
Constructor and Description |
---|
SolverBenchmarkConfig() |
Modifier and Type | Method and Description |
---|---|
void |
buildSolverBenchmark(SolverConfigContext solverConfigContext,
ClassLoader classLoader,
PlannerBenchmarkResult plannerBenchmark,
Solution_[] extraProblems) |
SolverBenchmarkConfig |
copyConfig()
Typically implemented by constructing a new instance and calling
AbstractConfig.inherit(AbstractConfig) on it |
String |
getName() |
ProblemBenchmarksConfig |
getProblemBenchmarksConfig() |
SolverConfig |
getSolverConfig() |
Integer |
getSubSingleCount() |
SolverBenchmarkConfig |
inherit(SolverBenchmarkConfig inheritedConfig)
Inherits each property of the
inheritedConfig unless that property (or a semantic alternative)
is defined by this instance (which overwrites the inherited behaviour). |
void |
setName(String name) |
void |
setProblemBenchmarksConfig(ProblemBenchmarksConfig problemBenchmarksConfig) |
void |
setSolverConfig(SolverConfig solverConfig) |
void |
setSubSingleCount(Integer subSingleCount) |
protected void |
validate() |
deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList, toString
public String getName()
public void setName(String name)
public SolverConfig getSolverConfig()
public void setSolverConfig(SolverConfig solverConfig)
public ProblemBenchmarksConfig getProblemBenchmarksConfig()
public void setProblemBenchmarksConfig(ProblemBenchmarksConfig problemBenchmarksConfig)
public Integer getSubSingleCount()
public void setSubSingleCount(Integer subSingleCount)
public void buildSolverBenchmark(SolverConfigContext solverConfigContext, ClassLoader classLoader, PlannerBenchmarkResult plannerBenchmark, Solution_[] extraProblems)
protected void validate()
public SolverBenchmarkConfig inherit(SolverBenchmarkConfig inheritedConfig)
AbstractConfig
inheritedConfig
unless that property (or a semantic alternative)
is defined by this instance (which overwrites the inherited behaviour).
After the inheritance, if a property on this AbstractConfig
composition is replaced,
it should not affect the inherited composition instance.
inherit
in class AbstractConfig<SolverBenchmarkConfig>
inheritedConfig
- never nullpublic SolverBenchmarkConfig copyConfig()
AbstractConfig
AbstractConfig.inherit(AbstractConfig)
on itcopyConfig
in class AbstractConfig<SolverBenchmarkConfig>
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.