eng
Schloss Dagstuhl – Leibniz-Zentrum für Informatik
Leibniz International Proceedings in Informatics
1868-8969
2018-06-04
13:1
13:12
10.4230/LIPIcs.SWAT.2018.13
article
Gathering by Repulsion
Bose, Prosenjit
1
Shermer, Thomas C.
2
School of Computer Science, Carleton University, Canada, jit@scs.carleton.ca
School of Computing Science, Simon Fraser University, Canada, shermer@sfu.ca
We consider a repulsion actuator located in an n-sided convex environment full of point particles. When the actuator is activated, all the particles move away from the actuator. We study the problem of gathering all the particles to a point. We give an O(n^2) time algorithm to compute all the actuator locations that gather the particles to one point with one activation, and an O(n) time algorithm to find a single such actuator location if one exists. We then provide an O(n) time algorithm to place the optimal number of actuators whose sequential activation results in the gathering of the particles when such a placement exists.
https://drops.dagstuhl.de/storage/00lipics/lipics-vol101-swat2018/LIPIcs.SWAT.2018.13/LIPIcs.SWAT.2018.13.pdf
polygon
kernel
beacon attraction