Jump to content

Threshold graph: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
OAbot (talk | contribs)
m Open access bot: doi added to citation with #oabot.
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Short description|Graph formed by adding isolated or universal vertices}}
[[Image:threshold graph.png|thumb|upright=1.2|An example of a threshold graph.]]
[[Image:threshold graph.png|thumb|upright=1.2|An example of a threshold graph.]]
In [[graph theory]], a '''threshold graph''' is a graph that can be constructed from a one-vertex graph by repeated applications of the following two operations:
In [[graph theory]], a '''threshold graph''' is a graph that can be constructed from a one-vertex graph by repeated applications of the following two operations:
#Addition of a single isolated vertex to the graph.
# Addition of a single isolated vertex to the graph.
#Addition of a single [[dominating vertex]] to the graph, i.e. a single vertex that is connected to all other vertices.
# Addition of a single [[dominating vertex]] to the graph, i.e. a single vertex that is connected to all other vertices.


For example, the graph of the figure is a threshold graph. It can be constructed by beginning with a single-vertex graph (vertex 1), and then adding black vertices as isolated vertices and red vertices as dominating vertices, in the order in which they are numbered.
For example, the graph of the figure is a threshold graph. It can be constructed by beginning with a single-vertex graph (vertex 1), and then adding black vertices as isolated vertices and red vertices as dominating vertices, in the order in which they are numbered.
Line 8: Line 9:
Threshold graphs were first introduced by {{harvtxt|Chvátal|Hammer|1977}}. A chapter on threshold graphs appears in {{harvtxt|Golumbic|1980}}, and the book {{harvtxt|Mahadev|Peled|1995}} is devoted to them.
Threshold graphs were first introduced by {{harvtxt|Chvátal|Hammer|1977}}. A chapter on threshold graphs appears in {{harvtxt|Golumbic|1980}}, and the book {{harvtxt|Mahadev|Peled|1995}} is devoted to them.


== Alternative definitions ==
==Alternative definitions==
An equivalent definition is the following: a graph is a threshold graph if there are a real number <math>S</math> and for each [[Vertex (graph theory)|vertex]] <math>v</math> a real vertex weight <math>w(v)</math> such that for any two vertices <math>v,u</math>, <math>uv</math> is an [[Glossary of graph theory#edge|edge]] if and only if <math>w(u)+w(v)> S</math>.

An equivalent definition is the following: a graph is a threshold graph if there are a real number <math>S</math> and for each [[Vertex_(graph_theory)|vertex]] <math>v</math> a real vertex weight <math>w(v)</math> such that for any two vertices <math>v,u</math>, <math>uv</math> is an [[Glossary_of_graph_theory#edge|edge]] if and only if <math>w(u)+w(v)> S</math>.
<!-- To see why the two definition are equivalent, observe that a graph constructed using the first definition is also a graph of the second definition by setting <math>S=1</math>, <math>w(u)=1</math> for vertices that were added as dominating vertices and <math>w(u)=0</math> for all other vertices. For the other direction, given <math>S</math> and <math>w</math> we can construct the same graph by starting with the graph whose only vertex is the vertex with the minimum weight and then examining all remaining vertices in order of non-decreasing weight. Each one is added as a -->
<!-- To see why the two definition are equivalent, observe that a graph constructed using the first definition is also a graph of the second definition by setting <math>S=1</math>, <math>w(u)=1</math> for vertices that were added as dominating vertices and <math>w(u)=0</math> for all other vertices. For the other direction, given <math>S</math> and <math>w</math> we can construct the same graph by starting with the graph whose only vertex is the vertex with the minimum weight and then examining all remaining vertices in order of non-decreasing weight. Each one is added as a -->


Another equivalent definition is this: a graph is a threshold graph if there are a real number <math>T</math> and for each vertex <math>v</math> a real vertex weight <math>a(v)</math> such that for any vertex set <math>X\subseteq V</math>, <math>X</math> is [[Independent_set_(graph_theory)|independent]] if and only if <math>\sum_{v \in X} a(v) \le T.</math>
Another equivalent definition is this: a graph is a threshold graph if there are a real number <math>T</math> and for each vertex <math>v</math> a real vertex weight <math>a(v)</math> such that for any vertex set <math>X\subseteq V</math>, <math>X</math> is [[Independent set (graph theory)|independent]] if and only if <math>\sum_{v \in X} a(v) \le T.</math>


The name "threshold graph" comes from these definitions: ''S'' is the "threshold" for the property of being an edge, or equivalently ''T'' is the threshold for being independent.
The name "threshold graph" comes from these definitions: ''S'' is the "threshold" for the property of being an edge, or equivalently ''T'' is the threshold for being independent.

Threshold graphs also have a [[forbidden graph characterization]]: A graph is a threshold graph if and only if it no four of its vertices form an [[induced subgraph]] that is a three-edge [[path graph]], a four-edge [[cycle graph]], or a two-edge [[matching (graph theory)|matching]].


==Decomposition==
==Decomposition==
Line 21: Line 23:


==Related classes of graphs and recognition==
==Related classes of graphs and recognition==
Threshold graphs are a special case of [[cograph]]s, [[split graph]]s, and [[trivially perfect graph]]s. Every graph that is both a cograph and a split graph is a threshold graph. Every graph that is both a trivially perfect graph and the [[Complement graph|complementary graph]] of a trivially perfect graph is a threshold graph. Threshold graphs are also a special case of [[interval graph]]s. All these relations can be explained in terms of their characterisation by forbidden induced subgraphs. A cograph is a graph with no induced path on four vertices, P<sub>4</sub>, and a threshold graph is a graph with no induced P<sub>4</sub>, C<sub>4</sub> nor 2K<sub>2</sub>. C<sub>4</sub> is a cycle of four vertices and 2K<sub>2</sub> is its complement, that is, two disjoint edges. This also explains why threshold graphs are closed under taking complements; the P<sub>4</sub> is self-complementary, hence if a graph is P<sub>4</sub>-, C<sub>4</sub>- and 2K<sub>2</sub>-free, its complement is as well.
Threshold graphs are a special case of [[cograph]]s, [[split graph]]s, and [[trivially perfect graph]]s. A graph is a threshold graph if and only if it is both a cograph and a split graph. Every graph that is both a trivially perfect graph and the [[Complement graph|complementary graph]] of a trivially perfect graph is a threshold graph. Threshold graphs are also a special case of [[interval graph]]s. All these relations can be explained in terms of their characterisation by forbidden induced subgraphs. A cograph is a graph with no induced path on four vertices, P<sub>4</sub>, and a threshold graph is a graph with no induced P<sub>4</sub>, C<sub>4</sub> nor 2K<sub>2</sub>. C<sub>4</sub> is a cycle of four vertices and 2K<sub>2</sub> is its complement, that is, two disjoint edges. This also explains why threshold graphs are closed under taking complements; the P<sub>4</sub> is self-complementary, hence if a graph is P<sub>4</sub>-, C<sub>4</sub>- and 2K<sub>2</sub>-free, its complement is as well.


{{harvtxt|Heggernes|Kratsch|2007}} showed that threshold graphs can be recognized in linear time; if a graph is not threshold, an obstruction (one of P<sub>4</sub>, C<sub>4</sub>, or 2K<sub>2</sub>) will be output.
{{harvtxt|Heggernes|Kratsch|2007}} showed that threshold graphs can be recognized in linear time; if a graph is not threshold, an obstruction (one of P<sub>4</sub>, C<sub>4</sub>, or 2K<sub>2</sub>) will be output.


==See also==
==See also==
*[[Indifference graph]]
* [[Indifference graph]]
*[[Series-parallel graph]]
* [[Series–parallel graph]]
*Threshold hypergraphs<ref>{{Cite journal|last1=Reiterman|first1=Jan|last2=Rödl|first2=Vojtěch|last3=Šiňajová|first3=Edita|last4=Tůma|first4=Miroslav|date=1985-04-01|title=Threshold hypergraphs|url=https://dx.doi.org/10.1016/0012-365X%2885%2990080-9|journal=Discrete Mathematics|language=en|volume=54|issue=2|pages=193–200|doi=10.1016/0012-365X(85)90080-9|issn=0012-365X|doi-access=free}}</ref>


==References==
==References==
{{Reflist}}
*{{citation
*{{citation
| last1 = Chvátal | first1 = Václav | author1-link = Václav Chvátal
| last1 = Chvátal | first1 = Václav | author1-link = Václav Chvátal
Line 54: Line 58:
| last1 = Heggernes | first1 = Pinar | author1-link = Pinar Heggernes
| last1 = Heggernes | first1 = Pinar | author1-link = Pinar Heggernes
| last2 = Kratsch | first2 = Dieter
| last2 = Kratsch | first2 = Dieter
| issue = 1-2
| issue = 1–2
| journal = Nordic Journal of Computing
| journal = Nordic Journal of Computing
| mr = 2460558
| mr = 2460558

Latest revision as of 17:40, 29 January 2023

An example of a threshold graph.

In graph theory, a threshold graph is a graph that can be constructed from a one-vertex graph by repeated applications of the following two operations:

  1. Addition of a single isolated vertex to the graph.
  2. Addition of a single dominating vertex to the graph, i.e. a single vertex that is connected to all other vertices.

For example, the graph of the figure is a threshold graph. It can be constructed by beginning with a single-vertex graph (vertex 1), and then adding black vertices as isolated vertices and red vertices as dominating vertices, in the order in which they are numbered.

Threshold graphs were first introduced by Chvátal & Hammer (1977). A chapter on threshold graphs appears in Golumbic (1980), and the book Mahadev & Peled (1995) is devoted to them.

Alternative definitions

[edit]

An equivalent definition is the following: a graph is a threshold graph if there are a real number and for each vertex a real vertex weight such that for any two vertices , is an edge if and only if .

Another equivalent definition is this: a graph is a threshold graph if there are a real number and for each vertex a real vertex weight such that for any vertex set , is independent if and only if

The name "threshold graph" comes from these definitions: S is the "threshold" for the property of being an edge, or equivalently T is the threshold for being independent.

Threshold graphs also have a forbidden graph characterization: A graph is a threshold graph if and only if it no four of its vertices form an induced subgraph that is a three-edge path graph, a four-edge cycle graph, or a two-edge matching.

Decomposition

[edit]

From the definition which uses repeated addition of vertices, one can derive an alternative way of uniquely describing a threshold graph, by means of a string of symbols. is always the first character of the string, and represents the first vertex of the graph. Every subsequent character is either , which denotes the addition of an isolated vertex (or union vertex), or , which denotes the addition of a dominating vertex (or join vertex). For example, the string represents a star graph with three leaves, while represents a path on three vertices. The graph of the figure can be represented as

[edit]

Threshold graphs are a special case of cographs, split graphs, and trivially perfect graphs. A graph is a threshold graph if and only if it is both a cograph and a split graph. Every graph that is both a trivially perfect graph and the complementary graph of a trivially perfect graph is a threshold graph. Threshold graphs are also a special case of interval graphs. All these relations can be explained in terms of their characterisation by forbidden induced subgraphs. A cograph is a graph with no induced path on four vertices, P4, and a threshold graph is a graph with no induced P4, C4 nor 2K2. C4 is a cycle of four vertices and 2K2 is its complement, that is, two disjoint edges. This also explains why threshold graphs are closed under taking complements; the P4 is self-complementary, hence if a graph is P4-, C4- and 2K2-free, its complement is as well.

Heggernes & Kratsch (2007) showed that threshold graphs can be recognized in linear time; if a graph is not threshold, an obstruction (one of P4, C4, or 2K2) will be output.

See also

[edit]

References

[edit]
  1. ^ Reiterman, Jan; Rödl, Vojtěch; Šiňajová, Edita; Tůma, Miroslav (1985-04-01). "Threshold hypergraphs". Discrete Mathematics. 54 (2): 193–200. doi:10.1016/0012-365X(85)90080-9. ISSN 0012-365X.
[edit]