public class TspApp extends CommonApp<TspSolution>
CommonApp.ExtraAction<Solution_>
Modifier and Type | Field and Description |
---|---|
static String |
DATA_DIR_NAME |
static String |
SOLVER_CONFIG |
DATA_DIR_SYSTEM_PROPERTY, dataDirName, description, iconResource, name, solutionBusiness, solverAndPersistenceFrame, solverConfig
logger
Constructor and Description |
---|
TspApp() |
Modifier and Type | Method and Description |
---|---|
protected AbstractSolutionExporter |
createSolutionExporter() |
org.optaplanner.persistence.common.api.domain.solution.SolutionFileIO<TspSolution> |
createSolutionFileIO()
Used for the unsolved and solved directories,
not for the import and output directories, in the data directory.
|
protected AbstractSolutionImporter[] |
createSolutionImporters() |
protected TspPanel |
createSolutionPanel() |
static void |
main(String[] args) |
createExtraActions, createSolutionBusiness, createSolver, determineDataDir, getDataDirName, getDescription, getIconResource, getName, getSolverConfig, init, init, prepareSwingEnvironment
public static final String SOLVER_CONFIG
public static final String DATA_DIR_NAME
public static void main(String[] args)
protected TspPanel createSolutionPanel()
createSolutionPanel
in class CommonApp<TspSolution>
public org.optaplanner.persistence.common.api.domain.solution.SolutionFileIO<TspSolution> createSolutionFileIO()
CommonApp
createSolutionFileIO
in class CommonApp<TspSolution>
protected AbstractSolutionImporter[] createSolutionImporters()
createSolutionImporters
in class CommonApp<TspSolution>
protected AbstractSolutionExporter createSolutionExporter()
createSolutionExporter
in class CommonApp<TspSolution>
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.