Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.examples.nqueens.app
Class NQueensApp

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

public class NQueensApp
extends CommonApp


Field Summary
static String SOLVER_CONFIG
           
 
Fields inherited from class org.drools.planner.examples.common.app.CommonApp
logger
 
Constructor Summary
NQueensApp()
           
 
Method Summary
protected  SolutionDao createSolutionDao()
           
protected  SolutionPanel createSolutionPanel()
           
protected  Solver createSolver()
           
protected  Solver createSolverByApi()
          Unused alternative.
protected  Solver createSolverByXml()
          Normal way to create a Solver.
static void main(String[] args)
           
 
Methods inherited from class org.drools.planner.examples.common.app.CommonApp
createSolutionBusiness, createSolutionExporter, createSolutionImporter, fixateLookAndFeel, init, init
 
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 Solver createSolver()
Specified by:
createSolver in class CommonApp

createSolverByXml

protected Solver createSolverByXml()
Normal way to create a Solver.

Returns:
never null

createSolverByApi

protected 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

Drools Planner distribution 6.0.0.Alpha9

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.