OptaPlanner core 6.1.0.Beta2

org.optaplanner.core.config.solver
Class SolverConfig

java.lang.Object
  extended by org.optaplanner.core.config.solver.SolverConfig

public class SolverConfig
extends Object


Field Summary
protected static long DEFAULT_RANDOM_SEED
           
protected  EnvironmentMode environmentMode
           
protected  List<Class<?>> planningEntityClassList
           
protected  Class<? extends RandomFactory> randomFactoryClass
           
protected  Long randomSeed
           
protected  RandomType randomType
           
protected  ScoreDirectorFactoryConfig scoreDirectorFactoryConfig
           
protected  Class<? extends Solution> solutionClass
           
protected  List<SolverPhaseConfig> solverPhaseConfigList
           
 
Constructor Summary
SolverConfig()
           
 
Method Summary
protected  BestSolutionRecaller buildBestSolutionRecaller(EnvironmentMode environmentMode)
           
protected  SolutionDescriptor buildSolutionDescriptor()
           
 Solver buildSolver()
           
 EnvironmentMode getEnvironmentMode()
           
 List<Class<?>> getPlanningEntityClassList()
           
 Class<? extends RandomFactory> getRandomFactoryClass()
           
 Long getRandomSeed()
           
 RandomType getRandomType()
           
 ScoreDirectorFactoryConfig getScoreDirectorFactoryConfig()
           
 Class<? extends Solution> getSolutionClass()
           
 List<SolverPhaseConfig> getSolverPhaseConfigList()
           
 TerminationConfig getTerminationConfig()
           
 void inherit(SolverConfig inheritedConfig)
           
 void setEnvironmentMode(EnvironmentMode environmentMode)
           
 void setPlanningEntityClassList(List<Class<?>> planningEntityClassList)
           
 void setRandomFactoryClass(Class<? extends RandomFactory> randomFactoryClass)
           
 void setRandomSeed(Long randomSeed)
           
 void setRandomType(RandomType randomType)
           
 void setScoreDirectorFactoryConfig(ScoreDirectorFactoryConfig scoreDirectorFactoryConfig)
           
 void setSolutionClass(Class<? extends Solution> solutionClass)
           
 void setSolverPhaseConfigList(List<SolverPhaseConfig> solverPhaseConfigList)
           
 void setTerminationConfig(TerminationConfig terminationConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_RANDOM_SEED

protected static final long DEFAULT_RANDOM_SEED
See Also:
Constant Field Values

environmentMode

protected EnvironmentMode environmentMode

randomType

protected RandomType randomType

randomSeed

protected Long randomSeed

randomFactoryClass

protected Class<? extends RandomFactory> randomFactoryClass

solutionClass

protected Class<? extends Solution> solutionClass

planningEntityClassList

protected List<Class<?>> planningEntityClassList

scoreDirectorFactoryConfig

protected ScoreDirectorFactoryConfig scoreDirectorFactoryConfig

solverPhaseConfigList

protected List<SolverPhaseConfig> solverPhaseConfigList
Constructor Detail

SolverConfig

public SolverConfig()
Method Detail

getEnvironmentMode

public EnvironmentMode getEnvironmentMode()

setEnvironmentMode

public void setEnvironmentMode(EnvironmentMode environmentMode)

getRandomType

public RandomType getRandomType()

setRandomType

public void setRandomType(RandomType randomType)

getRandomSeed

public Long getRandomSeed()

setRandomSeed

public void setRandomSeed(Long randomSeed)

getRandomFactoryClass

public Class<? extends RandomFactory> getRandomFactoryClass()

setRandomFactoryClass

public void setRandomFactoryClass(Class<? extends RandomFactory> randomFactoryClass)

getSolutionClass

public Class<? extends Solution> getSolutionClass()

setSolutionClass

public void setSolutionClass(Class<? extends Solution> solutionClass)

getPlanningEntityClassList

public List<Class<?>> getPlanningEntityClassList()

setPlanningEntityClassList

public void setPlanningEntityClassList(List<Class<?>> planningEntityClassList)

getScoreDirectorFactoryConfig

public ScoreDirectorFactoryConfig getScoreDirectorFactoryConfig()

setScoreDirectorFactoryConfig

public void setScoreDirectorFactoryConfig(ScoreDirectorFactoryConfig scoreDirectorFactoryConfig)

getTerminationConfig

public TerminationConfig getTerminationConfig()

setTerminationConfig

public void setTerminationConfig(TerminationConfig terminationConfig)

getSolverPhaseConfigList

public List<SolverPhaseConfig> getSolverPhaseConfigList()

setSolverPhaseConfigList

public void setSolverPhaseConfigList(List<SolverPhaseConfig> solverPhaseConfigList)

buildSolver

public Solver buildSolver()

buildBestSolutionRecaller

protected BestSolutionRecaller buildBestSolutionRecaller(EnvironmentMode environmentMode)

buildSolutionDescriptor

protected SolutionDescriptor buildSolutionDescriptor()

inherit

public void inherit(SolverConfig inheritedConfig)

OptaPlanner core 6.1.0.Beta2

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.