OptaPlanner examples 6.1.0.Beta4

org.optaplanner.examples.nqueens.app
Class NQueensApp

java.lang.Object
  extended by org.optaplanner.examples.common.app.LoggingMain
      extended by org.optaplanner.examples.common.app.CommonApp
          extended by org.optaplanner.examples.nqueens.app.NQueensApp

public class NQueensApp
extends CommonApp


Field Summary
static String SOLVER_CONFIG
           
 
Fields inherited from class org.optaplanner.examples.common.app.CommonApp
description, iconResource, logger, name, solutionBusiness, solverAndPersistenceFrame
 
Constructor Summary
NQueensApp()
           
 
Method Summary
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)
           
 
Methods inherited from class org.optaplanner.examples.common.app.CommonApp
createSolutionBusiness, createSolutionExporter, createSolutionImporter, getDescription, getIconResource, getName, init, init, prepareSwingEnvironment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOLVER_CONFIG

public static final String SOLVER_CONFIG
See Also:
Constant Field Values
Constructor Detail

NQueensApp

public NQueensApp()
Method Detail

main

public static void main(String[] args)

createSolver

protected org.optaplanner.core.api.solver.Solver createSolver()
Specified by:
createSolver in class CommonApp

createSolverByXml

protected org.optaplanner.core.api.solver.Solver createSolverByXml()
Normal way to create a Solver.

Returns:
never null

createSolverByApi

protected org.optaplanner.core.api.solver.Solver createSolverByApi()
Unused alternative. Abnormal way to create a Solver.

Not recommended! It is recommended to use createSolverByXml() instead.

Returns:
never null

createSolutionPanel

protected SolutionPanel createSolutionPanel()
Specified by:
createSolutionPanel in class CommonApp

createSolutionDao

protected SolutionDao createSolutionDao()
Specified by:
createSolutionDao in class CommonApp

OptaPlanner examples 6.1.0.Beta4

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