VL-12: P und NP Flashcards

(6 cards)

1
Q

Was ist die Worst-Case Laufzeit?

A

Die Worst-Case Laufzeit tA(n) eines Algorithmus A misst die maximale Laufzeit von A mit Eingabe n im logarithmischen Kostenmaß einer RAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Was bedeutet es, wenn ein Algorithmus polynomiell beschränkt ist?

A

Es gibt ein ɑ so das tA(n) ∈ O(n^ɑ)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Was ist Komplexitätsklasse P?

A

P ist die Klasse aller Entscheidungsprobleme, für die es einen polynomiellen Algorithmus auf einer TM gibt.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Was ist eine nicht-deterministische TM?

A

TM mit Übergangsrelation anstatt Funktion. Also mehrere Zustandsübergänge möglich

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Was ist die Komplexitätsklasse NP?

A

NP ist die Klasse der Entscheidungsprobleme, die von einer NTM in polynomieller Zeit gelöst werden können.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Wie stellt man fest ob ein Problem in NP liegt?

A

Zertifikat - Verifizierer:
- L in NP ↔ Es existiert ein deterministischer Algorithmus V (Verifizierer) und ein polynom p, für die gelten:
x in L ↔ ∃ y in {0,1}* (Zertifikat), y ≤ p(|x|): V akzeptiert y#x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly