• Keine Ergebnisse gefunden

Exercise 9.1 Tree Decoration (with LTL and Automata)

N/A
N/A
Protected

Academic year: 2021

Aktie "Exercise 9.1 Tree Decoration (with LTL and Automata)"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Applied Automata Theory (WS 2013/2014) Technische Universit¨ at Kaiserslautern

Exercise Sheet 9

Jun.-Prof. Roland Meyer, Georgel Calin Due: Tue, Jan 7

Exercise 9.1 Tree Decoration (with LTL and Automata)

Consider the following rules to decorate Christmas trees with ornament balls and candles:

ϕ 1 : Whenever a ball is added to the tree, a candle will be added sometime later.

ϕ 2 : Whenever a candle is added to the tree, a ball is added immediately after.

Translate the above rules into generalized B¨ uchi automata by doing the following:

(a) Translate the rules into LTL formulas.

(b) Construct the corresponding GNBAs.

Optional: forward the exercise to your friends if they find it hard to decorate their tree.

Exercise 9.2 Travelling Santa (with Pushdown Systems)

Santa Claus realised that the performant sleigh he acquired last year will be more helpful if he also swaps his old-fashioned bag for the brand new State-of-the-art Santa Carryall equipped with the latest present distribution system Pushdown Knapsack v0.(9)beta which can be linked to Santa’s presents factory at the North Pole.

After contacting the producers of the State-of-the-art Santa Carryall it was revealed the Pushdown Knapsack is a pushdown automaton over Σ = {b(biscuit), c(oal), g(ift)}:

q sleigh

q naughty q nice

b/cb b/g

b/

c/b

b/

g/bb

Depending on whether Santa visits a naughty or a nice child, the Pushdown Knapsack exchanges biscuits, coal, and gifts as depicted above.

Help Santa find what can be the initial content of his State-of-the-art Santa Carryall by computing A pre

(C) for C = {(q naughty , c), (q nice , g)}.

Merry Christmas and a Happy New Year!

Referenzen

ÄHNLICHE DOKUMENTE

An important indicator of gross national happiness is, therefore, the level of harmony among the people in the country.. Harmony heals and

Practically all Egyptian rulers following the first period of Persian rule - that is every ruler whose name was actually mentioned in the text at all - are subject to

Santa Claus bringt es vorbei, auch das Rentier ist dabei, doch es zieht den Schlitten nicht, weil ihm sonst sein Rückgrat bricht!. Es sitzt neben Santa Claus und sieht

In October 1994, Senate Resolution 78 and House Resolution 308 urged the Russian Federa- tion “to adhere to the provisions of the agreement initiated on August 10, 1994, to provide for

with Byan c'ub rgyal mts'an. 6) At this meeting the dpon e'en ofthe sa skya.. Bu ston, Politics and Religion 319. armies and the p'ag mo grupa rebel make up their differences and

With much of this work having been carried out in academia, actual catalyst recovery and recycling have been investigated and reported only in a portion of this expanding body

For the presentation I would start with the Scientific Members of the SIAC, two of whom, emeritus professors of international re- nown, have studied Antiquity through

To abort a file transfer, use the terminal interrupt key (usually Ctrl-C). The sending of transfers is immed~ately halted. The receiving of transfers is halted