# 区间图

区间图是实数轴上的一族区间的[相交图](https://www.edgepedia.org/zh/intersection-graph)：图的每个顶点对应一个区间，两个顶点相邻当且仅当它们的区间交集非空。这族区间称为该图的一个区间表示。<sup>[1](https://www.cs.uoi.gr/~loukas/courses/grad/Algorithmic_Graph_Theory/index.files/Booth-Lueker-PQtrees.pdf)</sup> 该类图最早在哈约什（Hajós）1957年的一篇论文中得到研究，此后成为算法图论中分析得最为透彻的图族之一。<sup>[2](https://epubs.siam.org/doi/abs/10.1137/1.9780898719802.ch3)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 实数轴上区间的相交图；相邻顶点对应相交的区间<sup>[1](https://www.cs.uoi.gr/~loukas/courses/grad/Algorithmic_Graph_Theory/index.files/Booth-Lueker-PQtrees.pdf)</sup> |
| 最早研究 | 哈约什，1957年；标准参考文献包括罗伯茨（Roberts，1976）和戈伦比克（Golumbic，1980）<sup>[2](https://epubs.siam.org/doi/abs/10.1137/1.9780898719802.ch3)</sup> |
| 结构刻画 | 弦图且无星形三元组（Lekkerkerker 与 Boland）<sup>[3](https://webdocs.cs.ualberta.ca/~stewart/Pubs/IntervalSIAM.pdf)</sup> |
| 矩阵刻画 | 支配团-顶点矩阵的列具有连续1性质（Fulkerson 与 Gross）<sup>[1](https://www.cs.uoi.gr/~loukas/courses/grad/Algorithmic_Graph_Theory/index.files/Booth-Lueker-PQtrees.pdf)</sup> |
| 识别 | 线性时间，n个顶点e条边时为O(n + e)，最早由 Booth 与 Lueker 用PQ树实现<sup>[1](https://www.cs.uoi.gr/~loukas/courses/grad/Algorithmic_Graph_Theory/index.files/Booth-Lueker-PQtrees.pdf)</sup> |
| 完美性 | 区间图是完美图：图及其每个诱导子图的色数等于团数<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC4578824/)</sup> |
| 优化 | 最大独立集、最大团和最小团覆盖可借助区间表示在O(n log n)时间内求解，若端点已排序则为O(n)<sup>[5](https://onlinelibrary.wiley.com/doi/abs/10.1002/net.3230120410)</sup> |

## 定义与基本结构

给定直线上一个有限区间集合，为每个区间关联一个顶点，当且仅当对应区间至少部分重叠时在两顶点间连边。端点的数值不影响图本身，只有重叠模式才是重要的。<sup>[6](https://cse.unl.edu/~sscott/teach/Classes/cse496F00/projects/bipartite-interv.shtml)</sup> 表示可以使用闭区间、开区间，甚至长度为零的单点区间；图论学家、SIAM专著《相交图论专题》（*Topics in Intersection Graph Theory*）的作者麦基（McKee）与麦克莫里斯（McMorris）给出了一个六顶点图的例子，由闭区间[1,4]、[1,1]、[1,2]、[2,3]、[3,4]和[4,4]表示。<sup>[2](https://epubs.siam.org/doi/abs/10.1137/1.9780898719802.ch3)</sup>

由于路径的子路径满足Helly性质，每个区间图都容许一个团路径表示：其极大团可以排列在一条路径上，使得包含任一给定顶点的团构成一段连续子路径。<sup>[2](https://epubs.siam.org/doi/abs/10.1137/1.9780898719802.ch3)</sup> 由于路径是树，每个区间图都是弦图，即不含长度大于三的诱导圈；4-圈C₄便是一个不是区间图的简单例子。<sup>[2](https://epubs.siam.org/doi/abs/10.1137/1.9780898719802.ch3)</sup>

## 刻画

若干等价刻画同时支撑着理论与识别算法。

**弦图且无AT。** Lekkerkerker 与 Boland 证明了：一个图是区间图当且仅当它是弦图且不含星形三元组，其中星形三元组是一个独立三元组，使得每对顶点之间存在一条避开第三个顶点的闭邻域的路径。<sup>[3](https://webdocs.cs.ualberta.ca/~stewart/Pubs/IntervalSIAM.pdf)</sup> 等价地说，区间图恰好是既弦又无AT的图。<sup>[7](https://link.springer.com/article/10.1007/s00453-021-00822-x)</sup>

**连续1性质。** Fulkerson 与 Gross 证明了：一个图是区间图当且仅当其支配团-顶点矩阵（每个极大团一行、每个顶点一列）对列具有连续1性质：可以置换各行，使每列中的1连续出现。<sup>[1](https://www.cs.uoi.gr/~loukas/courses/grad/Algorithmic_Graph_Theory/index.files/Booth-Lueker-PQtrees.pdf)</sup> 一个相关的排序定理指出，一个图是区间图当且仅当其极大团可以线性排序，使得对每个顶点，包含它的极大团连续出现；这一定理一直是大多数识别算法的主力工具。<sup>[3](https://webdocs.cs.ualberta.ca/~stewart/Pubs/IntervalSIAM.pdf)</sup>

**Gilmore 与 Hoffman。** Gilmore 与 Hoffman 1964年的定理将区间图刻画为其补图是比较图的弦图。<sup>[8](https://www.sciencedirect.com/science/article/pii/S0167506004800499)</sup> 区间图也是区间序（一种偏序，其中每个元素用一个区间表示，当区间u完全位于区间v左侧时u先于v）的不可比较图。<sup>[9](https://www.sciencedirect.com/science/article/abs/pii/S0012365X22001418)</sup>

## 识别算法

基于上述三种刻画的早期识别算法，对n个顶点的最坏情况运行时间至少为O(n²)。Booth 与 Lueker 于1976年利用PQ树将复杂度降至O(n + e)，PQ树是一种在线性时间内检验连续1性质并产生所需行置换的数据结构。<sup>[1](https://www.cs.uoi.gr/~loukas/courses/grad/Algorithmic_Graph_Theory/index.files/Booth-Lueker-PQtrees.pdf)</sup> 他们的算法先检验弦性，再对支配团矩阵运行连续1检验；副产品是一棵约简PQ树，其叶为支配团，可作为规范表示，并支持区间图的O(n + e)同构检验。<sup>[1](https://www.cs.uoi.gr/~loukas/courses/grad/Algorithmic_Graph_Theory/index.files/Booth-Lueker-PQtrees.pdf)</sup>

PQ树方法被描述为实现起来颇为复杂。大约十年后，Korte 与 Möhring 用MPQ树（一种改进的PQ树变体）对其进行了简化，采用逐个添加顶点的增量算法，添加顶点u的摊还时间为O(|Adj(u)| + 1)。<sup>[10](https://epubs.siam.org/doi/10.1137/0218005)</sup> 后来 Hsu 与 McConnell 引入PC树进一步简化操作，Kratsch、McConnell、Mehlhorn 和 Spinrad 修改了MPQ树算法，得到一种可认证的识别算法，即对其答案输出证据的算法；其非成员证书可在O(|V|)时间内验证。<sup>[3](https://webdocs.cs.ualberta.ca/~stewart/Pubs/IntervalSIAM.pdf)</sup><sup> • </sup><sup>[11](https://epubs.siam.org/doi/abs/10.1137/S0097539703437855)</sup> Corneil、Olariu 和 Stewart 证明了区间图在字典序广度优先搜索（LBFS）下具有丰富的结构——LBFS是 Rose、Tarjan 和 Lueker 于1976年为[弦图](https://www.edgepedia.org/zh/chordal-graph)识别而提出的一种搜索范式——并利用它设计了一种线性时间识别算法，先做预处理扫描，再进行五次带特定破平规则的LBFS扫描。<sup>[3](https://webdocs.cs.ualberta.ca/~stewart/Pubs/IntervalSIAM.pdf)</sup> 基于完美消除序的并行计算，人们还开发了识别区间图和检验区间图同构的高效并行算法。<sup>[12](https://epubs.siam.org/doi/10.1137/S0097539789166880)</sup>

## 算法性质

区间图是完美图：对图及其每个诱导子图，色数等于最大团的规模。<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC4578824/)</sup> 这一性质使着色问题可高效求解。对于以区间族形式给出的区间图，最大独立集、用不相交团的最小覆盖以及最大团均可在O(n log n)时间内找到，若区间端点已排序则为O(n)时间。<sup>[5](https://onlinelibrary.wiley.com/doi/abs/10.1002/net.3230120410)</sup> 许多在一般图上NP难的问题，包括可着色性、团、独立集和哈密顿圈，在区间图上都变成多项式时间可解，有些甚至线性时间可解。<sup>[13](https://drops.dagstuhl.de/storage/00lipics/lipics-vol283-isaac2023/LIPIcs.ISAAC.2023.8/LIPIcs.ISAAC.2023.8.pdf)</sup>

该类图本身之外也有强结构推论。不含星形三元组的图的每个极小三角剖分都已是区间图，这意味着无AT图的树宽等于其路径宽，其最小填充等于其区间完成数。<sup>[14](https://www.sciencedirect.com/science/article/pii/0166218X95000959)</sup> 另一方面，求任意输入图的最小规模区间超图（即区间图完成问题）是NP完全的；Agrawal、Klein 和 Ravi 于1991年给出了该问题的首批多项式时间近似算法，解在最优解的多对数因子之内。<sup>[15](https://cs.brown.edu/research/pubs/techreports/reports/CS-91-18.html)</sup>

## 应用

区间图建模涉及时间依赖或其他线性限制的情形，已有数十篇论文描述了其在考古学、生物学、心理学、社会学、管理学、遗传学、工程学、调度和交通运输等领域的应用。<sup>[3](https://webdocs.cs.ualberta.ca/~stewart/Pubs/IntervalSIAM.pdf)</sup>

**分子生物学。** [Seymour Benzer](https://www.edgepedia.org/zh/seymour-benzer) 于1959年用区间图建模基因内部子元件上的重叠数据，追问细菌DNA片段重叠数据是否与基因呈线性排列相一致；这等价于问重叠图是否为区间图。<sup>[3](https://webdocs.cs.ualberta.ca/~stewart/Pubs/IntervalSIAM.pdf)</sup><sup> • </sup><sup>[6](https://cse.unl.edu/~sscott/teach/Classes/cse496F00/projects/bipartite-interv.shtml)</sup> 后来的工作将 Gilmore-Hoffman 构造应用于从消化数据测序蛋白质，并有实现区间图算法的计算机程序。<sup>[16](https://pubmed.ncbi.nlm.nih.gov/7139088/)</sup> 在限制性图谱中，当DNA分子被两种限制酶消化时，所得片段的区间图是二部区间图，即顶点可分为两个独立集的区间图。<sup>[6](https://cse.unl.edu/~sscott/teach/Classes/cse496F00/projects/bipartite-interv.shtml)</sup> 探针区间图是只要求涉及指定探针顶点的边对应区间相交的一种扩展，为人类染色体的物理作图而引入；将目标顶点集取空便回到普通区间图。<sup>[17](https://archive.dimacs.rutgers.edu/Workshops/DNAMapping/abstracts/dna33.html)</sup>

**调度与编译器。** 将具有固定时段的报告分配到最少数量的房间是区间图上的着色问题，区间调度问题一般等价于区间图着色，应用包括车队规划、飞机维护调度、印刷电路板制造和教室分配。<sup>[18](https://www.sciencedirect.com/science/article/pii/S0377221722001679)</sup> 在编译器优化中，程序变量的活跃期在时间上构成区间，因此具有连续生命期的变量的干涉图是区间图；寄存器分配随之成为着色问题，列表着色表述利用区间结构为异构寄存器组架构寻找最优分配。<sup>[19](https://www.sciencedirect.com/science/article/pii/S0165168403000896)</sup>

## 子类与推广

**单位区间图与真区间图。** 单位区间图具有每个区间长度相同的表示；它们恰好是无爪区间图，等价地也是不含爪、帐篷、网或长度至少为4的诱导圈的图。<sup>[13](https://drops.dagstuhl.de/storage/00lipics/lipics-vol283-isaac2023/LIPIcs.ISAAC.2023.8/LIPIcs.ISAAC.2023.8.pdf)</sup> 真区间图具有没有区间真包含另一个区间的表示，真区间图类与单位区间图类重合。<sup>[13](https://drops.dagstuhl.de/storage/00lipics/lipics-vol283-isaac2023/LIPIcs.ISAAC.2023.8/LIPIcs.ISAAC.2023.8.pdf)</sup>

**多重区间图。** d-区间是实数轴上d个不相交区间的并，d-区间图是这类对象的相交图；这些推广于1970年代为调度与分配问题而引入，用于建模多任务调度和连续媒体数据传输。良好的算法行为大体消失：多重区间图既非弦也非完美，其识别问题由 West 与 Shmoys 于1984年证明为NP难，即使对单位2-区间，最大团仍为NP完全。2023年，Ardévol Martínez、Rizzi、Sikora 和 Vialette 通过证明识别单位2-区间图是NP完全的，解决了一个长期悬而未决的问题，并将结果推广到每个d ≥ 2的单位d-区间图。<sup>[13](https://drops.dagstuhl.de/storage/00lipics/lipics-vol283-isaac2023/LIPIcs.ISAAC.2023.8/LIPIcs.ISAAC.2023.8.pdf)</sup>

## References

1. [Kellogg S. Booth and George S. Lueker (1976). Testing for the Consecutive Ones Property, Interval Graphs, and Graph Planarity Using PQ-Tree Algorithms. Journal of Computer and System Sciences 13(3):335–379.](https://www.cs.uoi.gr/~loukas/courses/grad/Algorithmic_Graph_Theory/index.files/Booth-Lueker-PQtrees.pdf)
2. [Terry A. McKee and F. R. McMorris. Interval Graphs, Chapter 3 of Topics in Intersection Graph Theory, SIAM (1999).](https://epubs.siam.org/doi/abs/10.1137/1.9780898719802.ch3)
3. [Derek G. Corneil, Stephan Olariu, and Lorna Stewart. The LBFS Structure and Recognition of Interval Graphs. SIAM Journal on Discrete Mathematics 23(4) (2009).](https://webdocs.cs.ualberta.ca/~stewart/Pubs/IntervalSIAM.pdf)
4. [Interval Graph Limits, PMC (2013).](https://pmc.ncbi.nlm.nih.gov/articles/PMC4578824/)
5. [U. I. Gupta, D. T. Lee, J. Y.-T. Leung (1982). Efficient algorithms for interval graphs and circular-arc graphs. Networks 12.](https://onlinelibrary.wiley.com/doi/abs/10.1002/net.3230120410)
6. [CSCE 496/896 Project Idea: Bipartite Interval Graphs, University of Nebraska–Lincoln.](https://cse.unl.edu/~sscott/teach/Classes/cse496F00/projects/bipartite-interv.shtml)
7. [Subexponential Parameterized Algorithms and Kernelization on Almost Chordal Graphs, Algorithmica (2021).](https://link.springer.com/article/10.1007/s00453-021-00822-x)
8. [Interval graphs, Annals of Discrete Mathematics (Golumbic), ScienceDirect.](https://www.sciencedirect.com/science/article/pii/S0167506004800499)
9. [Uniquely orderable interval graphs, Discrete Mathematics, ScienceDirect.](https://www.sciencedirect.com/science/article/abs/pii/S0012365X22001418)
10. [Norbert Korte and Rolf H. Möhring. An Incremental Linear-Time Algorithm for Recognizing Interval Graphs. SIAM Journal on Computing.](https://epubs.siam.org/doi/10.1137/0218005)
11. [Dieter Kratsch, Ross M. McConnell, Kurt Mehlhorn, Jeremy P. Spinrad. Certifying Algorithms for Recognizing Interval Graphs and Permutation Graphs. SIAM Journal on Computing 36(2):326–353 (2006).](https://epubs.siam.org/doi/abs/10.1137/S0097539703437855)
12. [Philip N. Klein. Efficient Parallel Algorithms for Chordal Graphs. SIAM Journal on Computing.](https://epubs.siam.org/doi/10.1137/S0097539789166880)
13. [Virginia Ardévol Martínez, Romeo Rizzi, Florian Sikora, Stéphane Vialette. Recognizing Unit Multiple Intervals Is Hard. ISAAC 2023, LIPIcs vol. 283.](https://drops.dagstuhl.de/storage/00lipics/lipics-vol283-isaac2023/LIPIcs.ISAAC.2023.8/LIPIcs.ISAAC.2023.8.pdf)
14. [Triangulating graphs without asteroidal triples. Discrete Applied Mathematics 64(3):281–287 (1996).](https://www.sciencedirect.com/science/article/pii/0166218X95000959)
15. [Ajit Agrawal, Philip Klein, R. Ravi (1991). Ordering Problems Approximated: Register Sufficiency, Single-Processor Scheduling and Interval Graph Completion. Brown University Tech Report CS-91-18.](https://cs.brown.edu/research/pubs/techreports/reports/CS-91-18.html)
16. [J. R. Jungck, G. Dick, A. G. Dick (1982). Computer-assisted sequencing, interval graphs, and molecular evolution. Bio Systems 15(3):259–273.](https://pubmed.ncbi.nlm.nih.gov/7139088/)
17. [Peisen Zhang. Probe Interval Graph and Its Applications in Physical Mapping of Human Chromosomes, DIMACS.](https://archive.dimacs.rutgers.edu/Workshops/DNAMapping/abstracts/dna33.html)
18. [Inverse interval scheduling via reduction on a single machine. European Journal of Operational Research, ScienceDirect (2022).](https://www.sciencedirect.com/science/article/pii/S0377221722001679)
19. [Thomas Zeitlhofer, Bernhard Wess (2003). List-coloring of interval graphs with application to register assignment for heterogeneous register-set architectures. Signal Processing 83(7):1411–1425.](https://www.sciencedirect.com/science/article/pii/S0165168403000896)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Algorithms and computational methods › Graph and network algorithms › Algorithms on special graph classes

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/interval-graph

English original: https://www.edgepedia.org/interval-graph
