public class Selector.Statistics extends Operator.Statistics
Operator.getStatistics()
to have a new statistics setted according to the crossover state or
Operator.updateStatistics(jenes.stage.operator.Operator.Statistics)
to modify an existing statistics according
to the selector state.
Esamples of use are showed below.
Selector.Statistics stat = a_selector.getStatistics();
returns a new statistics object setted according to the specified selector state.
Selector.Statistics stat = new Selector.Statistics(); a_selector.updateStatistics(stat);
modifies the existing statistics according to the specified selector state.
Modifier and Type | Field and Description |
---|---|
protected long |
selections
Number of selectionRate performed.
|
executionTime
Constructor and Description |
---|
Selector.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 |
getSelections()
Returns the number of selectionRate performed.
|
getExecutionTime
public long getSelections()
protected void fill(Operator.Statistics stats)
Operator.Statistics
fill
in class Operator.Statistics
stats
- the statistics to fill