public class MutateOperatorTypeGuided extends TreeMutationAbstract
changedAtLastCall, locationOfLastChange, MAXTRIES, registry, typeOfChange
Constructor and Description |
---|
MutateOperatorTypeGuided(CentralRegistry registry) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey()
Each tree mutation should define a unique key to be used to identify the
algorithm in maps and such
|
NAryTree |
mutate(NAryTree tree,
int node)
Walks through the tree to find an operator node that behaves differently
than it should.
|
changedAtLastCall, didChange, locationOfLastChange, mutate, noChange
public MutateOperatorTypeGuided(CentralRegistry registry)
public NAryTree mutate(NAryTree tree, int node)
mutate
in class TreeMutationAbstract
node
- Node to mutate onpublic java.lang.String getKey()
TreeMutationAbstract
getKey
in class TreeMutationAbstract
TreeMutationAbstract.getKey()