Sets a polar grid for a swarm in an rectangular shape
setPolarGrid(Lines,Columns,QuadOrHexa,PlotIt,global)
list of
matrix [1:Lines,1:Columns], Radii Matrix of all possible Positions of DataBots in Grid
matrix [1:Lines,1:Columns], Angle Matrix of all possible Positions of DataBots in Grid
matrix [1:Lines+1,1:Columns+1], Matrix of radii in polar coordinates respecting origin (0,0) of all allowed DataBots Positions in one jump
matrix [1:Lines+1,1:Columns+1], # V$AllallowedDBPosPhi0[Lines+1,Lines+1] Matrix of angle in polar coordinates respecting origin (0,0) of all allowed DataBots Positions in one jump
Integer, hast to be able to be divided by 2
Integer, with Columns>=Lines
bool, default(TRUE) If False Hexagonal grid, default quad grid
bool, default(FALSE)
bool, default(TRUE), intern parameter, how shall the radii be calculated?
Michael Thrun
Part of the Algorithm described in [Thrun, 2018, p. 95, Listing 8.1].
[Thrun, 2018] Thrun, M. C.: Projection Based Clustering through Self-Organization and Swarm Intelligence, doctoral dissertation 2017, Springer, Heidelberg, ISBN: 978-3-658-20539-3, tools:::Rd_expr_doi("10.1007/978-3-658-20540-9"), 2018.
Pswarm