This commit is contained in:
David Schirrmeister
2025-04-15 18:44:27 +02:00
parent 7c4b1939bd
commit 289623ea5a
5 changed files with 65 additions and 1 deletions

View File

@ -59,6 +59,27 @@ $|C|$
>
> Algorithmus A löse MaximusCliqueSize. Dann existiert Algorithmus B mit ähnlicher Laufzeit der MaximumClique löst.
$N(v) = \{n ∈ V | \{n,v\} ∈ E\}$
- alle Knoten, die nix mit dem zu tun haben werden entfernt
$$
\begin{array}{l}
\text{A}(G = (V, E)) \\
1.\ \text{Wähle } v \in V \text{ mit kleinster ID} \\
2.\ \text{Berechne } k = B(G) \\
3.\ \text{Berechne } k_{-v} = B(G - v) \\
4.\ \text{Falls } k_{-v} < k: \\
\quad a.\ c = A(G - v - \overline{N(v)}) \\
\quad b.\ \text{Gib } \{v\} \text{u zurück} \\
5.\ \text{Sonst:} \\
\quad a.\ c = A(G - v) \\
\quad b.\ \text{Gib } c \text{ zurück}
\end{array}
$$
**Zentrale Beobachtung**:
- Für G = (V, E) und v V sei G - v = (V\v,{e E | v !∈ e}).
- Sei k die Größe einer Clique in G und $k_{-v}$ die Größe einer größten Clique in G-v.