Enum Class BSO.Strategy
- All Implemented Interfaces:
Serializable, Comparable<BSO.Strategy>, Constable
- Enclosing class:
BSO
BSO strategy controlling which minority samples are used as seeds.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnly DANGER samples (borderline minority instances) are used as seeds.DANGER samples are primary seeds with shift factorα; SAFE (deep interior) samples are secondary seeds with shift factorα/2. -
Method Summary
Modifier and TypeMethodDescriptionstatic BSO.StrategyReturns the enum constant of this class with the specified name.static BSO.Strategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DANGER
Only DANGER samples (borderline minority instances) are used as seeds. Synthesis is concentrated at the class boundary. -
DANGER_AND_SAFE
DANGER samples are primary seeds with shift factorα; SAFE (deep interior) samples are secondary seeds with shift factorα/2. More samples are generated but at a reduced shift magnitude for safe samples.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-