|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sat4j.reader.Reader org.sat4j.pb.reader.OPBReader2005 org.sat4j.pb.reader.OPBReader2006 org.sat4j.pb.reader.OPBReader2007 org.sat4j.pb.reader.OPBEclipseReader2007
public class OPBEclipseReader2007
Field Summary |
---|
Fields inherited from class org.sat4j.pb.reader.OPBReader2005 |
---|
hasVariablesExplanation, nbConstr, nbConstraintsRead, nbVars, solver |
Constructor Summary | |
---|---|
OPBEclipseReader2007(IPBSolver solver)
|
Method Summary | |
---|---|
protected void |
beginListOfVariables()
callback called before we read the list for variables explanation |
protected void |
endListOfVariables()
callback called after we've read the list for variable explanation |
IVecInt |
getListOfVariables()
|
protected void |
readVariablesExplanation()
read the list for variables explanation (if any) calls beginListOfVariables and endListOfVariables |
Methods inherited from class org.sat4j.pb.reader.OPBReader2007 |
---|
checkId, isGoodFirstCharacter, literalInAProduct, negateLiteralInAProduct, readMetaData, readTerm, translateVarToId |
Methods inherited from class org.sat4j.pb.reader.OPBReader2005 |
---|
beginConstraint, beginObjective, constraintRelOp, constraintRightTerm, decode, decode, endConstraint, endObjective, eof, eol, get, getCoeffs, getObjectiveFunction, getVars, isGoodFollowingCharacter, metaData, parse, parseInstance, putback, readIdentifier, readInteger, readWord, skipSpaces |
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 OPBEclipseReader2007(IPBSolver solver)
solver
- Method Detail |
---|
protected void beginListOfVariables()
protected void endListOfVariables()
protected void readVariablesExplanation() throws java.io.IOException, ParseFormatException
readVariablesExplanation
in class OPBReader2005
java.io.IOException
ParseException
ParseFormatException
public IVecInt getListOfVariables()
getListOfVariables
in class OPBReader2005
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |