public final class Dictionary extends Object
Constructor and Description |
---|
Dictionary() |
Modifier and Type | Method and Description |
---|---|
static void |
codingLongStates(BigInteger[] factors)
Loads the hash function: sum of the Cartesian product between the given parameter and a given state
|
static void |
codingShortStates(long[] _factors)
Loads the hash function: sum of the Cartesian product between the given parameter and a given state
|
static String |
toBigKey(byte[] state)
Computes the key of a long state based on the values of its components
|
static String |
toKey(byte[] state)
Computes the key of a state based on the values of its components
|
static long |
toNumericKey(byte[] state)
Computes the key of a state based on the values of its components
|
public static void codingLongStates(BigInteger[] factors)
factors
- the hash function to compute the key of a given statepublic static void codingShortStates(long[] _factors)
factors
- the hash function to compute the key of a given statepublic static String toKey(byte[] state)
state
- the statepublic static long toNumericKey(byte[] state)
state
- the statepublic static String toBigKey(byte[] state)
state
- the long stateCopyright © 2005–2020. All rights reserved.