Learn R Programming

windfarmGA (version 5.0.0)

generation_layouts: Layouts evaluated in one generation

Description

Return every individual that was fitness-evaluated in a given generation (allCoords). Duplicate layouts (same cell IDs) are flagged.

Usage

generation_layouts(result, generation = NULL)

Value

A list with turbines (one row per turbine), layouts (one row per individual) and generation.

Arguments

result

The output of genetic_algorithm

generation

Generation index (1 = first). Default is the last generation in result.

See Also

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

Examples

Run this code
# \donttest{
generation_layouts(resultrect, generation = 10)
# }

Run the code above in your browser using DataLab