Package randoop.main
Enum Class GenInputsAbstract.MethodSelectionMode
java.lang.Object
java.lang.Enum<GenInputsAbstract.MethodSelectionMode>
randoop.main.GenInputsAbstract.MethodSelectionMode
- All Implemented Interfaces:
Serializable
,Comparable<GenInputsAbstract.MethodSelectionMode>
,Constable
- Enclosing class:
- GenInputsAbstract
public static enum GenInputsAbstract.MethodSelectionMode
extends Enum<GenInputsAbstract.MethodSelectionMode>
The possible values of the method_selection command-line argument.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe "Bloodhound" technique from the GRT paper prioritizes methods with lower branch coverage.Select methods randomly with uniform probability. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNIFORM
Select methods randomly with uniform probability. -
BLOODHOUND
The "Bloodhound" technique from the GRT paper prioritizes methods with lower branch coverage.
-
-
Constructor Details
-
MethodSelectionMode
private MethodSelectionMode()
-
-
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
-