public class Launcher extends AbstractLauncher implements ILogAble
[solvername] filename [key=value]*
If no solver name is given, then the default solver of the solver factory is
used (@see org.sat4j.core.ASolverFactory#defaultSolver()).
This class allows to solve sat, pb and maxsat problems.beginTime, COMMENT_PREFIX, exitCode, out, prime, problem, reader, shutdownHook, silent, solver| Constructor and Description |
|---|
Launcher() |
| Modifier and Type | Method and Description |
|---|---|
protected ISolver |
configureSolver(String[] args)
Configure the solver according to the command line parameters.
|
protected Reader |
createReader(ISolver theSolver,
String problemname) |
protected String |
getInstanceName(String[] args) |
static void |
main(String[] args) |
void |
run(String[] args) |
void |
usage() |
displayHeader, displayLicense, displayResult, getBeginTime, getExitCode, getLogWriter, getReader, log, readProblem, setDisplaySolutionLine, setExitCode, setIncomplete, setLauncherMode, setLogWriter, setSilent, showAvailableSolvers, showAvailableSolvers, solvepublic static void main(String[] args)
public void usage()
usage in class AbstractLauncherprotected Reader createReader(ISolver theSolver, String problemname)
createReader in class AbstractLauncherprotected String getInstanceName(String[] args)
getInstanceName in class AbstractLauncherprotected ISolver configureSolver(String[] args)
configureSolver in class AbstractLauncherargs - the command linepublic void run(String[] args)
run in class AbstractLauncherCopyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.