public class PBFileProblem extends PBProblem
| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_PB_SIZE |
static int |
PB_BUFFER_SIZE |
constraintsCount, fileSize, variablesCount| Constructor and Description |
|---|
PBFileProblem(java.lang.String pbFileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addComment(java.lang.String comment) |
void |
addMinExpr(PBExpr minExpr) |
void |
addPBConstraint(PBExpr expr) |
void |
addPMin(java.lang.String pmin) |
void |
cancel() |
void |
clear() |
void |
close() |
void |
commit() |
void |
done() |
void |
flush() |
void |
open() |
void |
update() |
void |
write(byte[] b) |
void |
write(java.lang.String s) |
addPB, addVariables, summarypublic static int PB_BUFFER_SIZE
public static long MAX_PB_SIZE
public PBFileProblem(java.lang.String pbFileName)
throws SugarException
SugarExceptionpublic void open()
throws SugarException
SugarExceptionpublic void write(byte[] b)
throws SugarException
SugarExceptionpublic void write(java.lang.String s)
throws SugarException
SugarExceptionpublic void flush()
throws SugarException
SugarExceptionpublic void close()
throws SugarException
SugarExceptionpublic void update()
throws SugarException
SugarExceptionpublic void clear()
throws SugarException
clear in class PBProblemSugarExceptionpublic void commit()
throws SugarException
commit in class PBProblemSugarExceptionpublic void cancel()
throws SugarException
cancel in class PBProblemSugarExceptionpublic void done()
throws SugarException
done in class PBProblemSugarExceptionpublic void addComment(java.lang.String comment)
throws SugarException
addComment in class PBProblemSugarExceptionpublic void addPBConstraint(PBExpr expr) throws SugarException
addPBConstraint in class PBProblemSugarExceptionpublic void addMinExpr(PBExpr minExpr) throws SugarException
addMinExpr in class PBProblemSugarExceptionpublic void addPMin(java.lang.String pmin)
throws SugarException
addPMin in class PBProblemSugarException