org.sat4j
Class LanceurPseudo2005

java.lang.Object
  extended by org.sat4j.AbstractLauncher
      extended by org.sat4j.AbstractOptimizationLauncher
          extended by org.sat4j.LanceurPseudo2005
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LanceurPseudo2007

public class LanceurPseudo2005
extends AbstractOptimizationLauncher

Launcher especially dedicated to the pseudo boolean 05 evaluation (@link http://www.cril.univ-artois.fr/PB05/).

Author:
mederic
See Also:
Serialized Form

Field Summary
protected  ObjectiveFunction obfct
           
 
Fields inherited from class org.sat4j.AbstractLauncher
ANSWER_PREFIX, COMMENT_PREFIX, reader, shutdownHook, SOLUTION_PREFIX, solver
 
Constructor Summary
LanceurPseudo2005()
           
 
Method Summary
protected  ISolver configureSolver(java.lang.String[] args)
           
protected  Reader createReader(ISolver solver, java.lang.String problemname)
           
protected  java.lang.String getInstanceName(java.lang.String[] args)
           
static void main(java.lang.String[] args)
          Lance le prouveur sur un fichier Dimacs
protected  void solve(IProblem problem)
           
protected  void usage()
           
 
Methods inherited from class org.sat4j.AbstractOptimizationLauncher
displayResult
 
Methods inherited from class org.sat4j.AbstractLauncher
displayHeader, getBeginTime, getExitCode, getLogWriter, getReader, log, readProblem, run, setExitCode, setLogWriter, setSilent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

obfct

protected ObjectiveFunction obfct
Constructor Detail

LanceurPseudo2005

public LanceurPseudo2005()
Method Detail

main

public static void main(java.lang.String[] args)
Lance le prouveur sur un fichier Dimacs

Parameters:
args - doit contenir le nom d'un fichier Dimacs, eventuellement compress?.

createReader

protected Reader createReader(ISolver solver,
                              java.lang.String problemname)
Specified by:
createReader in class AbstractLauncher

solve

protected void solve(IProblem problem)
              throws TimeoutException
Overrides:
solve in class AbstractOptimizationLauncher
Throws:
TimeoutException

configureSolver

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

usage

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

getInstanceName

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


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