open access publication

Article, 2024

The complexity of evaluating nfer

Science of Computer Programming, ISSN 0167-6423, 1872-7964, Volume 231, Page 103012, 10.1016/j.scico.2023.103012

Contributors

Kauffman, Sean 0000-0001-6341-3898 (Corresponding author) [1] Zimmermann, Martin 0000-0002-8038-2453 (Corresponding author) [1]

Affiliations

  1. [1] Aalborg University
  2. [NORA names: AAU Aalborg University; University; Denmark; Europe, EU; Nordic; OECD]

Abstract

Nfer is a rule-based language for abstracting event streams into a hierarchy of intervals with data. Nfer has multiple implementations and has been applied in the analysis of spacecraft telemetry and autonomous vehicle logs. This work provides the first complexity analysis of nfer evaluation, i.e., the problem of deciding whether a given interval is generated by applying rules. We show that the full nfer language is undecidable and that this depends on both recursion in the rules and an infinite data domain. By restricting either or both of those capabilities, we obtain tight decidability results. We also examine the impact on complexity of exclusive rules and minimality. For the most practical case, which is minimality with finite data, we provide a polynomial-time algorithm.

Keywords

NFER, algorithm, analysis, autonomous vehicles, capability, cases, complex, complexity analysis, data, data domain, decidability results, domain, evaluation, events, finite data, i., impact, implementation, interval, language, minimization, polynomial-time algorithm, practical case, problem, recursion, results, rule-based language, rules, spacecraft telemetry, telemetry, vehicle

Funders

  • European Research Council
  • The Velux Foundations

Data Provider: Digital Science