org.sat4j.pb
Class LanceurPseudo2005

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

public class LanceurPseudo2005
extends AbstractOptimizationLauncher
implements ICDCLLogger

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, beginTime, COMMENT_PREFIX, exitCode, out, prime, reader, shutdownHook, silent, SOLUTION_PREFIX, solver
 
Fields inherited from interface org.sat4j.minisat.core.ICDCLLogger
CONSOLE
 
Constructor Summary
LanceurPseudo2005()
           
 
Method Summary
protected  ISolver configureSolver(String[] args)
           
protected  Reader createReader(ISolver theSolver, String problemname)
           
protected  String getInstanceName(String[] args)
           
static void main(String[] args)
          Lance le prouveur sur un fichier Dimacs
protected  IProblem readProblem(String problemname)
           
 void usage()
           
 
Methods inherited from class org.sat4j.AbstractOptimizationLauncher
displayAnswer, displayResult, setDisplaySolutionLine, setIncomplete, solve
 
Methods inherited from class org.sat4j.AbstractLauncher
displayHeader, displayLicense, getBeginTime, getExitCode, getLogWriter, getReader, log, run, setExitCode, setLogWriter, setSilent, showAvailableSolvers, showAvailableSolvers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sat4j.minisat.core.ICDCLLogger
log
 

Field Detail

obfct

protected ObjectiveFunction obfct
Constructor Detail

LanceurPseudo2005

public LanceurPseudo2005()
Method Detail

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?.

createReader

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

configureSolver

protected ISolver configureSolver(String[] args)
Specified by:
configureSolver 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

readProblem

protected IProblem readProblem(String problemname)
                        throws FileNotFoundException,
                               ParseFormatException,
                               IOException,
                               ContradictionException
Overrides:
readProblem in class AbstractLauncher
Throws:
FileNotFoundException
ParseFormatException
IOException
ContradictionException


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