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 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 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 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 BestSolutionRecaller buildBestSolutionRecaller(EnvironmentMode environmentMode)
protected SolutionDescriptor buildSolutionDescriptor()
public void inherit(SolverConfig inheritedConfig)
Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.