public enum QuantileSearchCriteria extends Enum<QuantileSearchCriteria>
Enum Constant and Description |
---|
EXCLUSIVE
Definition of EXCLUSIVE getQuantile(r) search:
Given rank r, return the quantile of the smallest rank that is strictly greater than r. |
INCLUSIVE
Definition of INCLUSIVE getQuantile(r) search:
Given rank r, return the quantile of the smallest rank that is strictly greater than or equal to r. |
Modifier and Type | Method and Description |
---|---|
static QuantileSearchCriteria |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuantileSearchCriteria[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuantileSearchCriteria INCLUSIVE
Definition of INCLUSIVE getRank(q) search:
Given quantile q, return the rank, r, of the largest quantile that is
less than or equal to q.
public static final QuantileSearchCriteria EXCLUSIVE
However, if the given rank is is equal to 1.0, or there is no quantile that satisfies this criterion the method will return a NaN or null.
Definition of EXCLUSIVE getRank(q) search:
Given quantile q, return the rank, r, of the largest quantile that is
strictly less than q.
If there is no quantile value that is strictly less than q, the method will return a rank of zero.
public static QuantileSearchCriteria[] values()
for (QuantileSearchCriteria c : QuantileSearchCriteria.values()) System.out.println(c);
public static QuantileSearchCriteria valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015–2024 The Apache Software Foundation. All rights reserved.