16,036 research outputs found

    Cyclic Complexity of Words

    Get PDF
    We introduce and study a complexity function on words cx(n),c_x(n), called \emph{cyclic complexity}, which counts the number of conjugacy classes of factors of length nn of an infinite word x.x. We extend the well-known Morse-Hedlund theorem to the setting of cyclic complexity by showing that a word is ultimately periodic if and only if it has bounded cyclic complexity. Unlike most complexity functions, cyclic complexity distinguishes between Sturmian words of different slopes. We prove that if xx is a Sturmian word and yy is a word having the same cyclic complexity of x,x, then up to renaming letters, xx and yy have the same set of factors. In particular, yy is also Sturmian of slope equal to that of x.x. Since cx(n)=1c_x(n)=1 for some n1n\geq 1 implies xx is periodic, it is natural to consider the quantity lim infncx(n).\liminf_{n\rightarrow \infty} c_x(n). We show that if xx is a Sturmian word, then lim infncx(n)=2.\liminf_{n\rightarrow \infty} c_x(n)=2. We prove however that this is not a characterization of Sturmian words by exhibiting a restricted class of Toeplitz words, including the period-doubling word, which also verify this same condition on the limit infimum. In contrast we show that, for the Thue-Morse word tt, lim infnct(n)=+.\liminf_{n\rightarrow \infty} c_t(n)=+\infty.Comment: To appear in Journal of Combinatorial Theory, Series

    Horn Renamability and Hypergraphs

    Get PDF
    Satisfiability testing in the context of directed hypergraphs is discussed. A characterization of Horn-renamable formulae is given and a subclass of SAT that belongs to QTRcalPQTR{cal}{P} is described. An algorithm for Horn renaming with linear time complexity is presented

    Randomized loose renaming in O(log log n) time

    Get PDF
    International audienceRenaming is a classic distributed coordination task in which a set of processes must pick distinct identifiers from a small namespace. In this paper, we consider the time complexity of this problem when the namespace is linear in the number of participants, a variant known as loose renaming. We give a non-adaptive algorithm with O(loglogn)O( \log \log n ) (individual) step complexity, where nn is a known upper bound on contention, and an adaptive algorithm with step complexity O((loglogk)2)O( (\log \log k)^2 ), where kk is the actual contention in the execution. We also present a variant of the adaptive algorithm which requires O(kloglogk)O( k \log \log k ) \emph{total} process steps. All upper bounds hold with high probability against a strong adaptive adversary. We complement the algorithms with an Ω(loglogn)\Omega( \log \log n ) expected time lower bound on the complexity of randomized renaming using test-and-set operations and linear space. The result is based on a new coupling technique, and is the first to apply to non-adaptive randomized renaming. Since our algorithms use O(n)O(n) test-and-set objects, our results provide matching bounds on the cost of loose renaming in this setting
    corecore