be.ac.ulg.montefiore.run.totem.util
Class DoubleArrayAnalyse

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.util.DoubleArrayAnalyse

public class DoubleArrayAnalyse
extends java.lang.Object

Provide some statistics on an array

Creation date: 29-Oct-2004 15:22:21

Author:
Fabian Skivee (skivee@run.montefiore.ulg.ac.be)

Constructor Summary
DoubleArrayAnalyse()
           
 
Method Summary
static double getFortz(double[] load, double[] capacities)
           
static double getFortz(double[] load, float[] capacities)
           
static double getIGPWOObjectiveFunctionValue(double[] utilizations, float[] capacities)
           
static double getMaximum(double[] array)
          Get the maximum element
static double getMeanValue(double[] array)
          Get the mean value of the elements
static double getMinimum(double[] array)
          Get the minimum element
static double getMinResidualBandwidth(double[] utilizations, float[] capacities)
           
static double getPercentile(double[] array, int percentile)
          Get the specified percentile
static double getPercentile10(double[] array)
          Returns the percentile 10.
static double getRUNObjFunc(double[] utilizations, float[] capacities)
           
static double getStandardDeviation(double[] array)
          Get the standard deviation of the elements
static double getVariance(double[] array)
          Get the variance of the elements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleArrayAnalyse

public DoubleArrayAnalyse()
Method Detail

getMaximum

public static double getMaximum(double[] array)
Get the maximum element

Parameters:
array -
Returns:
the maximum of the array

getMinimum

public static double getMinimum(double[] array)
Get the minimum element

Parameters:
array -
Returns:
the minimum of the array

getMeanValue

public static double getMeanValue(double[] array)
Get the mean value of the elements

Parameters:
array -
Returns:

getStandardDeviation

public static double getStandardDeviation(double[] array)
Get the standard deviation of the elements

Parameters:
array -
Returns:

getVariance

public static double getVariance(double[] array)
Get the variance of the elements

Parameters:
array -
Returns:

getPercentile10

public static double getPercentile10(double[] array)
Returns the percentile 10.

Parameters:
array -
Returns:

getPercentile

public static double getPercentile(double[] array,
                                   int percentile)
Get the specified percentile

Parameters:
array -
Returns:

getMinResidualBandwidth

public static double getMinResidualBandwidth(double[] utilizations,
                                             float[] capacities)

getRUNObjFunc

public static double getRUNObjFunc(double[] utilizations,
                                   float[] capacities)

getIGPWOObjectiveFunctionValue

public static double getIGPWOObjectiveFunctionValue(double[] utilizations,
                                                    float[] capacities)

getFortz

public static double getFortz(double[] load,
                              float[] capacities)

getFortz

public static double getFortz(double[] load,
                              double[] capacities)


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.