A note on Karr's algorithm

Markus Müller-Olm, Helmut Seidl

Research output: Chapter in Book/Report/Conference proceedingChapterpeer-review

65 Scopus citations

Abstract

We give a simple formulation of Karr's algorithm for computing all affine relationships in affine programs. This simplified algorithm runs in time script O sign(nk3) where n is the program size and k is the number of program variables assuming unit cost for arithmetic operations. This improves upon the original formulation by a factor of k. Moreover, our re-formulation avoids exponential growth of the lengths of intermediately occurring numbers (in binary representation) and uses less complicated elementary operations. We also describe a generalization that determines all polynomial relations up to degree d in time script O sign(nk3d).

Original languageEnglish
Title of host publicationLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
EditorsJosep Díaz, Juhani Karhumäki, Arto Lepistö, Donald Sannella
PublisherSpringer Verlag
Pages1016-1028
Number of pages13
ISBN (Print)3540228497
DOIs
StatePublished - 2004

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume3142
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Fingerprint

Dive into the research topics of 'A note on Karr's algorithm'. Together they form a unique fingerprint.

Cite this