public static enum FvParameters.SparseCompression extends Enum<FvParameters.SparseCompression>
Enum Constant and Description |
---|
NONE
No optimization for sparse vectors.
|
ZRLL_BYTES
Zero run length list of 8bit values; suitable for very sparse vectors.
|
Modifier and Type | Method and Description |
---|---|
static FvParameters.SparseCompression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FvParameters.SparseCompression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FvParameters.SparseCompression NONE
Every coordinate is stored using the specified numeric representation.
public static final FvParameters.SparseCompression ZRLL_BYTES
Store the number of leading zeros, and zeros following each element is stored separately in a list of 8 bit unsigned values. If a zero run is longer than the maximum value of representing type (255 in this case) a zero valued coordinate is stored.
public static FvParameters.SparseCompression[] values()
for (FvParameters.SparseCompression c : FvParameters.SparseCompression.values()) System.out.println(c);
public static FvParameters.SparseCompression valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null