public enum NearbySelectionDistributionType extends Enum<NearbySelectionDistributionType>
Enum Constant and Description |
---|
BETA_DISTRIBUTION
Selection according to a beta distribution.
|
BLOCK_DISTRIBUTION
Only the n nearest are selected, with an equal probability.
|
LINEAR_DISTRIBUTION
Nearest elements are selected with a higher probability.
|
PARABOLIC_DISTRIBUTION
Nearest elements are selected with a higher probability.
|
Modifier and Type | Method and Description |
---|---|
static NearbySelectionDistributionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NearbySelectionDistributionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NearbySelectionDistributionType BLOCK_DISTRIBUTION
public static final NearbySelectionDistributionType LINEAR_DISTRIBUTION
public static final NearbySelectionDistributionType PARABOLIC_DISTRIBUTION
public static final NearbySelectionDistributionType BETA_DISTRIBUTION
public static NearbySelectionDistributionType[] values()
for (NearbySelectionDistributionType c : NearbySelectionDistributionType.values()) System.out.println(c);
public static NearbySelectionDistributionType 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 © 2006–2018 JBoss by Red Hat. All rights reserved.