Efficient Predicate Evaluation Using Randomized Degeneracy Detection
Autor: | Victor Milenkovic, Elisha Sacks |
---|---|
Rok vydání: | 2022 |
Předmět: | |
Zdroj: | International Journal of Computational Geometry & Applications. 32:39-54 |
ISSN: | 1793-6357 0218-1959 |
DOI: | 10.1142/s0218195922500054 |
Popis: | Computational geometry algorithms branch on the signs of predicates. Prior predicate evaluation techniques are slow on degenerate (zero sign) predicates, especially on predicates on algebraic numbers. Degeneracy is common for predicates whose arguments have common antecedents. We present three randomized algorithms for degeneracy detection. The first algorithm uses modular arithmetic to detect degenerate predicates on rational numbers. The second algorithm uses quotient rings to reduce detecting degenerate predicates on algebraic numbers to multiple rational predicates, which can be evaluated deterministically or using the first algorithm. This algorithm is impractical because it is exponential in the number of algebraic numbers, yet it is still much faster than prior work that uses root separation bounds. The third algorithm uses a perturbation to eliminate degenerate algebraic predicates that are not identical to zero and a second perturbation to detect those that are. The first and third algorithms are incorporated into an exact geometric computation library. By sampling values generated by the algorithms, the library estimates the degeneracy detection failure probability over the lifetime of every calling program. We call this approach statistical degeneracy detection (SDD). Extensive testing shows that predicate evaluation is reliable and fast. |
Databáze: | OpenAIRE |
Externí odkaz: |