In
automata theory
Automata theory is the study of abstract machines and automata, as well as the computational problems that can be solved using them. It is a theory in theoretical computer science. The word ''automata'' comes from the Greek word αὐτόματο� ...
, an alternating timed automaton (ATA) is a mix of both
timed automaton In automata theory, a timed automaton is a finite automaton extended with a finite set of real-valued clocks. During a run of a timed automaton, clock values increase all with the same speed. Along the transitions of the automaton, clock values can ...
and
alternating finite automaton In automata theory, an alternating finite automaton (AFA) is a nondeterministic finite automaton whose transitions are divided into ''existential'' and ''universal'' transitions. For example, let ''A'' be an alternating automaton.
* For an existenti ...
. That is, it is a sort of automata which can measure time and in which there exists universal and existential transition.
ATAs are more expressive than timed automaton. one clock alternating timed automaton (OCATA) is the restriction of ATA allowing the use of a single clock. OCATAs allow to express
timed language In model checking, a subfield of computer science, a timed word is an extension of the notion of words, in a formal language, in which each letter is associated with a positive time tag. The sequence of time tag must be non-decreasing, which intuiti ...
s which can not be expressed using timed-automaton.
Definition
An alternating timed automaton is defined as a timed automaton, where the transitions are more complex.
Difference from a timed-automaton
Given a set
, let
the set of positive Boolean combination of elements of
. I.e. the set containing the elements of
, and containing
and
, for
.
For each letter
and location
, let
be a set of clock constraints such that their
zones
Zone or The Zone may refer to:
Places Climate and altitude zones
* Death zone (originally the lethal zone), altitudes above a certain point where the amount of oxygen is insufficient to sustain human life for an extended time span
* Frigid zone, ...
partition
, with
the number of clocks. Given a clock valuation
, let
be the only clock constraint of
which is satisfied by
.
An alternating timed-automaton contains a transition function, which associates to a 3-tuple
, with
, to an element of
.
For example,
is an element of
. Intuitively, it means that the run may either continue by moving to location
, and resetting no clock. Or by moving to location
and should be successful when either
or
is reset.
Formal definition
Formally, an alternating timed automaton is a tuple
that consists of the following components:
* Σ is a finite set called the alphabet or actions of
.
*
is a
finite set
In mathematics, particularly set theory, a finite set is a set that has a finite number of elements. Informally, a finite set is a set which one could in principle count and finish counting. For example,
:\
is a finite set with five elements. ...
. The elements of
are called the locations or states of
.
*
is a finite set called the ''
clocks
A clock or a timepiece is a device used to measure and indicate time. The clock is one of the oldest human inventions, meeting the need to measure intervals of time shorter than the natural units such as the day, the lunar month and th ...
'' of
.
*
is the set of start locations.
*
is the set of accepting locations.
*
is the transitions function of
. It is a partial function, defined as explained in the previous section.
Any Boolean expression can be rewritten into an equivalent expression in
disjunctive normal form
In boolean logic, a disjunctive normal form (DNF) is a canonical normal form of a logical formula consisting of a disjunction of conjunctions; it can also be described as an OR of ANDs, a sum of products, or (in philosophical logic) a ''cluster co ...
. In the representation of a ATA, each disjunction is represented by a different arrow. Each conjunct of a disjunction is represented by a set of arrows with the same tail and multiple heads. The tail is labelled by the letter and each head is labelled by the set of clocks it resets.
Run
We now define a run of an alternating timed automaton over a timed word
. There are two equivalent way to define a run, either as a tree or as a
game
A game is a structured form of play, usually undertaken for entertainment or fun, and sometimes used as an educational tool. Many games are also considered to be work (such as professional players of spectator sports or games) or art (su ...
.
Run as a tree
In this definition of a run, a run is not anymore a list of pairs, but a
rooted tree
In graph theory, a tree is an undirected graph in which any two vertices are connected by ''exactly one'' path, or equivalently a connected acyclic undirected graph. A forest is an undirected graph in which any two vertices are connected by ' ...
. The node of the trooted tree are labelled by pairs with a location and a clock valuation. The tree is defined as follows:
* the root of the tree is of the form
with
,
* Consider a node
of the tree at depth
, with label
. Without loss of generality, let us assume that
is in
disjunctive normal form
In boolean logic, a disjunctive normal form (DNF) is a canonical normal form of a logical formula consisting of a disjunction of conjunctions; it can also be described as an OR of ANDs, a sum of products, or (in philosophical logic) a ''cluster co ...
, i.e. it is of the form
. Then the node
has
children, for some
. The
-th child is labelled by