k and d are the only required parameters. For others, value 0 means default.
struct ZDICT_fastCover_params_t {
unsigned k;
unsigned d;
unsigned f;
unsigned steps;
unsigned nbThreads;
double splitPoint;
unsigned accel;
ZDICT_params_t zParams;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | ZDICTFastCoverParams.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ACCEL
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | D
The struct member offsets. |
| public static final int | F
The struct member offsets. |
| public static final int | K
The struct member offsets. |
| public static final int | NBTHREADS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SPLITPOINT
The struct member offsets. |
| public static final int | STEPS
The struct member offsets. |
| public static final int | ZPARAMS
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ZDICTFastCoverParams(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | accel()
acceleration level: constraint: |
| public ZDICTFastCoverParams | |
| public static ZDICTFastCoverParams | |
| public static ZDICTFastCoverParams. | calloc(int
the buffer capacity capacity)Returns a new |
| public static ZDICTFastCoverParams | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ZDICTFastCoverParams. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ZDICTFastCoverParams | |
| public static ZDICTFastCoverParams | |
| public static ZDICTFastCoverParams. | |
| public static ZDICTFastCoverParams. | |
| protected ZDICTFastCoverParams | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static ZDICTFastCoverParams | |
| public static ZDICTFastCoverParams | |
| public static ZDICTFastCoverParams. | create(int
the buffer capacity capacity)Returns a new |
| public static ZDICTFastCoverParams. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static ZDICTFastCoverParams | |
| public static ZDICTFastCoverParams. | |
| public int | |
| public ZDICTFastCoverParams | |
| public int | |
| public ZDICTFastCoverParams | |
| public int | |
| public ZDICTFastCoverParams | |
| public static ZDICTFastCoverParams | |
| public static ZDICTFastCoverParams. | malloc(int
the buffer capacity capacity)Returns a new |
| public static ZDICTFastCoverParams | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ZDICTFastCoverParams. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ZDICTFastCoverParams | |
| public static ZDICTFastCoverParams | |
| public static ZDICTFastCoverParams. | |
| public static ZDICTFastCoverParams. | |
| public static int | |
| public static void | |
| public int | nbThreads()
number of threads : constraint: |
| public ZDICTFastCoverParams | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static double | |
| public static void | |
| public static int | |
| public static void | |
| public static ZDICTParams | |
| public static void | |
| public ZDICTFastCoverParams | set(int k, int d, int f, int steps, int nbThreads, double splitPoint, int accel, ZDICTParams zParams)
Initializes this struct with the specified values. |
| public ZDICTFastCoverParams | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public double | splitPoint()
percentage of samples used for training: Only used for optimization: the first |
| public ZDICTFastCoverParams | |
| public int | steps()
Number of steps : Only used for optimization : 0 means default (40) : Higher means more parameters checked |
| public ZDICTFastCoverParams | |
| public ZDICTParams | |
| public ZDICTFastCoverParams | |
| public ZDICTFastCoverParams |
| ACCEL | back to summary |
|---|---|
| public static final int ACCEL The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| D | back to summary |
|---|---|
| public static final int D The struct member offsets. | |
| F | back to summary |
|---|---|
| public static final int F The struct member offsets. | |
| K | back to summary |
|---|---|
| public static final int K The struct member offsets. | |
| NBTHREADS | back to summary |
|---|---|
| public static final int NBTHREADS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SPLITPOINT | back to summary |
|---|---|
| public static final int SPLITPOINT The struct member offsets. | |
| STEPS | back to summary |
|---|---|
| public static final int STEPS The struct member offsets. | |
| ZPARAMS | back to summary |
|---|---|
| public static final int ZPARAMS The struct member offsets. | |
| ZDICTFastCoverParams | back to summary |
|---|---|
| protected ZDICTFastCoverParams(long address, ByteBuffer container) | |
| ZDICTFastCoverParams | back to summary |
|---|---|
| public ZDICTFastCoverParams(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| accel | back to summary |
|---|---|
| public int accel() acceleration level: constraint:
| |
| accel | back to summary |
|---|---|
| public ZDICTFastCoverParams accel(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static ZDICTFastCoverParams calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static ZDICTFastCoverParams. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ZDICTFastCoverParams calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ZDICTFastCoverParams. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static ZDICTFastCoverParams callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZDICTFastCoverParams callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZDICTFastCoverParams. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZDICTFastCoverParams. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected ZDICTFastCoverParams create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static ZDICTFastCoverParams create() Returns a new | |
| create | back to summary |
|---|---|
| public static ZDICTFastCoverParams create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static ZDICTFastCoverParams. Returns a new
| |
| create | back to summary |
|---|---|
| public static ZDICTFastCoverParams. Create a
| |
| createSafe | back to summary |
|---|---|
| public static ZDICTFastCoverParams createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static ZDICTFastCoverParams. Like
| |
| d | back to summary |
|---|---|
| public int d()
| |
| d | back to summary |
|---|---|
| public ZDICTFastCoverParams d(int value) Sets the specified value to the | |
| f | back to summary |
|---|---|
| public int f() log of size of frequency array : constraint:
| |
| f | back to summary |
|---|---|
| public ZDICTFastCoverParams f(int value) Sets the specified value to the | |
| k | back to summary |
|---|---|
| public int k() segment size : constraint:
| |
| k | back to summary |
|---|---|
| public ZDICTFastCoverParams k(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static ZDICTFastCoverParams malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static ZDICTFastCoverParams. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ZDICTFastCoverParams malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ZDICTFastCoverParams. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static ZDICTFastCoverParams mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZDICTFastCoverParams mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZDICTFastCoverParams. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZDICTFastCoverParams. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| naccel | back to summary |
|---|---|
| public static int naccel(long struct) Unsafe version of | |
| naccel | back to summary |
|---|---|
| public static void naccel(long struct, int value) Unsafe version of | |
| nbThreads | back to summary |
|---|---|
| public int nbThreads() number of threads : constraint:
| |
| nbThreads | back to summary |
|---|---|
| public ZDICTFastCoverParams nbThreads(int value) Sets the specified value to the | |
| nd | back to summary |
|---|---|
| public static int nd(long struct) Unsafe version of | |
| nd | back to summary |
|---|---|
| public static void nd(long struct, int value) Unsafe version of | |
| nf | back to summary |
|---|---|
| public static int nf(long struct) Unsafe version of | |
| nf | back to summary |
|---|---|
| public static void nf(long struct, int value) Unsafe version of | |
| nk | back to summary |
|---|---|
| public static int nk(long struct) Unsafe version of | |
| nk | back to summary |
|---|---|
| public static void nk(long struct, int value) Unsafe version of | |
| nnbThreads | back to summary |
|---|---|
| public static int nnbThreads(long struct) Unsafe version of | |
| nnbThreads | back to summary |
|---|---|
| public static void nnbThreads(long struct, int value) Unsafe version of | |
| nsplitPoint | back to summary |
|---|---|
| public static double nsplitPoint(long struct) Unsafe version of | |
| nsplitPoint | back to summary |
|---|---|
| public static void nsplitPoint(long struct, double value) Unsafe version of | |
| nsteps | back to summary |
|---|---|
| public static int nsteps(long struct) Unsafe version of | |
| nsteps | back to summary |
|---|---|
| public static void nsteps(long struct, int value) Unsafe version of | |
| nzParams | back to summary |
|---|---|
| public static ZDICTParams nzParams(long struct) Unsafe version of | |
| nzParams | back to summary |
|---|---|
| public static void nzParams(long struct, ZDICTParams value) Unsafe version of | |
| set | back to summary |
|---|---|
| public ZDICTFastCoverParams set(int k, int d, int f, int steps, int nbThreads, double splitPoint, int accel, ZDICTParams zParams) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public ZDICTFastCoverParams set(ZDICTFastCoverParams src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| splitPoint | back to summary |
|---|---|
| public double splitPoint() percentage of samples used for training: Only used for optimization: the first | |
| splitPoint | back to summary |
|---|---|
| public ZDICTFastCoverParams splitPoint(double value) Sets the specified value to the | |
| steps | back to summary |
|---|---|
| public int steps() Number of steps : Only used for optimization : 0 means default (40) : Higher means more parameters checked
| |
| steps | back to summary |
|---|---|
| public ZDICTFastCoverParams steps(int value) Sets the specified value to the | |
| zParams | back to summary |
|---|---|
public ZDICTParams zParams()
| |
| zParams | back to summary |
|---|---|
| public ZDICTFastCoverParams zParams(ZDICTParams value) Copies the specified | |
| zParams | back to summary |
|---|---|
| public ZDICTFastCoverParams zParams(Consumer<ZDICTParams> consumer) Passes the | |
ZDICTFastCoverParams structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final ZDICTFastCoverParams |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public ZDICTFastCoverParams. | |
| public int | |
| public ZDICTFastCoverParams. | |
| public int | |
| public ZDICTFastCoverParams. | |
| protected ZDICTFastCoverParams | |
| public int | |
| public ZDICTFastCoverParams. | |
| public int | |
| public ZDICTFastCoverParams. | |
| protected ZDICTFastCoverParams. | |
| public double | |
| public ZDICTFastCoverParams. | |
| public int | |
| public ZDICTFastCoverParams. | |
| public ZDICTParams | |
| public ZDICTFastCoverParams. | |
| public ZDICTFastCoverParams. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final ZDICTFastCoverParams ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| accel | back to summary |
|---|---|
public int accel()
| |
| accel | back to summary |
|---|---|
| public ZDICTFastCoverParams. Sets the specified value to the | |
| d | back to summary |
|---|---|
public int d()
| |
| d | back to summary |
|---|---|
| public ZDICTFastCoverParams. Sets the specified value to the | |
| f | back to summary |
|---|---|
public int f()
| |
| f | back to summary |
|---|---|
| public ZDICTFastCoverParams. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected ZDICTFastCoverParams getElementFactory() Implements abstract org.
| |
| k | back to summary |
|---|---|
public int k()
| |
| k | back to summary |
|---|---|
| public ZDICTFastCoverParams. Sets the specified value to the | |
| nbThreads | back to summary |
|---|---|
public int nbThreads()
| |
| nbThreads | back to summary |
|---|---|
| public ZDICTFastCoverParams. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected ZDICTFastCoverParams. Implements abstract org.
| |
| splitPoint | back to summary |
|---|---|
public double splitPoint()
| |
| splitPoint | back to summary |
|---|---|
| public ZDICTFastCoverParams. Sets the specified value to the | |
| steps | back to summary |
|---|---|
public int steps()
| |
| steps | back to summary |
|---|---|
| public ZDICTFastCoverParams. Sets the specified value to the | |
| zParams | back to summary |
|---|---|
public ZDICTParams zParams()
| |
| zParams | back to summary |
|---|---|
| public ZDICTFastCoverParams. Copies the specified | |
| zParams | back to summary |
|---|---|
| public ZDICTFastCoverParams. Passes the | |