In graph theory, an **orientation** of an undirected graph is an assignment of a direction to each edge, turning the initial graph into a directed graph.

## Oriented graphs

A directed graph is called an **oriented graph** if none of its pairs of vertices is linked by two symmetric edges. Among directed graphs, the oriented graphs are the ones that have no 2-cycles (that is at most one of (*x*, *y*) and (*y*, *x*) may be arrows of the graph).^{[1]}

A tournament is an orientation of a complete graph. A polytree is an orientation of an undirected tree.^{[2]} Sumner's conjecture states that every tournament with 2*n* − 2 vertices contains every polytree with *n* vertices.^{[3]}

The number of non-isomorphic oriented graphs with *n* vertices (for *n* = 1, 2, 3, …) is

Tournaments are in one-to-one correspondence with complete directed graphs (graphs in which there is a directed edge in one or both directions between every pair of distinct vertices). A complete directed graph can be converted to an oriented graph by removing every 2-cycle, and conversely an oriented graph can be converted to a complete directed graph by adding a 2-cycle between every pair of vertices that are not endpoints of an edge; these correspondences are bijective. Therefore, the same sequence of numbers also solves the graph enumeration problem for complete digraphs. There is an explicit but complicated formula for the numbers in this sequence.^{[4]}

## Constrained orientations

A strong orientation is an orientation that results in a strongly connected graph. The closely related totally cyclic orientations are orientations in which every edge belongs to at least one simple cycle. An orientation of an undirected graph *G* is totally cyclic if and only if it is a strong orientation of every connected component of *G*. Robbins' theorem states that a graph has a strong orientation if and only if it is 2-edge-connected; disconnected graphs may have totally cyclic orientations, but only if they have no bridges.^{[5]}

An acyclic orientation is an orientation that results in a directed acyclic graph. Every graph has an acyclic orientation; all acyclic orientations may be obtained by placing the vertices into a sequence, and then directing each edge from the earlier of its endpoints in the sequence to the later endpoint. The Gallai–Hasse–Roy–Vitaver theorem states that a graph has an acyclic orientation in which the longest path has at most *k* vertices if and only if it can be colored with at most *k* colors.^{[6]} Acyclic orientations and totally cyclic orientations are related to each other by planar duality. An acyclic orientation with a single source and a single sink is called a bipolar orientation.^{[7]}

A transitive orientation is an orientation such that the resulting directed graph is its own transitive closure. The graphs with transitive orientations are called comparability graphs; they may be defined from a partially ordered set by making two elements adjacent whenever they are comparable in the partial order.^{[8]} A transitive orientation, if one exists, can be found in linear time.^{[9]} However, testing whether the resulting orientation (or any given orientation) is actually transitive requires more time, as it is equivalent in complexity to matrix multiplication.

An Eulerian orientation of an undirected graph is an orientation in which each vertex has equal in-degree and out-degree. Eulerian orientations of grid graphs arise in statistical mechanics in the theory of ice-type models.^{[10]}

A Pfaffian orientation has the property that certain even-length cycles in the graph have an odd number of edges oriented in each of the two directions around the cycle. They always exist for planar graphs, but not for certain other graphs. They are used in the FKT algorithm for counting perfect matchings.^{[11]}

## See also

## References

**^**Diestel, Reinhard (2005), "1.10 Other notions of graphs",*Graph Theory*(PDF) (3rd ed.), Springer, ISBN 978-3-540-26182-7.**^**Rebane, George; Pearl, Judea (1987), "The recovery of causal poly-trees from statistical data",*Proc. 3rd Annual Conference on Uncertainty in Artificial Intelligence (UAI 1987), Seattle, WA, USA, July 1987*, pp. 222–228, arXiv:1304.2736.**^**Sumner's Universal Tournament Conjecture, Douglas B. West, retrieved 2012-08-02.**^**Harary, Frank; Palmer, Edgar M. (1973), "Formula 5.4.13",*Graphical Enumeration*, New York: Academic Press, p. 133, MR 0357214.**^**Robbins, H. E. (1939), "A theorem on graphs, with an application to a problem of traffic control",*The American Mathematical Monthly*,**46**(5): 281–283, doi:10.2307/2303897, hdl:10338.dmlcz/101517, JSTOR 2303897.**^**Nešetřil, Jaroslav; Ossona de Mendez, Patrice (2012), "Theorem 3.13",*Sparsity: Graphs, Structures, and Algorithms*, Algorithms and Combinatorics,**28**, Heidelberg: Springer, p. 42, doi:10.1007/978-3-642-27875-4, hdl:10338.dmlcz/143192, ISBN 978-3-642-27874-7, MR 2920058.**^**de Fraysseix, Hubert; Ossona de Mendez, Patrice; Rosenstiehl, Pierre (1995), "Bipolar orientations revisited",*Discrete Applied Mathematics*,**56**(2–3): 157–179, doi:10.1016/0166-218X(94)00085-R, MR 1318743.**^**Ghouila-Houri, Alain (1962), "Caractérisation des graphes non orientés dont on peut orienter les arrêtes de manière à obtenir le graphe d'une relation d'ordre",*Les Comptes rendus de l'Académie des sciences*,**254**: 1370–1371, MR 0172275.**^**McConnell, R. M.; Spinrad, J. (1997), "Linear-time transitive orientation",*8th ACM-SIAM Symposium on Discrete Algorithms*, pp. 19–25.**^**Mihail, M.; Winkler, P. (1996), "On the number of Eulerian orientations of a graph",*Algorithmica*,**16**(4–5): 402–414, doi:10.1007/s004539900057, MR 1407581.**^**Thomas, Robin (2006), "A survey of Pfaffian orientations of graphs" (PDF),*International Congress of Mathematicians. Vol. III*, Eur. Math. Soc., Zürich, pp. 963–984, doi:10.4171/022-3/47, ISBN 978-3-03719-022-7, MR 2275714