public class GroupedCNFReader extends DimacsReader
expectedNbOfConstr, formatString, literals, scanner, solver| Constructor and Description |
|---|
GroupedCNFReader(IGroupSolver solver) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
flushConstraint() |
protected boolean |
handleLine() |
protected void |
readProblemLine() |
decode, decode, disableNumberOfConstraintCheck, getSolver, parseInstance, readConstrs, skipCommentsisVerbose, parseInstance, parseInstance, setVerbositypublic GroupedCNFReader(IGroupSolver solver)
protected void readProblemLine()
throws java.io.IOException,
ParseFormatException
readProblemLine in class DimacsReaderin - the input streamjava.io.IOException - iff an IO occursParseFormatException - if the input stream does not comply with the DIMACS format.protected boolean handleLine()
throws ContradictionException,
java.io.IOException,
ParseFormatException
handleLine in class DimacsReaderContradictionExceptionjava.io.IOExceptionParseFormatExceptionprotected void flushConstraint()
throws ContradictionException
flushConstraint in class DimacsReaderContradictionException