public class GenericOptLauncher extends AbstractLauncher
beginTime, COMMENT_PREFIX, exitCode, out, prime, problem, reader, shutdownHook, silent, solver
Constructor and Description |
---|
GenericOptLauncher() |
Modifier and Type | Method and Description |
---|---|
protected ISolver |
configureSolver(String[] args) |
protected Reader |
createReader(ISolver aSolver,
String problemname) |
void |
displayLicense() |
protected String |
getInstanceName(String[] args) |
static void |
main(String[] args) |
protected IProblem |
readProblem(String problemname) |
void |
usage() |
displayHeader, displayResult, getBeginTime, getExitCode, getLogWriter, getReader, log, run, setDisplaySolutionLine, setExitCode, setIncomplete, setLauncherMode, setLogWriter, setSilent, showAvailableSolvers, showAvailableSolvers, solve
public void displayLicense()
displayLicense
in class AbstractLauncher
public void usage()
usage
in class AbstractLauncher
protected Reader createReader(ISolver aSolver, String problemname)
createReader
in class AbstractLauncher
protected String getInstanceName(String[] args)
getInstanceName
in class AbstractLauncher
protected ISolver configureSolver(String[] args)
configureSolver
in class AbstractLauncher
public static void main(String[] args)
protected IProblem readProblem(String problemname) throws ParseFormatException, IOException, ContradictionException
readProblem
in class AbstractLauncher
ParseFormatException
IOException
ContradictionException
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.