|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sat4j.AbstractLauncher
public abstract class AbstractLauncher
That class is used by launchers used to solve decision problems, i.e. problems with YES/NO/UNKNOWN answers.
Field Summary | |
---|---|
static java.lang.String |
ANSWER_PREFIX
|
static java.lang.String |
COMMENT_PREFIX
|
static java.lang.String |
SOLUTION_PREFIX
|
Method Summary | |
---|---|
long |
getBeginTime()
Obtaining the current time spent since the beginning of the solving process. |
ExitCode |
getExitCode()
Get the value of the ExitCode |
java.io.PrintWriter |
getLogWriter()
|
Reader |
getReader()
|
void |
run(java.lang.String[] args)
|
void |
setExitCode(ExitCode exitCode)
Change the value of the exit code in the Launcher |
void |
setLogWriter(java.io.PrintWriter out)
To change the output stream on which statistics are displayed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SOLUTION_PREFIX
public static final java.lang.String ANSWER_PREFIX
public static final java.lang.String COMMENT_PREFIX
Method Detail |
---|
public void run(java.lang.String[] args)
public final void setExitCode(ExitCode exitCode)
exitCode
- the new ExitCodepublic final ExitCode getExitCode()
public final long getBeginTime()
public final Reader getReader()
public void setLogWriter(java.io.PrintWriter out)
out
- public java.io.PrintWriter getLogWriter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |