printBlockedSprouts method for "hms" class.
Examples
f <- function(x) x
result <- hms(fitness = f, lower = -5, upper = 5)
#> A list of standard deviations (sigma) or a function to create population should be provided.
#> Metaepoch: 0 Best fitness: 4.967534
#> Metaepoch: 1 Best fitness: 4.98838
#> Metaepoch: 2 Best fitness: 4.989609
#> Metaepoch: 3 Best fitness: 4.99431
#> Metaepoch: 4 Best fitness: 4.99431
#> Metaepoch: 5 Best fitness: 4.998647
#> Metaepoch: 6 Best fitness: 4.998647
#> Metaepoch: 7 Best fitness: 4.998647
#> Metaepoch: 8 Best fitness: 4.998647
#> Metaepoch: 9 Best fitness: 4.998647
printBlockedSprouts(result)
#> Metaepoch 1 - blocked sprouts count: 0
#>
#> Metaepoch 2 - blocked sprouts count: 1
#> x1
#> 4.967534
#>
#> Metaepoch 3 - blocked sprouts count: 1
#> x1
#> 4.98838
#>
#> Metaepoch 4 - blocked sprouts count: 2
#> x1
#> 4.976647
#> x1
#> 4.98838
#>
#> Metaepoch 5 - blocked sprouts count: 1
#> x1
#> 4.99431
#>
#> Metaepoch 6 - blocked sprouts count: 4
#> x1
#> 4.976647
#> x1
#> 4.998647
#> x1
#> 4.99431
#> x1
#> 4.98838
#>
#> Metaepoch 7 - blocked sprouts count: 3
#> x1
#> 4.998647
#> x1
#> 4.99431
#> x1
#> 4.98838
#>
#> Metaepoch 8 - blocked sprouts count: 4
#> x1
#> 4.976647
#> x1
#> 4.99363
#> x1
#> 4.998647
#> x1
#> 4.99431
#>
#> Metaepoch 9 - blocked sprouts count: 3
#> x1
#> 4.99363
#> x1
#> 4.998647
#> x1
#> 4.99431
#>
#> Metaepoch 10 - blocked sprouts count: 3
#> x1
#> 4.977999
#> x1
#> 4.99363
#> x1
#> 4.998647
#>