stat
Creates MultiStatisticNote and send it to GA.statisticsProvider
Example:
evolution {
stat(
"BEST" to best,
"WORST" to worst,
)
}
Content copied to clipboard
See also
Creates MultiStatisticNote and send it to GA.statisticsProvider
Example:
evolution {
stat(
"CUSTOM_1" to {
val res1 = function1(param1 = best, param2 = worst)
val res2 = function2(param1 = best, param2 = worst)
res1 + res2
},
"CUSTOM_2" to {
val res3 = function3(param1 = best, param2 = worst)
val res4 = function4(param1 = best, param2 = worst)
res3 + res4
},
)
}
Content copied to clipboard
See also
Creates MultiStatisticNote and send it to GA.statisticsProvider
Example:
evolution {
stat(median(), mean(), bestFitness(), worstFitness())
}
Content copied to clipboard
See also
Creates SingleStatisticNote and send it to GA.statisticsProvider
Example:
evolution {
stat(name = "BEST", value = best)
}
Content copied to clipboard
Parameters
name
Name of statistics
value
Value of statistics
See also
Creates SingleStatisticNote and send it to GA.statisticsProvider
Example:
evolution {
stat("BEST" to best)
}
Content copied to clipboard
See also
Creates SingleStatisticNote and send it to GA.statisticsProvider Use registrar function
Example:
evolution {
stat(
name = "CUSTOM",
registrar = {
val res1 = function1(param1 = best, param2 = worst)
val res2 = function2(param1 = best, param2 = worst)
res1 + res2
},
)
}
Content copied to clipboard
Parameters
name
Name of statistics
See also
Creates SingleStatisticNote and send it to GA.statisticsProvider
Example:
evolution {
stat(
"CUSTOM" to {
val res1 = function1(param1 = best, param2 = worst)
val res2 = function2(param1 = best, param2 = worst)
res1 + res2
}
)
}
Content copied to clipboard
See also
Creates SingleStatisticNote and send it to GA.statisticsProvider
Example:
evolution {
stat(best())
}
Content copied to clipboard