ramsey_new[T: TYPE]: THEORY BEGIN IMPORTING graphs[T], subgraphs[T]
i, j: VAR T
n, p, q, ii: VAR nat
% g: VAR graph[T]
g: VAR graph[T]
V: VAR finite_set[T]
contains_clique(g, n): bool =
(EXISTS (C: finite_set[T]):
subset?(C,vert(g)) AND card(C) >= n AND
(FORALL i,j: i/=j AND C(i) AND C(j) IMPLIES edge?(g)(i,j)))
contains_indep(g, n): bool =
(EXISTS (D: finite_set[T]):
subset?(D, vert(g)) AND card(D) >= n AND
(FORALL i, j: i/=j AND D(i) AND D(j) IMPLIESNOT edge?(g)(i, j)))
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.