plot_parkfitness: Fitness and operator rates

View source: R/plots.R

plot_parkfitnessR Documentation

Fitness and operator rates

Description

Fitness (max / mean / min) and the three operator rates. Rates are percentages: Selection = share of the population used as parents, Crossover inject = unused cells mixed into children, Mutation = chance that a turbine is swapped to a free cell. The legend sits outside and follows the typical vertical order of the lines (selection highest, then inject, mutation lowest). Plotly hover is used only when ask is FALSE and plotly is installed.

Usage

plot_parkfitness(result, spar = 0.1, interactive = NULL, ask = NULL)

Arguments

result

The output of genetic_algorithm

spar

Unused, kept so existing calls do not break.

interactive

Use plotly when ask is FALSE and plotly is installed.

ask

If TRUE, wait for Enter between the fitness page and the rates page. Default is TRUE in an interactive session.

Value

A plotly object, or a list of ggplots, invisibly.

See Also

Other Plotting Functions: generation_layouts(), plot_cell_heatmap(), plot_cloud(), plot_development(), plot_evolution(), plot_generation(), plot_population(), plot_result(), plot_windfarmGA(), plot_windrose(), population_census(), random_search_single()

Examples


plot_parkfitness(resulthex)


windfarmGA documentation built on Sept. 14, 2026, 9:08 a.m.