Learn R Programming

windfarmGA (version 2.3.0)

RandomSearch: Deprecated use random_search instead.

Description

RandomSearch is replaced by random_search.

Usage

RandomSearch(result, Polygon1, n, best, Plot, GridMethod, max_dist = 2.2)

Arguments

result

The resulting matrix of the function genetic_algorithm or windfarmGA

Polygon1

The Polygon for the wind farm area.

n

The number of random searches to be performed. Default is 20.

best

Which best individuals should be the starting conditions for a random search. The default is 1.

Plot

Should the random search be plotted? Default is FALSE

GridMethod

Should the polygon be divided into rectangular or hexagonal grid cells? The default is rectangular grid cells and hexagonal grid cells are computed when assigning "h" or "hexagon" to this input variable. The randomly generated points might be placed outside their hexagons.

max_dist

A numeric value multiplied by the rotor radius to perform collision checks. Default is 2.2