public class Mutator.Statistics extends Operator.Statistics
Operator.getStatistics()
to have a new statistics setted according to the mutator state or
Operator.updateStatistics(jenes.stage.operator.Operator.Statistics)
to modify an existing statistics according
to the mutator state.
Esamples of use are showed below.
Mutator.Statistics stat = a_mutator.getStatistics();
returns a new statistics object setted according to the specified mutator state.
Mutator.Statistics stat = new Mutator.Statistics(); a_mutator.updateStatistics(stat);
modifies the existing statistics according to the specified mutator state.
Modifier and Type | Field and Description |
---|---|
protected long |
mutations
Number of mutations performed.
|
executionTime
Constructor and Description |
---|
Mutator.Statistics() |
Modifier and Type | Method and Description |
---|---|
protected void |
fill(Operator.Statistics stats)
Fills the specified statistics with the data of
the operator statistics.
|
long |
getMutations()
Returns the number of mutations performed
|
getExecutionTime
public long getMutations()
protected void fill(Operator.Statistics stats)
Operator.Statistics
fill
in class Operator.Statistics
stats
- the statistics to fill