|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sat4j.reader.Reader org.sat4j.reader.AIGReader
public class AIGReader
Reader for the Binary And Inverter Graph format defined by Armin Biere.
Method Summary | |
---|---|
String |
decode(int[] model)
Produce a model using the reader format. |
void |
decode(int[] model,
PrintWriter out)
Produce a model using the reader format on a provided printwriter. |
IProblem |
parseInstance(InputStream in)
Read a file from a stream. |
Methods inherited from class org.sat4j.reader.Reader |
---|
isVerbose, parseInstance, parseInstance, setVerbosity |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String decode(int[] model)
Reader
decode
in class Reader
model
- a model using the Dimacs format.
public void decode(int[] model, PrintWriter out)
Reader
decode
in class Reader
model
- a model using the Dimacs format.out
- the place where to display the modelpublic IProblem parseInstance(InputStream in) throws ParseFormatException, ContradictionException, IOException
Reader
parseInstance
in class Reader
in
- a stream containing the benchmark.
ParseFormatException
- if an error occurs during parsing.
ContradictionException
- if the problem is found trivially inconsistent.
IOException
- if an I/O error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |