Skip to contents

Plot the evolution of fitness values with the influences of selection, crossover and mutation.

Usage

plot_parkfitness(result, spar = 0.1)

Arguments

result

The output of genetic_algorithm

spar

A numeric value determining how exact a spline should be drawn. Default is 0.1

Value

Returns NULL. Used for plotting

Examples

# \donttest{
## Plot the results of a hexagonal grid optimization
plot_parkfitness(resulthex)





#> NULL
# }