In this paper we present a time optimal self-stabilizing algorithm for the maximal 2-packing in a cactus graph. The cactus is a network topology such that any edge belongs to at most one cycle. The cactus has important applications in telecommunication networks, location problems, biotechnology, among others. The execution time of this algorithm is proportional to the diameter of the cactus. To the best of our knowledge, this algorithm outperforms current algorithms presented in the literature for this problem and in this topology.
展开▼