Table of Contents
Fetching ...

Learning Realtime One-Counter Automata

Véronique Bruyère, Guillermo A. Pérez, Gaëtan Staquet

Abstract

We present a new learning algorithm for realtime one-counter automata. Our algorithm uses membership and equivalence queries as in Angluin's L* algorithm, as well as counter value queries and partial equivalence queries. In a partial equivalence query, we ask the teacher whether the language of a given finite-state automaton coincides with a counter-bounded subset of the target language. We evaluate an implementation of our algorithm on a number of random benchmarks and on a use case regarding efficient JSON-stream validation.

Learning Realtime One-Counter Automata

Abstract

We present a new learning algorithm for realtime one-counter automata. Our algorithm uses membership and equivalence queries as in Angluin's L* algorithm, as well as counter value queries and partial equivalence queries. In a partial equivalence query, we ask the teacher whether the language of a given finite-state automaton coincides with a counter-bounded subset of the target language. We evaluate an implementation of our algorithm on a number of random benchmarks and on a use case regarding efficient JSON-stream validation.

Paper Structure

This paper contains 3 sections, 1 equation.

Theorems & Definitions (2)

  • remark thmcounterremark
  • definition thmcounterdefinition