|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sat4j.AbstractLauncher
org.sat4j.AbstractOptimizationLauncher
public abstract class AbstractOptimizationLauncher
This class is intended to be used by launchers to solve optimization problems, i.e. problems for which a loop is needed to find the optimal solution.
| Field Summary |
|---|
| Fields inherited from class org.sat4j.AbstractLauncher |
|---|
ANSWER_PREFIX, COMMENT_PREFIX, reader, shutdownHook, SOLUTION_PREFIX, solver |
| Constructor Summary | |
|---|---|
AbstractOptimizationLauncher()
|
|
| Method Summary | |
|---|---|
protected void |
displayAnswer()
|
protected void |
displayResult()
|
protected void |
solve(IProblem problem)
|
| Methods inherited from class org.sat4j.AbstractLauncher |
|---|
configureSolver, createReader, displayHeader, displayLicense, getBeginTime, getExitCode, getInstanceName, getLogWriter, getReader, log, readProblem, run, setExitCode, setLogWriter, setSilent, showAvailableSolvers, usage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractOptimizationLauncher()
| Method Detail |
|---|
protected void displayResult()
displayResult in class AbstractLauncherprotected void displayAnswer()
protected void solve(IProblem problem)
throws TimeoutException
solve in class AbstractLauncherTimeoutException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||