public class NQueensApp extends CommonApp
| Modifier and Type | Field and Description |
|---|---|
static String |
SOLVER_CONFIG |
description, iconResource, logger, name, solutionBusiness, solverAndPersistenceFrame| Constructor and Description |
|---|
NQueensApp() |
| Modifier and Type | Method and Description |
|---|---|
protected SolutionDao |
createSolutionDao() |
protected SolutionPanel |
createSolutionPanel() |
protected org.optaplanner.core.api.solver.Solver |
createSolver() |
protected org.optaplanner.core.api.solver.Solver |
createSolverByApi()
Unused alternative.
|
protected org.optaplanner.core.api.solver.Solver |
createSolverByXml()
Normal way to create a
Solver. |
static void |
main(String[] args) |
createSolutionBusiness, createSolutionExporter, createSolutionImporter, getDescription, getIconResource, getName, init, init, prepareSwingEnvironmentpublic static final String SOLVER_CONFIG
public static void main(String[] args)
protected org.optaplanner.core.api.solver.Solver createSolver()
createSolver in class CommonAppprotected org.optaplanner.core.api.solver.Solver createSolverByXml()
Solver.protected org.optaplanner.core.api.solver.Solver createSolverByApi()
Solver.
Not recommended! It is recommended to use createSolverByXml() instead.protected SolutionPanel createSolutionPanel()
createSolutionPanel in class CommonAppprotected SolutionDao createSolutionDao()
createSolutionDao in class CommonAppCopyright © 2006–2015 JBoss by Red Hat. All rights reserved.