Multipartite graph: Difference between revisions
link to complete graph |
Undid revision 674489375 by 78.15.17.100 (talk) Wrong link. In a complete graph, any two distinct vertices are adjacent; here there are non-adjacent pairs |
||
Line 22: | Line 22: | ||
[[File:3-cube t2.svg|thumb|The complete tripartite graph ''K''<sub>2,2,2</sub>, the graph of the octahedron]] |
[[File:3-cube t2.svg|thumb|The complete tripartite graph ''K''<sub>2,2,2</sub>, the graph of the octahedron]] |
||
A ''' |
A '''complete ''k''-partite graph''' is a graph that can be partitioned into ''k'' independent sets, as above, so that every pair of vertices from two different independent sets have different colors. These graphs are described by notation with a capital letter ''K'' subscripted by a sequence of the sizes of each set in the partition. For instance, ''K''<sub>2,2,2</sub> is the complete tripartite graph of a [[regular octahedron]], which can be partitioned into three independent sets each consisting of two opposite vertices. A '''complete multipartite graph''' is a graph that is complete ''k''-partite for some ''k''.<ref>{{citation |
||
| last1 = Chartrand | first1 = Gary | author1-link = Gary Chartrand |
| last1 = Chartrand | first1 = Gary | author1-link = Gary Chartrand |
||
| last2 = Zhang | first2 = Ping |
| last2 = Zhang | first2 = Ping |
Revision as of 22:10, 24 November 2015
In graph theory, a part of mathematics, a k-partite graph is a graph whose vertices are or can be partitioned into k different independent sets. Equivalently, it is a graph that can be colored with k colors, so that no two endpoints of an edge have the same color. When k = 2 these are the bipartite graphs, and when k = 3 they are called the tripartite graphs.
Bipartite graphs may be recognized in polynomial time but, for any k > 2 it is NP-complete, given an uncolored graph, to test whether it is k-partite.[1] However, in some applications of graph theory, a k-partite graph may be given as input to a computation with its coloring already determined; this can happen when the sets of vertices in the graph represent different types of objects. For instance, folksonomies have been modeled mathematically by tripartite graphs in which the three sets of vertices in the graph represent users of a system, resources that the users are tagging, and tags that the users have applied to the resources.[2]
A complete k-partite graph is a graph that can be partitioned into k independent sets, as above, so that every pair of vertices from two different independent sets have different colors. These graphs are described by notation with a capital letter K subscripted by a sequence of the sizes of each set in the partition. For instance, K2,2,2 is the complete tripartite graph of a regular octahedron, which can be partitioned into three independent sets each consisting of two opposite vertices. A complete multipartite graph is a graph that is complete k-partite for some k.[3] The Turán graphs are the special case of complete multipartite graphs in which each two independent sets differ in size by at most one vertex. Complete k-partite graphs and complete multipartite graphs are special cases of cographs, and can be recognized in polynomial time even when the partition is not supplied as part of the input.
References
- ^ Garey, M. R.; Johnson, D. S. (1979), Computers and Intractability: A Guide to the Theory of NP-Completeness, W.H. Freeman, GT4, ISBN 0-7167-1045-5.
- ^ Hotho, Andreas; Jäschke, Robert; Schmitz, Christoph; Stumme, Gerd (2006), "FolkRank : A Ranking Algorithm for Folksonomies", LWA 2006: Lernen - Wissensentdeckung - Adaptivität, Hildesheim, October 9th-11th 2006, pp. 111–114.
- ^ Chartrand, Gary; Zhang, Ping (2008), Chromatic Graph Theory, CRC Press, p. 41, ISBN 9781584888017.