public class NAryTreeNativeILPTailCompressor extends AbstractNAryTreeLPTailCompressor<NAryTreeNativeILPTail>
activities, activityBytes, maxBytes, stateBytes, variableBytes, variables
Constructor and Description |
---|
NAryTreeNativeILPTailCompressor(int stateBytes,
int variables,
short activities,
int varUpBo,
int basisSize) |
Modifier and Type | Method and Description |
---|---|
void |
deflate(NAryTreeNativeILPTail object,
java.io.OutputStream stream)
This deflater is used for updating cached objects, hence the size of the
tail cannot vary with the values of the variables.
|
int |
getMaxByteCount()
the method is called before each call to deflate.
|
NAryTreeNativeILPTail |
inflate(java.io.InputStream stream)
read an object from a stream.
|
<H extends nl.tue.astar.Head> |
inflateEstimate(nl.tue.astar.impl.memefficient.StorageAwareDelegate<H,NAryTreeNativeILPTail> delegate,
H head,
java.io.InputStream stream) |
readVarsDoubleBitmask, skipHead, writeVarsDoubleBitMask
checkIntOnByteArray, checkShortOnByteArray, deflate, deflate, deflateWithCheck, equalsDeflating, getBitsPerVar, getBitsPerVar, inflateContent, inflateContentToArray, makeBitMask, makeBitMask, makeShortListBitMask, readBooleanFromStream, readDoubleFromStream, readIntFromStream, readInto, readInto, readLongFromStream, readMask, readShortFromStream, writeBooleanToByteArray, writeDoubleToByteArray, writeIntToByteArray, writeLongToByteArray, writeShortToByteArray, writeTo, writeTo
public NAryTreeNativeILPTailCompressor(int stateBytes, int variables, short activities, int varUpBo, int basisSize)
public void deflate(NAryTreeNativeILPTail object, java.io.OutputStream stream) throws java.io.IOException
deflate
in interface nl.tue.storage.Deflater<NAryTreeNativeILPTail>
deflate
in class AbstractNAryTreeLPTailCompressor<NAryTreeNativeILPTail>
java.io.IOException
public NAryTreeNativeILPTail inflate(java.io.InputStream stream) throws java.io.IOException
nl.tue.storage.Inflater
inflate
in interface nl.tue.storage.Inflater<NAryTreeNativeILPTail>
inflate
in class AbstractNAryTreeLPTailCompressor<NAryTreeNativeILPTail>
java.io.IOException
public int getMaxByteCount()
nl.tue.storage.Deflater
getMaxByteCount
in interface nl.tue.storage.Deflater<NAryTreeNativeILPTail>
getMaxByteCount
in class AbstractNAryTreeLPTailCompressor<NAryTreeNativeILPTail>
public <H extends nl.tue.astar.Head> int inflateEstimate(nl.tue.astar.impl.memefficient.StorageAwareDelegate<H,NAryTreeNativeILPTail> delegate, H head, java.io.InputStream stream) throws java.io.IOException
inflateEstimate
in interface nl.tue.astar.impl.memefficient.TailInflater<NAryTreeNativeILPTail>
inflateEstimate
in class AbstractNAryTreeLPTailCompressor<NAryTreeNativeILPTail>
java.io.IOException