public class MutateSingleNodeGuided extends TreeMutationAbstract
changedAtLastCall, locationOfLastChange, MAXTRIES, registry, typeOfChange
Constructor and Description |
---|
MutateSingleNodeGuided(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)
Mutates the given node (only use if you need to mutate a specific sub
tree, not beeing the whole tree).
|
protected NAryTree |
mutateLeaf(NAryTree mutatedTree,
int nodeToBeMutated,
java.util.ArrayList<AlignmentMoveList> alignmentMoves,
gnu.trove.map.TObjectIntMap<nl.tue.astar.Trace> log) |
protected NAryTree |
mutateOperator(NAryTree mutatedTree,
int nodeToBeMutated,
java.util.ArrayList<AlignmentMoveList> alignmentMoves,
gnu.trove.map.TObjectIntMap<nl.tue.astar.Trace> log) |
changedAtLastCall, didChange, locationOfLastChange, mutate, noChange
public MutateSingleNodeGuided(CentralRegistry registry)
public NAryTree mutate(NAryTree tree, int node)
TreeMutationAbstract
mutate
in class TreeMutationAbstract
node
- Node to mutate onTreeMutationAbstract#mutate(Node)
protected NAryTree mutateLeaf(NAryTree mutatedTree, int nodeToBeMutated, java.util.ArrayList<AlignmentMoveList> alignmentMoves, gnu.trove.map.TObjectIntMap<nl.tue.astar.Trace> log)
protected NAryTree mutateOperator(NAryTree mutatedTree, int nodeToBeMutated, java.util.ArrayList<AlignmentMoveList> alignmentMoves, gnu.trove.map.TObjectIntMap<nl.tue.astar.Trace> log)
public java.lang.String getKey()
TreeMutationAbstract
getKey
in class TreeMutationAbstract
TreeMutationAbstract.getKey()