public static class NumberStatistics.Builder<G extends Gene<?,G>,R extends Number & Comparable<? super R>> extends Statistics.Builder<G,R>
| Modifier and Type | Field and Description |
|---|---|
protected double |
_fitnessMean |
protected double |
_fitnessVariance |
protected double |
_standardError |
_ageMean, _ageVariance, _best, _generation, _invalid, _killed, _optimize, _samples, _worst| Constructor and Description |
|---|
NumberStatistics.Builder()
Create a new NumberStatistics builder.
|
| Modifier and Type | Method and Description |
|---|---|
NumberStatistics<G,R> |
build()
Return a new Statistics object with the builder values.
|
NumberStatistics.Builder<G,R> |
fitnessMean(double fitnessMean) |
NumberStatistics.Builder<G,R> |
fitnessVariance(double fitnessVariance) |
NumberStatistics.Builder<G,R> |
standardError(double standardError) |
NumberStatistics.Builder<G,R> |
statistics(NumberStatistics<G,R> statistics)
Set the values of this builder with the values of the given
statistics. |
NumberStatistics.Builder<G,R> |
statistics(Statistics<G,R> statistics)
Set the values of this builder with the values of the given
statistics. |
ageMean, ageVariance, bestPhenotype, generation, invalid, killed, optimize, samples, worstPhenotypeprotected double _fitnessMean
protected double _fitnessVariance
protected double _standardError
public NumberStatistics.Builder()
public NumberStatistics.Builder<G,R> statistics(Statistics<G,R> statistics)
Statistics.Builderstatistics.statistics in class Statistics.Builder<G extends Gene<?,G>,R extends Number & Comparable<? super R>>statistics - the statistics values. If the statistics
is null nothing is set.public NumberStatistics.Builder<G,R> statistics(NumberStatistics<G,R> statistics)
statistics.statistics - the statistics values. If the statistics
is null nothing is set.public NumberStatistics.Builder<G,R> fitnessMean(double fitnessMean)
NumberStatistics.getFitnessMean()public NumberStatistics.Builder<G,R> fitnessVariance(double fitnessVariance)
public NumberStatistics.Builder<G,R> standardError(double standardError)
NumberStatistics.getStandardError()public NumberStatistics<G,R> build()
Statistics.Builderbuild in class Statistics.Builder<G extends Gene<?,G>,R extends Number & Comparable<? super R>>© 2007-2013 Franz Wilhelmstötter (2013-12-18 20:17)