Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Interval graph
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Efficient recognition algorithm == Determining whether a given graph <math>G=(V,E)</math> is an interval graph can be done in <math>O(|V|+|E|)</math> time by seeking an ordering of the maximal cliques of <math>G</math> that is consecutive with respect to vertex inclusion. Many of the known algorithms for this problem work in this way, although it is also possible to recognize interval graphs in linear time without using their cliques.{{sfnp|Hsu|1992}} The original linear time recognition algorithm of {{harvtxt|Booth|Lueker|1976}} is based on their complex [[PQ tree]] data structure, but {{harvtxt|Habib|McConnell|Paul|Viennot|2000}} showed how to solve the problem more simply using [[lexicographic breadth-first search]], based on the fact that a graph is an interval graph if and only if it is [[Chordal graph|chordal]] and its [[complement (graph theory)|complement]] is a [[comparability graph]].<ref>{{harvtxt|Fishburn|1985}}; {{harvtxt|Golumbic|1980}}</ref> A similar approach using a 6-sweep LexBFS algorithm is described in {{harvtxt|Corneil|Olariu|Stewart|2009}}.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)