public class PILPTailCompressor extends nl.tue.astar.impl.AbstractCompressor<PILPTail> implements nl.tue.astar.impl.memefficient.TailInflater<PILPTail>
Modifier and Type | Field and Description |
---|---|
protected short |
activities |
protected int |
bytesActivities |
protected int |
bytesPlaces |
protected short |
places |
Constructor and Description |
---|
PILPTailCompressor(int columns,
short places,
short activities) |
Modifier and Type | Method and Description |
---|---|
void |
deflate(PILPTail tail,
java.io.OutputStream stream)
deflate the given object into the provided stream.
|
int |
getMaxByteCount()
the method is called before each call to deflate.
|
PILPTail |
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,PILPTail> delegate,
H head,
java.io.InputStream stream) |
void |
skipHead(java.io.InputStream stream) |
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
protected final short places
protected final short activities
protected final int bytesPlaces
protected final int bytesActivities
public PILPTailCompressor(int columns, short places, short activities)
public void deflate(PILPTail tail, java.io.OutputStream stream) throws java.io.IOException
nl.tue.storage.Deflater
deflate
in interface nl.tue.storage.Deflater<PILPTail>
java.io.IOException
public PILPTail inflate(java.io.InputStream stream) throws java.io.IOException
nl.tue.storage.Inflater
inflate
in interface nl.tue.storage.Inflater<PILPTail>
java.io.IOException
public void skipHead(java.io.InputStream stream) throws java.io.IOException
java.io.IOException
public int getMaxByteCount()
nl.tue.storage.Deflater
getMaxByteCount
in interface nl.tue.storage.Deflater<PILPTail>
public <H extends nl.tue.astar.Head> int inflateEstimate(nl.tue.astar.impl.memefficient.StorageAwareDelegate<H,PILPTail> delegate, H head, java.io.InputStream stream) throws java.io.IOException
inflateEstimate
in interface nl.tue.astar.impl.memefficient.TailInflater<PILPTail>
java.io.IOException