Intern function for Pswarm
Pswarm
toroid distance calculation
rDistanceToroidCsingle( AllDataBotsPosX, AllDataBotsPosY, AllallowedDBPosR0, Lines, Columns, Nullpunkt)
AllDataBotsPosX
: NumericVector [1:n,1], positions of on gridAllDataBotsPosY
: NumericVector [1:n,1], positions of on gridAllallowedDBPosR0
: NumericMatrixLines
: doubleColumns
: doubleNullpunkt
: NumericVectordo not use yourself
numeric matrix of toroid Distances[1:n,1:n]
Michael Thrun
Pswarm
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.