Jump to content

User talk:208.58.69.78 and Cograph: Difference between pages

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Difference between pages)
Content deleted Content added
BOT - Notifying 208.58.69.78 of reverted link additions (matching 'rule: '\byoutube\.com' (link(s): http://www.youtube.com/watch?v=Rg7Bwm-lKLY) ') to Beat Radio (good faith remark)
 
Gioan and Paul
 
Line 1: Line 1:
[[Image:Turan 13-4.svg|thumb|The [[Turán graph]] ''T''(13,4), an example of a cograph.]]
In [[graph theory]], the class of '''cographs''' (or '''complement-reducible graphs''' , or '''P4-free graphs''') has been discovered independently by several authors since the 1970s; early references include {{harvtxt|Jung|1978}}, {{harvtxt|Lerchs|1971}}, {{harvtxt|Seinsche|1974}}, and {{harvtxt|Sumner|1974}}. The family of cographs is the smallest class of [[Graph (mathematics)|graphs]] that includes the single vertex graph <math>K_1</math> and is closed under [[Complement graph|complementation]] and [[Graph operations|disjoint union]].


See, e.g., {{harvtxt|Brandstädt|Le|Spinrad|1999}} for more detailed coverage of cographs including the facts presented here.


==Definition and characterization==
== October 2008 ==
Welcome to Wikipedia. Although everyone is welcome to contribute constructively to the encyclopedia, your addition of one or more external links to the page [[:Beat Radio]] has been reverted. Your edit [http://en.wikipedia.org/w/index.php?title=Beat_Radio&diff=244925633&oldid=238287736 here] was reverted by an automated bot that attempts to remove [[WP:NOT#REPOSITORY|unwanted links]] and [[WP:SPAM|spam]] from Wikipedia. The external link you added or changed is on my list of links to remove and probably shouldn't be included in Wikipedia. The external links I reverted were matching the following [[regex|regex rule(s)]]: rule: '\byoutube\.com' (link(s): http://www.youtube.com/watch?v=Rg7Bwm-lKLY) . If the external link you inserted or changed was to a [[Wikipedia:Media|media]] file (e.g. an [[Wikipedia:Images|image]] or a [[Wikipedia:Media help|sound or video]] file) on an external server, then note that linking to such files may be subject to Wikipedia's [[WP:COPYRIGHT|copyright policy]] and therefore probably should not be linked to. Please consider using our [[Wikipedia:Upload|upload]] facility to upload a suitable media file. If the external link you inserted or changed was to a [[blog]], [[forum]], [[free web hosting service]], or similar site, then please check the information on the external site thoroughly. Note that such sites should probably not be linked to if they contain information that is in violation of the creator's [[Wikipedia:COPYRIGHT|copyright]] (see [[Wikipedia:COPYRIGHT#Linking to copyrighted works|Linking to copyrighted works]]), or they are not written by a recognised, [[Wikipedia:Reliable sources|reliable source]]. Linking to sites that you are involved with is also strongly discouraged (see [[Wikipedia:Conflict of interest|conflict of interest]]).


Any cograph may be constructed using the following rules:
If you were trying to insert an [[Wikipedia:External links|external link]] that does comply with our [[Wikipedia:List of policies|policies]] and [[Wikipedia:List of guidelines|guidelines]], then please accept my creator's apologies and feel free to undo the bot's revert. Please read Wikipedia's [[WP:EL|external links guideline]] for more information, and consult my [[User:XLinkBot/Reversion reasons|list of frequently-reverted sites]]. For more information about me, see [[User:XLinkBot/FAQ|my FAQ page]]. Thanks! --[[User:XLinkBot|XLinkBot]] ([[User talk:XLinkBot|talk]]) 05:03, 13 October 2008 (UTC)
# any single vertex graph is a cograph;
# if <math>G</math> is a cograph, so is its complement <math>\overline{G}</math>;
# if <math>G</math> and <math>H</math> are cographs, so is their disjoint union <math>G\cup H</math>.


Several alternative characterizations of cographs can be given. Among them:
<small>If this is a shared [[IP address]], and you didn't make the edit, please ignore this notice.</small>

* A cograph is a graph which does not contain the [[path (graph theory)|path]] ''P''<sub>4</sub> on 4 vertices (and hence of length 3) as an [[induced path]]. That is, a graph is a cograph if and only if for any four vertices <math>v_1,v_2,v_3,v_4</math>, if <math>\{v_1,v_2\},\{v_2,v_3\}</math> and <math>\{v_3,v_4\}</math> are edges of the graph then at least one of <math>\{v_1,v_3\},\{v_1,v_4\}</math> or <math>\{v_2,v_4\}</math> is also an edge.
* A cograph is a graph all of whose induced subgraphs have the property that any maximal [[Clique (graph theory)|clique]] intersects any [[maximal independent set]] in a single vertex.
* A cograph is a graph in which every nontrivial induced subgraph has at least two vertices with the same neighbourhoods.
* A cograph is a graph in which every connected induced subgraph has a disconnected complement.
* A cograph is a graph all of whose connected [[induced subgraph]]s have [[diameter]] at most 2.
* A cograph is a graph in which every [[connected component (graph theory)|connected component]] is a [[distance-hereditary graph]] with diameter at most 2.
* A cograph is a graph with [[clique-width]] 2.

All [[complete graph]]s, [[complete bipartite graph]]s, [[threshold graph]]s, and [[Turán graph]]s are cographs. Every cograph is distance-hereditary, a [[comparability graph]], and [[Perfect graph|perfect]].

== Cotrees ==

[[Image:Cotree and cograph.svg|thumb|360px|A cotree and the corresponding cograph. Each edge (''u'',''v'') in the cograph has a matching color to the least common ancestor of ''u'' and ''v'' in the cotree.]]
A '''cotree''' is a tree in which the internal nodes are labeled with the numbers 0 and 1. Every cotree ''T'' defines a cograph ''G'' having the leaves of ''T'' as vertices, and in which the subtree rooted at each node of ''T'' corresponds to the [[induced subgraph]] in ''G'' defined by the set of leaves descending from that node:
* A subtree consisting of a single leaf node corresponds to an induced subgraph with a single vertex.
* A subtree rooted at a node labeled 0 corresponds to the union of the subgraphs defined by the children of that node.
* A subtree rooted at a node labeled 1 corresponds to the ''join'' of the subgraphs defined by the children of that node; that is, we form the union and add an edge between every two vertices corresponding to leaves in different subtrees. Alternatively, the join of a set of graphs can be viewed as formed by complementing each graph, forming the union of the complements, and then complementing the resulting union.
An equivalent way of describing the cograph formed from a cotree is that two vertices are connected by an edge if and only if the [[lowest common ancestor]] of the corresponding leaves is labeled by 1. Conversely, every cograph can be represented in this way by a cotree. If we require the labels on any root-leaf path of this tree to alternate between 0 and 1, this representation is unique {{harv|Corneil|Lerchs|Burlingham|1981}}.

== Computational Properties ==

Cographs may be recognized in linear time, and a cotree representation constructed, using [[modular decomposition]] {{harv|Corneil|Perl|Stewart|1985}}, [[partition refinement]] {{harv|Habib|Paul|2005}}, or [[split decomposition]] {{harv|Gioan|Paul|2008}}. Once a cotree representation has been constructed, many familiar graph problems may be solved via simple bottom-up calculations on the cotrees.

For instance, to find the [[Clique problem|maximum clique]] in a cograph, compute in bottom-up order the maximum clique in each subgraph represented by a subtree of the cotree. For a node labeled 0, the maximum clique is the maximum among the cliques computed for that node's children. For a node labeled 1, the maximum clique is the union of the cliques computed for that node's children, and has size equal to the sum of the children's clique sizes. Thus, by alternately maximizing and summing values stored at each node of the cotree, we may compute the maximum clique size, and by alternately maximizing and taking unions, we may construct the maximum clique itself. Similar bottom-up tree computations allow the [[Maximal independent set|maximum independent set]], [[Graph coloring|vertex coloring number]], maximum clique cover, and Hamiltonicity (that is the existence of a [[Hamiltonian path problem|Hamiltonian cycle]]) to be computed in linear time from a cotree representation of a cograph. One can also use cotrees to determine in linear time whether two cographs are [[graph isomorphism|isomorphic]].

== References ==

*{{Citation | last1=Brandstädt | first1=Andreas | last2=Le | first2=Van Bang | last3=Spinrad | first3=Jeremy P. | title=Graph Classes: A Survey | publisher=SIAM Monographs on Discrete Mathematics and Applications | isbn=978-0-89871-432-6 | year=1999}}.

*{{Citation | last1=Corneil | first1=D. G. | last2=Lerchs | first2=H. | last3=Burlingham | first3=L. Stewart | title=Complement reducible graphs | doi=10.1016/0166-218X(81)90013-5 | id={{MathSciNet | id = 0619603}} | year=1981 | journal=Discrete Applied Mathematics | volume=3 | pages=163–174}}.

*{{Citation | last1=Corneil | first1=D. G. | last2=Perl | first2=Y. | last3=Stewart | first3=L. K. | title=A linear recognition algorithm for cographs | doi=10.1137/0214065 | id={{MathSciNet | id = 0807891}} | year=1985 | journal=SIAM Journal on Computing | issn=1095-7111 | volume=14 | issue=4 | pages=926–934}}.

*{{Citation | last1=Giaoan | first1=Emeric | last2=Paul | first2=Christophe | title=Split decomposition and graph-labelled trees: characterizations and fully-dynamic algorithms for totally decomposable graphs | id = {{arxiv|0810.1823}} | year=2008}}.

*{{Citation | last1=Habib | first1=Michel | last2=Paul | first2=Christophe | title=A simple linear time algorithm for cograph recognition | url=http://www.lirmm.fr/~paul/Biblio/Postscript/DAM-cographs.pdf | doi=10.1016/j.dam.2004.01.011 | id={{MathSciNet | id = 2113140}} | year=2005 | journal=Discrete Applied Mathematics | volume=145 | pages=183–197}}.

*{{Citation | last1=Jung | first1=H. A. | title=On a class of posets and the corresponding comparability graphs | id={{MathSciNet | id = 0491356}} | year=1978 | journal=Journal of Combinatorial Theory, Series B | issn=0095-8956 | volume=24 | pages=125–133}}.

*{{Citation | last = Lerchs | first = H. | title = On cliques and kernels | publisher = Tech. Report, Dept. of Comp. Sci., Univ. of Toronto | year = 1971}}.

*{{Citation | last1=Seinsche | first1=S. | title=On a property of the class of ''n''-colorable graphs | id={{MathSciNet | id = 0337679}} | year=1974 | journal=Journal of Combinatorial Theory, Series B | issn=0095-8956 | pages=191–193}}.

*{{Citation | last1=Sumner | first1=D. P. | title=Dacey graphs | id={{MathSciNet | id = 0382082}} | year=1974 | journal=J. Austral. Math. Soc. | volume=18 | pages=492–502}}.

== External links ==
* {{cite web | url=http://wwwteo.informatik.uni-rostock.de/isgci/classes/gc_151.html | title=cograph graphs
| work = [http://wwwteo.informatik.uni-rostock.de/isgci/index.html Information System on Graph Class Inclusions]}}
* {{mathworld | urlname=Cograph | title=Cograph}}

[[Category:Graph families]]
[[Category:Perfect graphs]]

[[pl:Kograf]]

Revision as of 05:03, 13 October 2008

The Turán graph T(13,4), an example of a cograph.

In graph theory, the class of cographs (or complement-reducible graphs , or P4-free graphs) has been discovered independently by several authors since the 1970s; early references include Jung (1978), Lerchs (1971), Seinsche (1974), and Sumner (1974). The family of cographs is the smallest class of graphs that includes the single vertex graph and is closed under complementation and disjoint union.

See, e.g., Brandstädt, Le & Spinrad (1999) for more detailed coverage of cographs including the facts presented here.

Definition and characterization

Any cograph may be constructed using the following rules:

  1. any single vertex graph is a cograph;
  2. if is a cograph, so is its complement ;
  3. if and are cographs, so is their disjoint union .

Several alternative characterizations of cographs can be given. Among them:

  • A cograph is a graph which does not contain the path P4 on 4 vertices (and hence of length 3) as an induced path. That is, a graph is a cograph if and only if for any four vertices , if and are edges of the graph then at least one of or is also an edge.
  • A cograph is a graph all of whose induced subgraphs have the property that any maximal clique intersects any maximal independent set in a single vertex.
  • A cograph is a graph in which every nontrivial induced subgraph has at least two vertices with the same neighbourhoods.
  • A cograph is a graph in which every connected induced subgraph has a disconnected complement.
  • A cograph is a graph all of whose connected induced subgraphs have diameter at most 2.
  • A cograph is a graph in which every connected component is a distance-hereditary graph with diameter at most 2.
  • A cograph is a graph with clique-width 2.

All complete graphs, complete bipartite graphs, threshold graphs, and Turán graphs are cographs. Every cograph is distance-hereditary, a comparability graph, and perfect.

Cotrees

A cotree and the corresponding cograph. Each edge (u,v) in the cograph has a matching color to the least common ancestor of u and v in the cotree.

A cotree is a tree in which the internal nodes are labeled with the numbers 0 and 1. Every cotree T defines a cograph G having the leaves of T as vertices, and in which the subtree rooted at each node of T corresponds to the induced subgraph in G defined by the set of leaves descending from that node:

  • A subtree consisting of a single leaf node corresponds to an induced subgraph with a single vertex.
  • A subtree rooted at a node labeled 0 corresponds to the union of the subgraphs defined by the children of that node.
  • A subtree rooted at a node labeled 1 corresponds to the join of the subgraphs defined by the children of that node; that is, we form the union and add an edge between every two vertices corresponding to leaves in different subtrees. Alternatively, the join of a set of graphs can be viewed as formed by complementing each graph, forming the union of the complements, and then complementing the resulting union.

An equivalent way of describing the cograph formed from a cotree is that two vertices are connected by an edge if and only if the lowest common ancestor of the corresponding leaves is labeled by 1. Conversely, every cograph can be represented in this way by a cotree. If we require the labels on any root-leaf path of this tree to alternate between 0 and 1, this representation is unique (Corneil, Lerchs & Burlingham 1981).

Computational Properties

Cographs may be recognized in linear time, and a cotree representation constructed, using modular decomposition (Corneil, Perl & Stewart 1985), partition refinement (Habib & Paul 2005), or split decomposition (Gioan & Paul 2008). Once a cotree representation has been constructed, many familiar graph problems may be solved via simple bottom-up calculations on the cotrees.

For instance, to find the maximum clique in a cograph, compute in bottom-up order the maximum clique in each subgraph represented by a subtree of the cotree. For a node labeled 0, the maximum clique is the maximum among the cliques computed for that node's children. For a node labeled 1, the maximum clique is the union of the cliques computed for that node's children, and has size equal to the sum of the children's clique sizes. Thus, by alternately maximizing and summing values stored at each node of the cotree, we may compute the maximum clique size, and by alternately maximizing and taking unions, we may construct the maximum clique itself. Similar bottom-up tree computations allow the maximum independent set, vertex coloring number, maximum clique cover, and Hamiltonicity (that is the existence of a Hamiltonian cycle) to be computed in linear time from a cotree representation of a cograph. One can also use cotrees to determine in linear time whether two cographs are isomorphic.

References

  • Brandstädt, Andreas; Le, Van Bang; Spinrad, Jeremy P. (1999), Graph Classes: A Survey, SIAM Monographs on Discrete Mathematics and Applications, ISBN 978-0-89871-432-6.
  • Giaoan, Emeric; Paul, Christophe (2008), Split decomposition and graph-labelled trees: characterizations and fully-dynamic algorithms for totally decomposable graphs, arXiv:0810.1823.
  • Jung, H. A. (1978), "On a class of posets and the corresponding comparability graphs", Journal of Combinatorial Theory, Series B, 24: 125–133, ISSN 0095-8956, MR0491356.
  • Lerchs, H. (1971), On cliques and kernels, Tech. Report, Dept. of Comp. Sci., Univ. of Toronto.
  • Seinsche, S. (1974), "On a property of the class of n-colorable graphs", Journal of Combinatorial Theory, Series B: 191–193, ISSN 0095-8956, MR0337679.
  • Sumner, D. P. (1974), "Dacey graphs", J. Austral. Math. Soc., 18: 492–502, MR0382082.

External links