The first and the second bullet in the examples are saying the same thing using different words. We should remove the one or the other. Leaving them like they a
| This article is rated C-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
| |||||||||||
The first and the second bullet in the examples are saying the same thing using different words. We should remove the one or the other. Leaving them like they are now would be confusing. Vitalij zad (talk) 09:54, 1 September 2012 (UTC)
Is it the case that the concept of a complement graph makes sense for simple graphs only?
It's clear that the complement is a simple graph, because the complement never connects a vertex to itself, nor does it feature two or more edges between the same pair of vertices.
Must the input graph to the complement operation also be simple?
In terms of an adjacency matrix representation, must the input matrix just have 1's and 0's, with an all zero diagonal?
If so, we can also describe the complement in terms of the adjacency matrix representation:
216.31.219.19 (talk) 19:42, 18 December 2013 (UTC)
In Complement graph#Definitions, in the following passage:
Let G = (V, E) be a simple graph and let K consist of all 2-element subsets of V. Then H = (V, K \ E) is the complement of G, where K \ E is the relative complement of E in K. For directed graphs, the complement can be defined in the same way, as a directed graph on the same vertex set, using the set of all 2-element ordered pairs of V in place of the set K in the formula above.
,
the 2nd part should be something like:
Let G = (V, D) be a simple directed graph and let T consist of all pairs of ordered pairs of elements of V of the form {(u, v), (v, u)}. Then the simple directed graph H = (V, T \ D) is the complement of G. Note: if no arrows or both arrows (u, v) and (v, u) are between u and v in G, then both arrows (u, v) and (v, u) or no arrows are between u and v in H, and vice versa.
;
shouldn't it? —JavBol (talk) 23:54, 21 January 2026 (UTC)
My proposal was to proceed pair of vertices by pair of vertices; I should have phrased it in a way like:Let G = (V, A) be a simple directed graph, let T be the ordered set of all pairs of ordered pairs of vertices in V of the form {(u, v), (v, u)}, & let D be the ordered set of all « Ø, or {(u, v)}, or {(v, u)}, or {(u, v), (v, u)} » that are in A. Then the simple directed graph H = (V, T \ D) is the complement of G.
But yes, it is uselessly complicated… Sorry!
Could I rephrase the whole passage to:
Let G = (V, E) be a simple graph and let P consist of all pairs of distinct vertices in V. Then the simple graph H = (V, P \ E) is the complement of G, where P \ E is the relative complement of E in P.
Let G = (V, A) be a simple directed graph and let O consist of all ordered pairs of distinct vertices in V. Then the simple directed graph H = (V, O \ A) is the complement of G.
,
please? —JavBol (talk) 16:25, 22 January 2026 (UTC)
The following sentence,In graphs that allow self-loops (but not multiple adjacencies), the complement of G may be defined by adding a self-loop to every vertex that does not have one in G, and otherwise using the same formula as above.
,
should be something like (underlinings just show my suggested changes):For a graph G that allows self-loops (but not multiple adjacencies), the complement of G may be defined by adding a self-loop to every vertex that does not have one in G, removing its self-loop from every vertex that has one in G, and otherwise using the same formula as above.
;
shouldn't it? —JavBol (talk) 21:41, 19 January 2026 (UTC)
Then, what about the following phrasing (underlinings just show my suggested changes):In graphs that allow self-loops (but not multiple adjacencies), the complement of a graph G may be defined by adding a self-loop to every vertex that does not have one in G, removing its self-loop from every vertex that has one in G, and otherwise using the same formula as above.
,
please? —JavBol (talk) 00:02, 23 January 2026 (UTC)
In the following sentence,Another, self-complementary definition is that they are the graphs with no induced subgraph in the form of a four-vertex path.
,
(1) the 1st comma seems to require a further comma (doesn't it?);
(2) is «they» referring to self-complementary graphs or to cographs? —JavBol (talk) 22:13, 19 January 2026 (UTC)
Another definition, but related to self-complementarity, is that a cograph is a graph with no four-vertex path as an induced subgraph.,
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.