public class PAutomataHeadCompressor<T extends nl.tue.astar.Tail>
extends org.processmining.plugins.astar.petrinet.impl.PHeadCompressor<T>
| Constructor and Description |
|---|
PAutomataHeadCompressor(short places,
short activities)
Construct the compressor with a fixed length for all vectors.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deflate(org.processmining.plugins.astar.petrinet.impl.PHead object,
java.io.OutputStream stream)
deflate the given object into the provided stream.
|
protected boolean |
equalsInflating(nl.tue.astar.impl.State<org.processmining.plugins.astar.petrinet.impl.PHead,T> vector,
nl.tue.storage.CompressedStore<nl.tue.astar.impl.State<org.processmining.plugins.astar.petrinet.impl.PHead,T>> store,
long l) |
int |
getMaxByteCount()
the method is called before each call to deflate.
|
PAutomataHead |
inflate(java.io.InputStream stream)
read an object from a stream.
|
void |
setAutomataCount(short automata) |
void |
skip(org.processmining.plugins.astar.petrinet.impl.PHead head,
nl.tue.storage.impl.SkippableOutputStream out)
Skips as many bytes in the stream as are required to store the given head
|
equals, getHashCode, getHashCode, inflateParikhVector, skipMarking, skipParikhVectorcheckIntOnByteArray, 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, writeTopublic PAutomataHeadCompressor(short places,
short activities)
length - public void setAutomataCount(short automata)
public PAutomataHead inflate(java.io.InputStream stream) throws java.io.IOException
nl.tue.storage.Inflaterinflate in interface nl.tue.storage.Inflater<org.processmining.plugins.astar.petrinet.impl.PHead>inflate in class org.processmining.plugins.astar.petrinet.impl.PHeadCompressor<T extends nl.tue.astar.Tail>java.io.IOExceptionpublic void deflate(org.processmining.plugins.astar.petrinet.impl.PHead object,
java.io.OutputStream stream)
throws java.io.IOException
nl.tue.storage.Deflaterdeflate in interface nl.tue.storage.Deflater<org.processmining.plugins.astar.petrinet.impl.PHead>deflate in class org.processmining.plugins.astar.petrinet.impl.PHeadCompressor<T extends nl.tue.astar.Tail>java.io.IOExceptionprotected boolean equalsInflating(nl.tue.astar.impl.State<org.processmining.plugins.astar.petrinet.impl.PHead,T> vector, nl.tue.storage.CompressedStore<nl.tue.astar.impl.State<org.processmining.plugins.astar.petrinet.impl.PHead,T>> store, long l) throws java.io.IOException
equalsInflating in class org.processmining.plugins.astar.petrinet.impl.PHeadCompressor<T extends nl.tue.astar.Tail>java.io.IOExceptionpublic int getMaxByteCount()
nl.tue.storage.DeflatergetMaxByteCount in interface nl.tue.storage.Deflater<org.processmining.plugins.astar.petrinet.impl.PHead>getMaxByteCount in class org.processmining.plugins.astar.petrinet.impl.PHeadCompressor<T extends nl.tue.astar.Tail>public void skip(org.processmining.plugins.astar.petrinet.impl.PHead head,
nl.tue.storage.impl.SkippableOutputStream out)
throws java.io.IOException
nl.tue.astar.impl.memefficient.HeadDeflaterskip in interface nl.tue.astar.impl.memefficient.HeadDeflater<org.processmining.plugins.astar.petrinet.impl.PHead>skip in class org.processmining.plugins.astar.petrinet.impl.PHeadCompressor<T extends nl.tue.astar.Tail>java.io.IOException