The BERLEKAMP-MASSEY-SAKATA algorithm and the scalar-fglm algorithm both compute the ideal of relations of a multidimensional linear recurrent sequence. Whenever quering a single sequence element is prohibitive, the b...
详细信息
The BERLEKAMP-MASSEY-SAKATA algorithm and the scalar-fglm algorithm both compute the ideal of relations of a multidimensional linear recurrent sequence. Whenever quering a single sequence element is prohibitive, the bottleneck of these algorithms becomes the computation of all the needed sequence terms. As such, having adaptive variants of these algorithms, reducing the number of sequence queries, becomes mandatory. A native adaptive variant of the scalar-fglm algorithm was presented by its authors, the so-called Adaptive scalar-fglmalgorithm. In this paper, our first contribution is to make the BERLEKAMP MASSEY-SAKATA algorithm more efficient by making it adaptive to avoid some useless relation testings. This variant allows us to divide by four in dimension 2 and by seven in dimension 3 the number of basic operations performed on some sequence family. Then, we compare the two adaptive algorithms. We show that their behaviors differ in a way that it is not possible to tweak one of the algorithms in order to mimic exactly the behavior of the other. We detail precisely the differences and the similarities of both algorithms and conclude that in general the ADAPTIVE scalar-fglmalgorithm needs fewer queries and performs fewer basic operations than the Adaptive BERLEKAMP-MASSEY-SAKATA algorithm. We also show that these variants are always more efficient than the original algorithms. (C) 2019 Elsevier Ltd. All rights reserved.
暂无评论