Class CompressedIntLabel

All Implemented Interfaces:
FlyweightPrototype<Label>, Label, Serializable

public class CompressedIntLabel
extends AbstractIntLabel
implements Serializable
An integer label that uses a coder/decoder pair depending on the source node.

This is a kind of int label whose serialization (fromBitStream(InputBitStream, int) and toBitStream(OutputBitStream, int) methods) rely on a coder/decoder pair that may depend on the source node of the arc. Different constructors provide different ways to assign coders/decoders to source nodes: consult their documentation for more information.

More precisely, the public field nodeLabels exposes a list of labels for nodes. Decoders are chosen depending on the label provided by the list.

See Also:
Serialized Form