public class XMLCSPReader
extends org.sat4j.reader.Reader
Constructor and Description |
---|
XMLCSPReader(org.sat4j.specs.ISolver solver,
boolean allDiffCard) |
Modifier and Type | Method and Description |
---|---|
String |
decode(int[] model) |
void |
decode(int[] model,
PrintWriter out) |
org.sat4j.specs.IProblem |
parseInstance(InputStream in) |
org.sat4j.specs.IProblem |
parseInstance(Reader in) |
org.sat4j.specs.IProblem |
parseInstance(String filename) |
void |
setVerbosity(boolean b) |
public XMLCSPReader(org.sat4j.specs.ISolver solver, boolean allDiffCard)
public String decode(int[] model)
decode
in class org.sat4j.reader.Reader
public void decode(int[] model, PrintWriter out)
decode
in class org.sat4j.reader.Reader
public org.sat4j.specs.IProblem parseInstance(String filename) throws org.sat4j.reader.ParseFormatException, IOException, org.sat4j.specs.ContradictionException
parseInstance
in class org.sat4j.reader.Reader
org.sat4j.reader.ParseFormatException
IOException
org.sat4j.specs.ContradictionException
public org.sat4j.specs.IProblem parseInstance(Reader in) throws org.sat4j.reader.ParseFormatException, org.sat4j.specs.ContradictionException, IOException
parseInstance
in class org.sat4j.reader.Reader
org.sat4j.reader.ParseFormatException
org.sat4j.specs.ContradictionException
IOException
public org.sat4j.specs.IProblem parseInstance(InputStream in) throws org.sat4j.reader.ParseFormatException, org.sat4j.specs.ContradictionException, IOException
parseInstance
in class org.sat4j.reader.Reader
org.sat4j.reader.ParseFormatException
org.sat4j.specs.ContradictionException
IOException
public void setVerbosity(boolean b)
setVerbosity
in class org.sat4j.reader.Reader
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.