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

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

public class FloatArrayAnalyse
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), Simon Balon (balon@run.montefiore.ulg.ac.be)

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

Constructor Detail

FloatArrayAnalyse

public FloatArrayAnalyse()
Method Detail

getMaximum

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

Parameters:
array -
Returns:

getMeanValue

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

Parameters:
array -
Returns:

getStandardDeviation

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

Parameters:
array -
Returns:

getPercentile10

public static float getPercentile10(float[] array)
Get the percentile 10

Parameters:
array -
Returns:

getPercentile

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

Parameters:
array -
Returns:

getMinResidualBandwidth

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

getRUNObjFunc

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

getIGPWOObjectiveFunctionValue

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


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