|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sat4j.reader.Reader
org.sat4j.reader.AAGReader
public class AAGReader
Reader for the ASCII 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 Readermodel - a model using the Dimacs format.
public void decode(int[] model,
PrintWriter out)
Reader
decode in class Readermodel - a model using the Dimacs format.out - the place where to display the model
public IProblem parseInstance(InputStream in)
throws ParseFormatException,
ContradictionException,
IOException
Reader
parseInstance in class Readerin - 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 | |||||||||