public class NAryTreeBasisILPTailCompressor extends AbstractNAryTreeLPTailCompressor<NAryTreeBasisILPTail>
activities, activityBytes, maxBytes, stateBytes, variableBytes, variables
Constructor and Description |
---|
NAryTreeBasisILPTailCompressor(int stateBytes,
int variables,
short activities,
int varUpBo,
int basisLength) |
Modifier and Type | Method and Description |
---|---|
void |
deflate(NAryTreeBasisILPTail 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.
|
NAryTreeBasisILPTail |
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,NAryTreeBasisILPTail> 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 NAryTreeBasisILPTailCompressor(int stateBytes, int variables, short activities, int varUpBo, int basisLength)
public void deflate(NAryTreeBasisILPTail object, java.io.OutputStream stream) throws java.io.IOException
deflate
in interface nl.tue.storage.Deflater<NAryTreeBasisILPTail>
deflate
in class AbstractNAryTreeLPTailCompressor<NAryTreeBasisILPTail>
java.io.IOException
public NAryTreeBasisILPTail inflate(java.io.InputStream stream) throws java.io.IOException
nl.tue.storage.Inflater
inflate
in interface nl.tue.storage.Inflater<NAryTreeBasisILPTail>
inflate
in class AbstractNAryTreeLPTailCompressor<NAryTreeBasisILPTail>
java.io.IOException
public int getMaxByteCount()
nl.tue.storage.Deflater
getMaxByteCount
in interface nl.tue.storage.Deflater<NAryTreeBasisILPTail>
getMaxByteCount
in class AbstractNAryTreeLPTailCompressor<NAryTreeBasisILPTail>
public <H extends nl.tue.astar.Head> int inflateEstimate(nl.tue.astar.impl.memefficient.StorageAwareDelegate<H,NAryTreeBasisILPTail> delegate, H head, java.io.InputStream stream) throws java.io.IOException
inflateEstimate
in interface nl.tue.astar.impl.memefficient.TailInflater<NAryTreeBasisILPTail>
inflateEstimate
in class AbstractNAryTreeLPTailCompressor<NAryTreeBasisILPTail>
java.io.IOException