Class PercentileArrayFunction
java.lang.Object
microsim.statistics.functions.AbstractFunction
microsim.statistics.functions.AbstractArrayFunction
microsim.statistics.functions.PercentileArrayFunction
- All Implemented Interfaces:
EventListener, IDoubleSource, IUpdatableSource
@Deprecated(forRemoval=true)
public class PercentileArrayFunction
extends AbstractArrayFunction
implements IDoubleSource
Deprecated, for removal: This API element is subject to removal in a future version.
This function calculates percentiles (p1,p5,p10-p90,p95,p99) for a given
cross section of data. Input currently must be doubleArray double[].
- Author:
- Patryk Bronka
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.protected doubleDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class AbstractArrayFunction
dblSource, fltSource, intSource, lngSource, type, TYPE_DBL, TYPE_FLT, TYPE_INT, TYPE_LNGFields inherited from class AbstractFunction
timeChecker -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Create a percentile function on a double array source.Deprecated, for removal: This API element is subject to removal in a future version.Create a percentile function on a float array source.Deprecated, for removal: This API element is subject to removal in a future version.Create a percentile function on an integer array source.Deprecated, for removal: This API element is subject to removal in a future version.Create a percentile function on a long array source. -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(double[] data) Deprecated, for removal: This API element is subject to removal in a future version.Apply the function on a the given array of double values.voidapply(float[] data) Deprecated, for removal: This API element is subject to removal in a future version.Apply the function on a the given array of float values.voidapply(int[] data) Deprecated, for removal: This API element is subject to removal in a future version.Apply the function on a the given array of integer values.voidapply(long[] data) Deprecated, for removal: This API element is subject to removal in a future version.Apply the function on a the given array of long values.doublegetDoubleValue(Enum<?> variableID) Deprecated, for removal: This API element is subject to removal in a future version.Return the double value corresponding to the given variableIDMethods inherited from class AbstractArrayFunction
applyFunctionMethods inherited from class AbstractFunction
isCheckingTime, onEvent, setCheckingTime, updateSource
-
Field Details
-
p1
protected double p1Deprecated, for removal: This API element is subject to removal in a future version. -
p5
protected double p5Deprecated, for removal: This API element is subject to removal in a future version. -
p10
protected double p10Deprecated, for removal: This API element is subject to removal in a future version. -
p20
protected double p20Deprecated, for removal: This API element is subject to removal in a future version. -
p25
protected double p25Deprecated, for removal: This API element is subject to removal in a future version. -
p30
protected double p30Deprecated, for removal: This API element is subject to removal in a future version. -
p40
protected double p40Deprecated, for removal: This API element is subject to removal in a future version. -
p50
protected double p50Deprecated, for removal: This API element is subject to removal in a future version. -
p60
protected double p60Deprecated, for removal: This API element is subject to removal in a future version. -
p70
protected double p70Deprecated, for removal: This API element is subject to removal in a future version. -
p75
protected double p75Deprecated, for removal: This API element is subject to removal in a future version. -
p80
protected double p80Deprecated, for removal: This API element is subject to removal in a future version. -
p90
protected double p90Deprecated, for removal: This API element is subject to removal in a future version. -
p95
protected double p95Deprecated, for removal: This API element is subject to removal in a future version. -
p99
protected double p99Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
PercentileArrayFunction
Deprecated, for removal: This API element is subject to removal in a future version.Create a percentile function on a float array source.- Parameters:
source- The data source.
-
PercentileArrayFunction
Deprecated, for removal: This API element is subject to removal in a future version.Create a percentile function on an integer array source.- Parameters:
source- The data source.
-
PercentileArrayFunction
Deprecated, for removal: This API element is subject to removal in a future version.Create a percentile function on a long array source.- Parameters:
source- The data source.
-
PercentileArrayFunction
Deprecated, for removal: This API element is subject to removal in a future version.Create a percentile function on a double array source.- Parameters:
source- The data source.
-
-
Method Details
-
apply
public void apply(double[] data) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractArrayFunctionApply the function on a the given array of double values.- Overrides:
applyin classAbstractArrayFunction- Parameters:
data- A source array of values.
-
apply
public void apply(float[] data) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractArrayFunctionApply the function on a the given array of float values.- Overrides:
applyin classAbstractArrayFunction- Parameters:
data- A source array of values.
-
apply
public void apply(int[] data) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractArrayFunctionApply the function on a the given array of integer values.- Overrides:
applyin classAbstractArrayFunction- Parameters:
data- A source array of values.
-
apply
public void apply(long[] data) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractArrayFunctionApply the function on a the given array of long values.- Overrides:
applyin classAbstractArrayFunction- Parameters:
data- A source array of values.
-
getDoubleValue
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:IDoubleSourceReturn the double value corresponding to the given variableID- Specified by:
getDoubleValuein interfaceIDoubleSource- Parameters:
variableID- A unique identifier for a variable.- Returns:
- The current double value of the required variable.
-
Stats