public class TreeMutationInfo
extends java.lang.Object
Constructor and Description |
---|
TreeMutationInfo(java.lang.Class<?> clazz,
java.lang.String code,
java.lang.String name,
java.lang.String description,
boolean isGuided,
java.lang.Class<TreeFitnessInfo.Dimension>[] improves,
java.lang.Class<? extends TreeFitnessAbstract>... requires)
Create a new instance of information for a tree mutation operator.
|
TreeMutationInfo(TreeMutationInfo original) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getClazz()
Returns the class of the fitness metric this information object belongs
to.
|
java.lang.String |
getCode()
Get the two character code of the fitness metric.
|
java.lang.String |
getDescription()
A brief description of the metric, possibly with pointers to literature.
|
java.lang.Class<TreeFitnessInfo.Dimension>[] |
getImproves()
The dimensions this mutator is likely to improve.
|
java.lang.String |
getName()
The name of the fitness metric.
|
java.lang.Class<? extends TreeFitnessAbstract>[] |
getRequires()
Returns an array of fitness classes that this mutator depends on.
|
boolean |
isGuided()
Returns whether this mutation is guided/smart (TRUE) or random/dumb
(FALSE).
|
java.lang.String |
toString()
Currently implemented to return the code
|
public TreeMutationInfo(java.lang.Class<?> clazz, java.lang.String code, java.lang.String name, java.lang.String description, boolean isGuided, java.lang.Class<TreeFitnessInfo.Dimension>[] improves, java.lang.Class<? extends TreeFitnessAbstract>... requires)
clazz
- The Class of the mutation operatorcode
- A two character code for the evaluator that UNIQUELY
identifies the evaluatorname
- A descriptive but short name of a couple of words that can be
used in GUI, drop down lists, and reportsdescription
- A (longer) description that describes in more detail what the
evaluator evaluatesisGuided
- Whether the mutator operator is 'smart'/guided and uses f.i.
the event log or alignments to change a process tree or
whether it is dumb/random and just tries some change.improves
- The dimensions it is likely to improve. NOTE: no guarantee
needs to be given. This field can be used to select certain
mutators for a given process tree to improve a certain
dimension.requires
- A list of specific TreeFitnessAbstract
implementations
the mutator requires to function. F.i. if alignments are
reuiqred, the
FitnessReplay
class is required.public TreeMutationInfo(TreeMutationInfo original)
public java.lang.String getCode()
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.Class<?> getClazz()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Class<? extends TreeFitnessAbstract>[] getRequires()
public boolean isGuided()
public java.lang.Class<TreeFitnessInfo.Dimension>[] getImproves()