• Keine Ergebnisse gefunden

University of Bonn, Inst. for Computer Science, Dpt. I

N/A
N/A
Protected

Academic year: 2022

Aktie "University of Bonn, Inst. for Computer Science, Dpt. I"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Online Motion Planning, SS 16 Exercise sheet 10

University of Bonn, Inst. for Computer Science, Dpt. I

ˆ You can hand in your written solutions until Wednesday, 29.06., 14:15, postbox in front of room E.01 LBH.

Exercise 28: Multi-list traversal strategies (4 points) Let Λ = {l9, l3, l4, l2, l6} be a set of m = 5 lists, where li denotes the length of list i. Consider the multi-list traversal problem (mltp) and its partially and uninformed variant.

1. Computeξ(Λ). For the partially informed variant ofmltp, whichfdt- strategy is optimal w.r.t. the worst case?

2. Compute the upper bound for ξ(Λ) using the formula. Which fdt- strategy holds this bound in the average case? Is this strategy the best possible for the average case?

3. Apply breadth-first (= fdt(λm)), depth-first (= fdt(λ1)) and hyper- bolic traversal (ht) using the lists in the order given above. Record the traversal costs for each strategy on the given order, as well.

Exercise 29: Fixed-depth traversal (4 points) Let Λ be a set of m lists. In the following, consider the competitive ratio of traversal costs of the partially informed strategy fdt and a reasonable fully informed strategy. Show that the competitive ratio of breadth-first traversal (= fdt(λm)) is Ω(m) and the competitive ratio of depth-fist traversal (=

fdt(λ1)) is unbounded.

(2)

Exercise 30: Average traversal costs (4 points) Complete the proof of the upper bound ofξ(Λ). It remains to show that the expected number of lists of length greater than λk that are traversed before fdt(λk) terminates, is (m(kk+2)1) .

Hint: Model the situation as a bit-string and analyse the expected number of leading zeros.

2

Referenzen

ÄHNLICHE DOKUMENTE

Exercise 7: Exploring simple grid polygons (4 points) In the construction for the lower bound on the competitive ration of any exploration strategy for simple grid polygons we have

Exercise 22: Looking around a corner (4 points) Compute the competitive factors of the following strategies for looking around a corner, given by the vertices of the exploration

We charge a cost of 1 for an access to the fast cache (serving a request whose page is already in the cache) and a cost of s ≥ 1 for moving a page into the cache (additional cost

Exercise 4: Expected Lower Bound (4 points) In the lecture we presented a simple lower bound construction for the ex- ploration of simple gridpolygons which results in a

Exercise 12: Pebble is necessary (4 points) In the mapping model, the agent cannot recognize an already visited vertex or edge. The agent only sees the outgoing edges in a given

• You can hand in your written solutions until Wednesday, 23.5., 14:15, postbox in front of room E.01 LBH.. • We allow (and recommend) fixed groups of

Exercise 17: Variant of 2-ray search (4 points) We consider the following variant of the 2-ray search for a target point. The corresponding unknown target point t is located on two

The unknown ray has slope +∞ and runs in parallel with l see for an example Figure 2. Any reasonable strategy will first hit l at some point p. If the rays is detected the agent has