Package nl.tue.storage.hashing
Class HashCodeProviderTest
- java.lang.Object
-
- nl.tue.storage.hashing.HashCodeProviderTest
-
public class HashCodeProviderTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HashCodeProviderTest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static doublecomputeChiSq(int keys, long buckets, gnu.trove.map.TIntIntMap keyCount)static voiddoTestInt(int col, int length, int numAdjust, int maxAdjust, boolean assertions)static voiddoTestShort(int col, int length, int numAdjust, int maxAdjust, boolean assertions)protected static doubleexpectedCol(int keys, long vals)static voidmain(java.lang.String[] args)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
- Parameters:
args-
-
doTestShort
public static void doTestShort(int col, int length, int numAdjust, int maxAdjust, boolean assertions)
-
doTestInt
public static void doTestInt(int col, int length, int numAdjust, int maxAdjust, boolean assertions)
-
expectedCol
protected static double expectedCol(int keys, long vals)
-
computeChiSq
protected static double computeChiSq(int keys, long buckets, gnu.trove.map.TIntIntMap keyCount)
-
-