public class WDimacsReader extends DimacsReader
| Modifier and Type | Field and Description |
|---|---|
protected BigInteger |
top |
protected BigInteger |
weight |
expectedNbOfConstr, formatString, literals, scanner, solver| Constructor and Description |
|---|
WDimacsReader(WeightedMaxSatDecorator solver) |
WDimacsReader(WeightedMaxSatDecorator solver,
String format) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
flushConstraint() |
protected boolean |
handleLine() |
protected void |
readProblemLine() |
decode, decode, disableNumberOfConstraintCheck, getSolver, parseInstance, readConstrs, skipCommentsisVerbose, parseInstance, parseInstance, setVerbosityprotected BigInteger weight
protected BigInteger top
public WDimacsReader(WeightedMaxSatDecorator solver)
public WDimacsReader(WeightedMaxSatDecorator solver, String format)
protected void flushConstraint()
throws ContradictionException
flushConstraint in class DimacsReaderContradictionExceptionprotected boolean handleLine()
throws ContradictionException,
IOException,
ParseFormatException
handleLine in class DimacsReaderContradictionExceptionIOExceptionParseFormatExceptionprotected void readProblemLine()
throws IOException,
ParseFormatException
readProblemLine in class DimacsReaderIOExceptionParseFormatExceptionCopyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.