It is known that, for every , -freeness can be decided by a generic Monte-Carlo algorithm running in rounds in the CONGEST model. For , faster Monte-Carlo algorithms do exist, running in rounds, based on upper bounding the number of messages to be forwarded, and aborting search sub-routines for which this number exceeds certain thresholds. We investigate the possible extension of these threshold-based algorithms, for the detection of larger cycles. We first show that, for every , there exists an infinite family of graphs containing a -cycle for which any threshold-based algorithm fails to detect that cycle. Hence, in particular, neither -freeness nor -freeness can be decided by threshold-based algorithms. Nevertheless, we show that -freeness can still be decided by a threshold-based algorithm, running in rounds, which is faster than using the generic algorithm, which would run in rounds. Moreover, we exhibit an infinite collection of families of cycles such that threshold-based algorithms can decide -freeness for every in this collection.
View on arXiv