|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sofya.mutator.selectors.MethodMutationSelector sofya.mutator.selectors.RandomMethodMutationSelector
public class RandomMethodMutationSelector
Mutation selector that randomly selects by method name and signature.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class sofya.mutator.selectors.MethodMutationSelector |
---|
MethodMutationSelector.TypeSignature |
Field Summary |
---|
Fields inherited from class sofya.mutator.selectors.MethodMutationSelector |
---|
nameSigTable |
Constructor Summary | |
---|---|
RandomMethodMutationSelector(java.util.List methodNames,
int num)
Creates a new mutation selector to select a given number of methods randomly; mutations occurring in selected methods will be selected. |
|
RandomMethodMutationSelector(java.lang.String[] methodNames,
int num)
Creates a new mutation selector to select a given number of methods randomly; mutations occurring in selected methods will be selected. |
Method Summary |
---|
Methods inherited from class sofya.mutator.selectors.MethodMutationSelector |
---|
addMethod, getVariant, isSelected, main, setMutationCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomMethodMutationSelector(java.lang.String[] methodNames, int num)
methodNames
- num
- Number of methods to be randomly selected.public RandomMethodMutationSelector(java.util.List methodNames, int num)
methodNames
- List of method descriptions supplied by the diffing
tool, as strings. Mutations occurring in the selected methods will be
selected. For best efficiency, the list should support random access.num
- Number of methods to be randomly selected.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |