org.sat4j.maxsat
Class GenericOptLauncher

java.lang.Object
  extended by org.sat4j.AbstractLauncher
      extended by org.sat4j.AbstractOptimizationLauncher
          extended by org.sat4j.maxsat.GenericOptLauncher
All Implemented Interfaces:
Serializable

public class GenericOptLauncher
extends AbstractOptimizationLauncher

Generic launcher to be used for solving optimization problems.

Since:
2.0
Author:
daniel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.sat4j.AbstractLauncher
ANSWER_PREFIX, COMMENT_PREFIX, reader, shutdownHook, SOLUTION_PREFIX, solver
 
Constructor Summary
GenericOptLauncher()
           
 
Method Summary
protected  ISolver configureSolver(String[] args)
           
protected  Reader createReader(ISolver aSolver, String problemname)
           
 void displayLicense()
           
protected  String getInstanceName(String[] args)
           
static void main(String[] args)
           
 void usage()
           
 
Methods inherited from class org.sat4j.AbstractOptimizationLauncher
displayAnswer, displayResult, solve
 
Methods inherited from class org.sat4j.AbstractLauncher
displayHeader, getBeginTime, getExitCode, getLogWriter, getReader, log, readProblem, run, setExitCode, setLogWriter, setSilent, showAvailableSolvers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericOptLauncher

public GenericOptLauncher()
Method Detail

displayLicense

public void displayLicense()
Overrides:
displayLicense in class AbstractLauncher

usage

public void usage()
Specified by:
usage in class AbstractLauncher

createReader

protected Reader createReader(ISolver aSolver,
                              String problemname)
Specified by:
createReader in class AbstractLauncher

getInstanceName

protected String getInstanceName(String[] args)
Specified by:
getInstanceName in class AbstractLauncher

configureSolver

protected ISolver configureSolver(String[] args)
Specified by:
configureSolver in class AbstractLauncher

main

public static void main(String[] args)


Copyright © 2010 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.