public class SolverConfig extends Object
Modifier and Type | Field and Description |
---|---|
protected Boolean |
daemon |
protected static long |
DEFAULT_RANDOM_SEED |
protected List<Class<?>> |
entityClassList |
protected EnvironmentMode |
environmentMode |
protected List<PhaseConfig> |
phaseConfigList |
protected Class<? extends RandomFactory> |
randomFactoryClass |
protected Long |
randomSeed |
protected RandomType |
randomType |
protected ScanAnnotatedClassesConfig |
scanAnnotatedClassesConfig |
protected ScoreDirectorFactoryConfig |
scoreDirectorFactoryConfig |
protected Class<? extends Solution> |
solutionClass |
Constructor and Description |
---|
SolverConfig() |
protected static final long DEFAULT_RANDOM_SEED
protected EnvironmentMode environmentMode
protected Boolean daemon
protected RandomType randomType
protected Long randomSeed
protected Class<? extends RandomFactory> randomFactoryClass
protected ScanAnnotatedClassesConfig scanAnnotatedClassesConfig
protected ScoreDirectorFactoryConfig scoreDirectorFactoryConfig
protected List<PhaseConfig> phaseConfigList
public EnvironmentMode getEnvironmentMode()
public void setEnvironmentMode(EnvironmentMode environmentMode)
public Boolean getDaemon()
public void setDaemon(Boolean daemon)
public RandomType getRandomType()
public void setRandomType(RandomType randomType)
public Long getRandomSeed()
public void setRandomSeed(Long randomSeed)
public Class<? extends RandomFactory> getRandomFactoryClass()
public void setRandomFactoryClass(Class<? extends RandomFactory> randomFactoryClass)
public ScanAnnotatedClassesConfig getScanAnnotatedClassesConfig()
public void setScanAnnotatedClassesConfig(ScanAnnotatedClassesConfig scanAnnotatedClassesConfig)
public ScoreDirectorFactoryConfig getScoreDirectorFactoryConfig()
public void setScoreDirectorFactoryConfig(ScoreDirectorFactoryConfig scoreDirectorFactoryConfig)
public TerminationConfig getTerminationConfig()
public void setTerminationConfig(TerminationConfig terminationConfig)
public List<PhaseConfig> getPhaseConfigList()
public void setPhaseConfigList(List<PhaseConfig> phaseConfigList)
public Solver buildSolver()
protected RandomFactory buildRandomFactory(EnvironmentMode environmentMode_)
protected SolutionDescriptor buildSolutionDescriptor()
protected BestSolutionRecaller buildBestSolutionRecaller(EnvironmentMode environmentMode)
protected List<Phase> buildPhaseList(HeuristicConfigPolicy configPolicy, BestSolutionRecaller bestSolutionRecaller, Termination termination)
public void inherit(SolverConfig inheritedConfig)
Copyright © 2006–2015 JBoss by Red Hat. All rights reserved.