getCartesianCoordinates {DatabionicSwarm}R Documentation

Intern function: Transformation of Databot indizes to coordinates

Description

Transforms Databot indizes to exact cartesian coordinates on an toroid two dimensional grid.

Usage

getCartesianCoordinates(DataBotsPosRe, DataBotsPosIm, GridRadius, GridAngle,
QuadOrHexa = TRUE)

Arguments

DataBotsPosRe

[1:N] real part of complex vector Two Indizes per Databot describing its positions in an two dimensional grid

DataBotsPosIm

[1:N] imaginary part of complex vector Two Indizes per Databot describing its positions in an two dimensional grid

GridRadius

[Columns, Lines] Radii Matrix of all possible Positions of DataBots in Grid, see also documentation of setPolarGrid

GridAngle

[Columns, Lines] Angle Matrix of all possible Positions of DataBots in Grid, see also documentation of setPolarGrid

QuadOrHexa

Optional, FALSE=If DataPos on hexadiagonal grid, round to 2 decimals after value, Default=TRUE

Details

Transformation is described in [Thrun, 2018, p. 93].

Value

BestMatchingUnits

[1:N,2] coordinates on an two dimensional grid for each databot excluding unique key, such that by using GeneratePswarmVisualization a visualization of the Pswarm projection is possible

Author(s)

Michael Thrun

References

[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, doi:10.1007/978-3-658-20540-9, 2018.


[Package DatabionicSwarm version 2.0.0 Index]