org.optaplanner.examples.nqueens.app
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, fixateLookAndFeel, getDescription, getIconResource, getName, init, init
public static final String SOLVER_CONFIG
public static void main(String[] args)
protected org.optaplanner.core.api.solver.Solver createSolver()
createSolver
in class CommonApp
protected 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 CommonApp
protected SolutionDao createSolutionDao()
createSolutionDao
in class CommonApp
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.