jcuda.jcudpp
Class CUDPPHashTableType

java.lang.Object
  extended by jcuda.jcudpp.CUDPPHashTableType

public class CUDPPHashTableType
extends java.lang.Object

Supported types of hash tables.

See Also:
CUDPPHashTableConfig

Field Summary
static int CUDPP_BASIC_HASH_TABLE
          Stores a single value per key.
static int CUDPP_COMPACTING_HASH_TABLE
          Assigns each key a unique identifier and allows O(1) translation between the key and the unique IDs.
static int CUDPP_INVALID_HASH_TABLE
          Invalid hash table; flags error if used.
static int CUDPP_MULTIVALUE_HASH_TABLE
          Can store multiple values for each key.
 
Method Summary
static java.lang.String stringFor(int n)
          Returns the String identifying the given CUDPPHashTableType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CUDPP_BASIC_HASH_TABLE

public static final int CUDPP_BASIC_HASH_TABLE
Stores a single value per key. Input is expected to be a set of key-value pairs, where the keys are all unique.

See Also:
Constant Field Values

CUDPP_COMPACTING_HASH_TABLE

public static final int CUDPP_COMPACTING_HASH_TABLE
Assigns each key a unique identifier and allows O(1) translation between the key and the unique IDs. Input is a set of keys that may, or may not, be repeated.

See Also:
Constant Field Values

CUDPP_MULTIVALUE_HASH_TABLE

public static final int CUDPP_MULTIVALUE_HASH_TABLE
Can store multiple values for each key. Multiple values for the same key are represented by different key-value pairs in the input.

See Also:
Constant Field Values

CUDPP_INVALID_HASH_TABLE

public static final int CUDPP_INVALID_HASH_TABLE
Invalid hash table; flags error if used.

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int n)
Returns the String identifying the given CUDPPHashTableType

Parameters:
n - The CUDPPHashTableType
Returns:
The String identifying the given CUDPPHashTableType