public class HybridEncoder
extends java.lang.Object
| Constructor and Description |
|---|
HybridEncoder(CSP csp,
PBProblem problem) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
commit() |
boolean |
decode(java.lang.String outFileName) |
void |
encode() |
void |
encodeDelta() |
int |
negateCode(int code) |
void |
outputMap(java.lang.String mapFileName) |
public int negateCode(int code)
public void commit()
throws SugarException
SugarExceptionpublic void cancel()
throws SugarException
SugarExceptionpublic void encodeDelta()
throws java.io.IOException,
SugarException
java.io.IOExceptionSugarExceptionpublic void encode()
throws SugarException
SugarExceptionpublic void outputMap(java.lang.String mapFileName)
throws java.io.IOException,
SugarException
java.io.IOExceptionSugarExceptionpublic boolean decode(java.lang.String outFileName)
throws java.io.IOException,
SugarException
java.io.IOExceptionSugarException