org.sat4j
Class BasicLauncher<T extends ISolver>
java.lang.Object
org.sat4j.AbstractLauncher
org.sat4j.BasicLauncher<T>
- All Implemented Interfaces:
- Serializable
public class BasicLauncher<T extends ISolver>
- extends AbstractLauncher
Very simple launcher, to be used during the SAT competition or the SAT race
for instance.
- Author:
- daniel
- See Also:
- Serialized Form
Fields inherited from class org.sat4j.AbstractLauncher |
ANSWER_PREFIX, beginTime, COMMENT_PREFIX, exitCode, out, prime, reader, shutdownHook, silent, SOLUTION_PREFIX, solver |
Methods inherited from class org.sat4j.AbstractLauncher |
displayHeader, displayLicense, displayResult, getBeginTime, getExitCode, getLogWriter, getReader, log, readProblem, run, setExitCode, setLogWriter, setSilent, showAvailableSolvers, showAvailableSolvers, solve |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicLauncher
public BasicLauncher(ASolverFactory<T> factory)
main
public static void main(String[] args)
- Lance le prouveur sur un fichier Dimacs.
- Parameters:
args
- doit contenir le nom d'un fichier Dimacs, eventuellement
compress?.
configureSolver
protected ISolver configureSolver(String[] args)
- Specified by:
configureSolver
in class AbstractLauncher
createReader
protected Reader createReader(ISolver theSolver,
String problemname)
- Specified by:
createReader
in class AbstractLauncher
usage
public void usage()
- Specified by:
usage
in class AbstractLauncher
getInstanceName
protected String getInstanceName(String[] args)
- Specified by:
getInstanceName
in class AbstractLauncher
Copyright © 2012 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.