• Keine Ergebnisse gefunden

Problem Set 12

N/A
N/A
Protected

Academic year: 2022

Aktie "Problem Set 12"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Institut f¨ur Informatik Prof. Dr. Heiko R¨oglin Dr. Melanie Schmidt

Randomized Algorithms and Probabilistic Analysis Summer 2016

Problem Set 12

Problem 1

Recall the following instance from problem set 11.

s t

1,0

T,1 T,1

T,1 T,1

1. Give a short proof that choosing the costs of all five edges according to independent density functions fe : [0,1] → [0, φ] implies that the SSP algorithm converges in a constant number of steps for any integerT. Only use Property 8.9.

2. Give an even shorter proof that uses Property 8.9 and Corollary 8.3.

3. Extend your proof from 2. to arbitrary input graphs of constant size.

Problem 2

Let G = (V, E) be an undirected complete graph and let c : E → [0,1] be a cost function that assigns a costce to eache∈E. We consider the following problem, which we callrooted k-MST: GivenG, a vertexr ∈V and a numberk∈ {1, . . . ,|V|}, find a tree in Gthat spans exactlyk vertices, including r, and has minimal cost.

LetT = (V, E0) be a tree inG. A pair of edges{e, f}withe∈E0, f /∈E0 is animproving pair iff T ∪ {f}\{e} is a tree that contains r and ∆(e, f) :=ce−cf >0. Consider the following algorithm for the rootedk-MST problem:

1. Start with an arbitrary treeT that spanskvertices, including r.

2. While an improving pair{e, f} exists, 2.1 removeefrom T, addf toT.

3. OutputT.

Assume that all ce are φ-perturbed numbers (from [0,1]). Analyze the expected number of iterations of this algorithm similarly to Theorem 9.4.

Referenzen

ÄHNLICHE DOKUMENTE

Keywords— Multiconstrained 0–1 Knapsack Problem, hy- brid Genetic Algorithm, pre-optimized initialization, local improvement.. The sig- nificant difference to general 0–1

For not only are they able to give free reign to their imagination and creativity to create the kind of algorithm visualization they want, their construction

F¨ ur die erste Person kann der Geburtstag frei gew¨ ahlt werden, f¨ ur die zweite gibt es dann 364 Tage, an denen die erste nicht Geburtstag hat, etc... that the maximum is sharp

We consider the change of coor- dinates on the surface from (x, z) to (y, z) and use the properties of Jacobi deter- minants established previously (see Eq.. (8) from the exercise

Berechnen Sie die Arbeit, die vom System in jedem Schritt geleistet wird und die W¨ arme, die vom Gas w¨ arend der isothermen Expansion (Kompression) aufgenommen (abgegeben) wird..

Die Schließungseigenschaft ergibt sich daraus, dass die sukzessive Spiegelung an einer ungeraden Anzahl kopunktaler Geraden auf eine einzige Geradenspiegelung reduziert

Wir wählen ein (unregelmäßiges) n-Eck A 0 …A n−1 und einen beliebigen Punkt M... Das beweist die

Return of the exercise sheet: 14.Nov.2019 during the exercise