Abstract

In this paper, we consider the partial gathering problem of mobile agents in asynchronous unidirectional rings equipped with whiteboards on nodes. The partial gathering problem is a new generalization of the total gathering problem. The partial gathering problem requires, for a given integer g, that each agent should move to a node and terminate so that at least g agents should meet at the same node. The requirement for the partial gathering problem is weaker than that for the (well-investigated) total gathering problem, and thus, we have interests in clarifying the difference on the move complexity between them. We propose three algorithms to solve the partial gathering problem. The first algorithm is deterministic but requires unique ID of each agent. This algorithm achieves the partial gathering in O(gn) total moves, where n is the number of nodes. The second algorithm is randomized and requires no unique ID of each agent (i.e., anonymous). This algorithm achieves the partial gathering in expected O(gn) total moves. The third algorithm is deterministic and requires no unique ID of each agent. For this case, we show that there exist initial configurations in which no algorithm can solve the problem and agents can achieve the partial gathering in O(kn) total moves for solvable initial configurations, where k is the number of agents. Note that the total gathering problem requires Ω(kn) total moves, while the partial gathering problem requires Ω(gn) total moves in each model. Hence, we show that the move complexity of the first and second algorithms is asymptotically optimal.

Highlights

  • We have proposed three algorithms to solve the g-partial gathering problem in asynchronous unidirectional rings

  • The second algorithm is randomized and works for anonymous agents under the assumption that each agent knows the total number of agents

  • The third algorithm is deterministic and works for anonymous agents under the assumption that each agent knows the total number of agents

Read more

Summary

Background and our contribution

A distributed system is a system that consists of a set of computers (nodes) and communication links. We propose a randomized algorithm to solve the g-partial gathering problem for the case that agents have no IDs but agents know the number k of agents. We consider a deterministic algorithm to solve the g-partial gathering problem for the case that agents have no IDs but agents know the number k of agents In this case, we show that there exist initial configurations for which the g-partial gathering problem is unsolvable. We propose a deterministic algorithm to solve the g-partial gathering problem for any solvable initial configuration This algorithm requires O (kn) total moves. This means the first and second algorithms are asymptotically optimal in terms of the total moves

Related works
Organization
Network model
Agent model
System configuration
Partial gathering problem
The first model: a deterministic algorithm for distinct agents
The first part: leader election
The second part: movement to gathering nodes
The second model: a randomized algorithm for anonymous agents
The third model: a deterministic algorithm for anonymous agents
Existence of unsolvable initial configurations
Proposed algorithm
Conclusion

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.