rDistanceToroidCsingle function

Intern function for Pswarm

Intern function for Pswarm

toroid distance calculation

rDistanceToroidCsingle( AllDataBotsPosX, AllDataBotsPosY, AllallowedDBPosR0, Lines, Columns, Nullpunkt)

Arguments

  • AllDataBotsPosX: NumericVector [1:n,1], positions of on grid
  • AllDataBotsPosY: NumericVector [1:n,1], positions of on grid
  • AllallowedDBPosR0: NumericMatrix
  • Lines: double
  • Columns: double
  • Nullpunkt: NumericVector

Note

do not use yourself

Returns

numeric matrix of toroid Distances[1:n,1:n]

Author(s)

Michael Thrun

See Also

Pswarm

Details

Part of the algorithm described in [Thrun, 2018, p. 95, Listing 8.1].

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, tools:::Rd_expr_doi("10.1007/978-3-658-20540-9") , 2018.

  • Maintainer: Michael Thrun
  • License: GPL-3
  • Last published: 2024-06-20