public class OPBReader2010 extends OPBReader2007
| Modifier and Type | Field and Description |
|---|---|
static BigInteger |
SAT4J_MAX_BIG_INTEGER |
nbNewSymbolscoeffs, d, hasObjFunc, hasVariablesExplanation, lits, nbConstr, nbConstraintsRead, nbVars, operator, solver| Constructor and Description |
|---|
OPBReader2010(IPBSolver solver) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beginConstraint()
callback called before we read a constraint
|
protected void |
endConstraint() |
IProblem |
parseInstance(Reader input) |
protected void |
readMetaData()
read the first comment line to get the number of variables and the number
of constraints in the file calls metaData with the data that was read
|
protected void |
readObjective()
read the objective line (if any) calls beginObjective, objectiveTerm and
endObjective
|
checkId, decode, decode, isGoodFirstCharacter, literalInAProduct, negateLiteralInAProduct, readTerm, translateVarToIdbeginObjective, constraintRelOp, constraintRightTerm, endObjective, eof, eol, get, getCoeffs, getListOfVariables, getObjectiveFunction, getVars, isGoodFollowingCharacter, metaData, parse, parseInstance, parseInstance, putback, readConstraint, readIdentifier, readInteger, readVariablesExplanation, readWord, skipSpacesisVerbose, parseInstance, setVerbositypublic static final BigInteger SAT4J_MAX_BIG_INTEGER
public OPBReader2010(IPBSolver solver)
protected void readMetaData()
throws IOException,
ParseFormatException
readMetaData in class OPBReader2007IOExceptionParseFormatExceptionprotected void readObjective()
throws IOException,
ParseFormatException
OPBReader2005readObjective in class OPBReader2005IOExceptionParseFormatExceptionprotected void beginConstraint()
OPBReader2005beginConstraint in class OPBReader2005protected void endConstraint()
throws ContradictionException
endConstraint in class OPBReader2005ContradictionExceptionpublic IProblem parseInstance(Reader input) throws ParseFormatException, ContradictionException
parseInstance in class OPBReader2005ParseFormatExceptionContradictionExceptionCopyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.