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
SugarException
public void cancel() throws SugarException
SugarException
public void encodeDelta() throws java.io.IOException, SugarException
java.io.IOException
SugarException
public void encode() throws SugarException
SugarException
public void outputMap(java.lang.String mapFileName) throws java.io.IOException, SugarException
java.io.IOException
SugarException
public boolean decode(java.lang.String outFileName) throws java.io.IOException, SugarException
java.io.IOException
SugarException