Skip to content

Comparability Graph

Join exactly the comparable pairs of a partial order in an undirected graph, equivalently requiring that its edges admit a transitive orientation.

Version
v1 · 2026-10-03 · History
Domain-specific #
13073
Aliases
Comparability Graph of a Poset

Core Idea

A comparability graph is an undirected graph joining every pair of elements comparable in some partial order. Equivalently, its edges can be directed to make a transitive relation: \(a\to b\) and \(b\to c\) require edge \(ac\) directed \(a\to c\). The graph is the undirected object; a selected orientation witnesses membership and need not be unique.[1][2]

How would you explain it like I'm…

Who-Came-First Lines

Think of a big family. Draw a string between two people whenever one is the grandparent, parent, or great-grandparent of the other, no matter how many steps apart. Cousins don't get a string, because neither came before the other. A picture made this way is a comparability graph.

Who-Can-Be-Compared Graph

Some things can be put in an order, but not every pair can be compared, like family members where only ancestors and descendants line up. A comparability graph connects every pair that can be compared. It includes long jumps too: grandma connects to you directly, not just through your parent. A drawing counts as a comparability graph if you can put arrows on all its lines so that whenever A points to B and B points to C, A also points straight to C.

Transitively Orientable Graph

A comparability graph is an undirected graph whose edges connect exactly the pairs that are comparable in some partial order (an ordering where some pairs may be incomparable). Equivalently, you can put arrows on all its edges so that the arrows are transitive: whenever a→b and b→c, there is an edge a–c pointing a→c. Such an arrow assignment, called a transitive orientation, proves the graph belongs to the class, and there may be more than one. This differs from a Hasse diagram, which draws only the direct 'next step' links: for a<b<c, the Hasse diagram has ab and bc, but the comparability graph also has ac. The thing being classified is the plain undirected graph.

 

A comparability graph is an undirected graph G for which there exists a partial order whose comparable pairs are exactly G's edges. The equivalent characterization is that G admits a transitive orientation: an orientation of every edge such that a→b and b→c imply that ac is an edge oriented a→c. The undirected graph is what is being classified; the orientation is a certificate of membership, and a graph may have several. The graph records the entire order relation, not only its covering relations: a chain a<b<c yields the triangle ab, bc, ac, whereas its Hasse diagram shows only ab and bc. Algorithms for finding transitive orientations and results about perfection or optimization on these graphs are consequences and applications rather than part of the definition.

Scope of Application

Divisibility on 2, 4 and 8 yields all three edges because 2 divides 4 and 8, and 4 divides 8. A three-task precedence chain similarly yields AB, BC and AC when every comparable pair is represented. These are constructed examples of one role pattern, not claims that every sparse task-dependency sketch has already included its transitive closure.[1][2]

Clarity

A Hasse or cover graph draws immediate relations and can omit the endpoint edge of a three-element chain. Its comparability graph for that same order must include the endpoint edge. The cover-only three-vertex path may nevertheless be a comparability graph of a different order, so the distinction is about what relation its edges represent. A transitive orientation and recognition of an arbitrary graph are separate computational tasks.[1][2]

Manages Complexity

The graph retains order-comparability adjacency while suppressing a particular choice of directions. A compatible orientation can be produced when needed for chain or scheduling reasoning. An algorithm for orienting an input already known to be comparability should not be presented without qualification as arbitrary-input recognition.[2]

Abstract Reasoning

Seek directions for all edges and check that every directed two-step path has its forward endpoint edge. If no such assignment exists, the graph is outside the class. Live Network is the proposed strict genus because it supplies nodes and edges; live Transitive Relation describes a possible witness relation, not the undirected graph identity.[1]

Knowledge Transfer

Number divisibility and task precedence have different meanings, yet both can supply vertices, every comparable-pair edge and a transitive orientation. The named graph class transfers under that exact test, not merely when a drawing looks hierarchical.[1][2]

Relationships to Other Abstractions

Local relationship map for Comparability GraphParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Comparability GraphDOMAINPrime abstraction: Network — is a kind ofNetworkPRIME

Current abstraction Comparability Graph Domain-specific

Parents (1) — outgoing typed relations

  • Comparability Graph is a kind of Network Prime

    A comparability graph is a node-and-edge network with the extra condition of a transitive edge orientation.

Hierarchy path (1) — routes to 1 parentless root

  • Comparability Graph → is a kind of Network

Neighborhood in Abstraction Space

Comparability Graph sits in a moderately populated region (47th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Graph Structures & Combinatorial Objects (48 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Dexter C. Kozen, Umesh V. Vazirani and Vijay V. Vazirani, "NC Algorithms for Comparability Graphs, Interval Graphs, and Unique Perfect Matchings", original author-hosted paper, §3 Definition 4. registry ↩a ↩b ↩c ↩d ↩e

[2] Marc Tedder, "Simpler, Linear-Time Transitive Orientation via Lexicographic Breadth-First Search", original paper (2015), abstract and §§1–2. registry ↩a ↩b ↩c ↩d ↩e