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, skipComments
isVerbose, parseInstance, parseInstance, setVerbosity
protected BigInteger weight
protected BigInteger top
public WDimacsReader(WeightedMaxSatDecorator solver)
public WDimacsReader(WeightedMaxSatDecorator solver, String format)
protected void flushConstraint() throws ContradictionException
flushConstraint
in class DimacsReader
ContradictionException
protected boolean handleLine() throws ContradictionException, IOException, ParseFormatException
handleLine
in class DimacsReader
ContradictionException
IOException
ParseFormatException
protected void readProblemLine() throws IOException, ParseFormatException
readProblemLine
in class DimacsReader
IOException
ParseFormatException
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.