gmm
Class ExptsManager
java.lang.Object
gmm.ExptsManager
public class ExptsManager
- extends java.lang.Object
Field Summary |
static java.lang.Runtime |
runtime
|
Method Summary |
static void |
freeMemory()
|
static int |
getDistance(int[] pi1,
int[] pi2)
|
static float |
getStdDev(float sum,
float sumOfSquares,
int sampleSize)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
runtime
public static java.lang.Runtime runtime
ExptsManager
public ExptsManager()
freeMemory
public static void freeMemory()
getDistance
public static int getDistance(int[] pi1,
int[] pi2)
throws java.lang.Exception
- Parameters:
pi1
- pi2
-
- Returns:
- the Kendall distance between rankings pi1 and pi2.
- Throws:
java.lang.Exception
getStdDev
public static float getStdDev(float sum,
float sumOfSquares,
int sampleSize)
- Parameters:
sum
- the sum of sample points.sumOfSquares
- the sum of squares of sample points.sampleSize
- the number of sample points.
- Returns:
- the standard deviation.
main
public static void main(java.lang.String[] args)
throws java.io.IOException
- Throws:
java.io.IOException