|
||||||||||
| 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.OPBReader2005
org.sat4j.reader.OPBReader2006
public class OPBReader2006
Reader complying to the PB06 input format.
| Field Summary |
|---|
| Fields inherited from class org.sat4j.reader.OPBReader2005 |
|---|
nbConstr, nbConstraintsRead, nbVars, solver |
| Constructor Summary | |
|---|---|
OPBReader2006(ISolver solver)
|
|
| Method Summary | |
|---|---|
protected void |
readTerm(java.lang.StringBuffer coeff,
java.lang.StringBuffer var)
read a term into coeff and var |
| Methods inherited from class org.sat4j.reader.OPBReader2005 |
|---|
beginConstraint, beginObjective, checkId, constraintRelOp, constraintRightTerm, decode, decode, endConstraint, endObjective, eof, get, getCoeffs, getObjectiveFunction, getVars, isGoodFirstCharacter, isGoodFollowingCharacter, metaData, parse, parseInstance, readIdentifier, readInteger, readMetaData, readWord, skipSpaces, translateVarToId |
| 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 |
| Constructor Detail |
|---|
public OPBReader2006(ISolver solver)
| Method Detail |
|---|
protected void readTerm(java.lang.StringBuffer coeff,
java.lang.StringBuffer var)
throws java.io.IOException,
ParseFormatException,
ContradictionException
readTerm in class OPBReader2005coeff - the coefficient of the variablevar - the indentifier we read
java.io.IOException
ParseException
ParseFormatException
ContradictionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||