Flip-distance between \alpha-orientations of graphs embedded on plane and sphere
Weijuan Zhang, Jianguo Qian, Fuji Zhang

TL;DR
This paper provides an explicit formula for the minimum number of flip operations needed to transform one lpha-orientation into another in graphs embedded on the plane or sphere, extending previous lattice structure results.
Contribution
It introduces a formula for the flip-distance between lpha-orientations on planar and spherical graphs, advancing understanding of their combinatorial structure.
Findings
Derived an explicit flip-distance formula for lpha-orientations.
Extended lattice structure analysis to include flip distances.
Applicable to graphs embedded on both plane and sphere.
Abstract
Felsner introduced a cycle reversal, namely the `flip' reversal, for \alpha-orientations (i.e., each vertex admits a prescribed out-degree) of a graph G embedded on the plane and further proved that the set of all the \alpha-orientations of G carries a distributive lattice with respect to the flip reversals. In this paper, we give an explicit formula for the minimum number of flips needed to transform one \alpha-orientation into another for graphs embedded on the plane or sphere, respectively.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Theory Research · Graph theory and applications · Limits and Structures in Graph Theory
Flip-distance between -orientations of graphs embedded on plane and sphere††thanks: Research supported by NSFC (No. 11471273 and 11561058.)
Weijuan Zhang1,2, Jianguo Qian1111Corresponding author, email address: [email protected] , Fuji Zhang1
1School of Mathematical Sciences, Xiamen University
Xiamen, Fujian 361005, P.R.China
2School of Mathematical Sciences, Xinjiang Normal University
Urumqi, Xinjiang 830054, P.R.China
Abstract
Felsner introduced a cycle reversal, namely the ‘flip’ reversal, for -orientations (i.e., each vertex admits a prescribed out-degree) of a graph embedded on the plane and further proved that the set of all the -orientations of carries a distributive lattice with respect to the flip reversals. In this paper, we give an explicit formula for the minimum number of flips needed to transform one -orientation into another for graphs embedded on the plane or sphere, respectively.
Keywords: -orientation; flip distance; plane graph; sphere graph
1 Introduction
Research in graph orientation has a long history that reveals many interesting structural insights and applications. A classical example would be the one given by Robbins in 1939, which states that an undirected graph has a strongly connected orientation if and only if it is 2-edge connected. This result was then generalized by Nash-Williams to strongly -edge connected orientations for any positive [18]. In the study of graph orientation, a particular concern is to orient a graph with certain degree-constraints on its vertices. Frank [7] established a characterization for the existence of those orientations in which the in-degree of each vertex has to lie within certain bounds. In [12], Hakimi gave a characterization for a graph to have an orientation such that each vertex has a prescribed out-degree. Such orientation is later called the -orientation [5].
Graph orientation has many interesting connections with certain combinatorial structures in graphs, such as the spanning trees [5], bipartite perfect matchings (or more generally, bipartite -factors) [14, 16, 19], Schnyder woods [8], bipolar orientations [9] and 2-orientations of quadrangulations, primal-dual orientations [4], transversal structures [10] and -orientations of the dual of plane graph [15, 19]. Remarkably, all these structures can be encoded as the -orientations [6], which has extensive applications, e.g., in drawing algorithms [1, 2, 10], and enumeration and random sampling of graphs [3, 11].
To deal with the relation among orientations, cycle reversal has been shown as a powerful method since it preserves the out-degree of each vertex and the connectivity of the orientations. Various types of cycle reversals were introduced subject to certain problem-specific requirements. An earlier example is the cycle transformation introduced by Nash-Williams [18] which says that any two -connected orientations of a -edge connected graph can be transformed from each other by a sequence of cycle transformations or path transformations.
Cycle reversal for the orientations of plane graphs (graphs embedded on the plane) received particular attention. For example, Nakamoto [17] considered the 3-cycle reversal to deal with the -orientations in plane triangulation where each vertex on the outer facial cycle has out-degree 1 while each of the other vertices has out-degree 3. In [20], Zhang et al. introduced the Z-transformation to study the connection among perfect matchings of hexagonal systems and later was extended to general plane bipartite graphs [21].
For orientations of general plane graphs, a natural considering of cycle reversal is to reverse a directed facial cycle. However, an orientation of a plane graph does not always have such a directed facial cycle, even if it has ‘many directed cycles’. In [5], Felsner introduced a type of cycle reversal, namely the ‘flip’, defined on the so-called essential cycles and proved that, any -orientation of a plane graph can transform into a particular -orientation by a flip sequence and further proved that the set of all -orientations of carries a distributive lattice with respect to the flip reversals. In a strongly connected -orientation of a plane graph, it is known that an essential cycle is exactly an inner facial cycle. In this sense, the notion ‘essential cycle’ is a very nice generalization of facial cycle, which has been widely applied in the study of -orientations of plane graphs.
In this paper, we give a necessary-sufficient condition for that an -orientation of a plane graph can be transform into another by a flip sequence. In contrast to a plane graph, we will see in the last section that any two -orientations of a sphere graph (a graph embedded on the sphere) can always be transformed from each other by a flip sequence. Further, we give an explicit formula of the ‘flip-distance’ between two -orientations, that is, the minimum number of flips needed to transform one -orientation into another, for plane graphs and sphere graphs, respectively. In our study, the ‘standard cycle system’ introduced in the following section and the idea of ‘length function’ [13] and ‘-potential’ [5] defined on the faces of the embedded graph play important roles.
2 Preliminaries
For a graph we denote by and the vertex set and edge set of , respectively. An orientation of is an assignment of a direction to each edge of . A plane graph and sphere graph are an embedding of a planar graph on the plane and sphere, respectively. Given a plane graph with vertices and an out-degree function of , an orientation of is called an -orientation if for all , where is the out-degree of in . We call an out-degree function feasible for a graph if -orientation of exists. The question whether an out-degree function is feasible for can be translated to the construction of a maximal flow in a graph associated with , and therefore can be solved in polynomial time [5].
An edge in a graph is called -rigid if it has the same direction in every -orientation of . For a cycle of a plane graph , the interior cut of is the edge cut consisting of all the edges connecting to an interior vertex of . A simple cycle of a plane graph is called essential [5] (with respect to ) if is chord-free, all the edges in the interior cut of are rigid and there exists an -orientation such that is directed.
A directed cycle of an -orientation of a plane graph is called counterclockwise (resp., clockwise), or ccw (resp., cw) for simplicity, if the interior region of is to the left (resp., right) of . A flip taking on an essential ccw cycle is the reorientation of from ccw to cw [5]. The flip reversal induces a partial ordering relation ‘’ on the set of all -orientations of a plane graph, that is, two -orientations and have the relation if can be transformed from by a sequence of flips. We denote by the flip-distance from to if .
By the definition of rigid edge, we can see that each component obtained from an -orientation by deleting all the rigid edges is strongly connected [15]. To simplify our discussion, in the following we restrict our attention only to strongly connected orientations and therefore, the underlying graph is 2-edge connected. Further, if is not 2-connected then a strongly connected -orientation of is the edge-disjoint union of the restriction of on the 2-connected components of . For this reason, we only consider the case that is 2-connected and, therefore, any inner facial cycle (boundary of an inner face) in is simple, that is, each vertex on appears only once.
As mentioned earlier, in a strongly connected -orientation of a plane graph, since every edge is not rigid, an essential cycle now is exactly a facial cycle. We notice that this is also the case for a sphere graph. Therefore, the notion ‘flip’ for the ccw facial cycles and the ‘flip-distance’ for the -orientations of a sphere graph can be naturally defined. Further, for a sphere graph , only in the very special case when is a simple cycle , is the facial cycle of two faces of and thus, in any orientation of , is ccw with respect to one face if and only if is cw with respect to the other.
For a plane or sphere graph , we denote by the set of all the faces of . In particular, if is a plane graph then we denote by and the outer face and the set of all the inner faces of , respectively. For a cycle in a plane graph , we denote by the set of the faces in the interior region of . For two edge-disjoint cycles and of a plane graph, if then, except some possible vertices in common with , the cycle lies in the interior region of . In this sense, we also say that is contained in , or conversely, contains .
The following result will be used in our forthcoming argument.
Lemma 2.1**.**
[5]** If is a ccw cycle in a strongly connected -orientation of a 2-connected plane graph, then there is a flip sequence consisting of flips which reverses from ccw into cw and keep the orientations of all other edges of invariant. More specifically, the number of the flips in taking on each inner face equals 1 if , and equals 0 if .
A set of edge disjoint directed cycles in a directed plane graph or sphere graph is called a standard cycle system if any two cycles in are pairwise uncrossed. In the case of plane graph, we see that any two cycles and in a standard cycle system satisfy either , or , or . A directed graph (not necessarily connected) is called oriented Eulerian if each component of is directed Eulerian, that is, the out-degree of each vertex equals its in-degree. The following lemma might be a known result but we give its proof for the self-completeness.
Lemma 2.2**.**
Any oriented Eulerian plane graph or sphere graph can be partitioned into the union of pairwise edge disjoint and uncrossed directed cycles, that is, a standard cycle system.
Proof.
We apply induction on , that is, the number of the faces in .
Let be a directed facial cycle of (the existence of is obvious since is oriented Eulerian). Then is still an oriented Eulerian graph, where is the subgraph of obtained from by removing the edges on . Moreover, has less faces than has. So by the induction hypothesis, can be partitioned into a standard cycle system . Notice that the cycles in and the facial cycle are edge disjoint and uncrossed. This means that is a standard cycle system of , which completes our proof. ∎
3 Graphs embedded on the plane
Lemma 3.1**.**
Let be a strongly connected -orientation of a 2-connected plane graph . Let be a simple ccw cycle in and let be the set of edge disjoint, uncrossed and pairwise exclusive simple cw cycles contained in . Then there is a flip sequence consisting of
[TABLE]
flips which reverses all cycles and keep the orientations of all other edges of invariant. More specifically, for any face , the number of flips in taking on equals 1 if , and equals 0 otherwise.
Proof.
We apply induction on the number . The assertion follows directly by Lemma 2.1 if .
Since is strongly connected, there is a directed path from a vertex on to a vertex on (in the degenerated case when and has a common vertex, we may have ) and a directed path from a vertex on to a vertex on . Moreover, we may assume that and are shortest. This means that, (resp., ) is the only common vertex of and (resp., ) while (resp., ) is the only common vertex of and (resp., ). Let
[TABLE]
where for a directed path or cycle and two vertices and on , is the section of from to . Thus, is a directed path that visits exactly once.
We notice that may visit more cycles in other than , say and, without loss of generality, we assume that successively visits , see Figure 1(a). Moreover, along with the directed path , we may assume that visits exactly once and that (resp., ) is the first (resp., last) vertex on for each . On the other hand, since is shortest, and are the only common vertices of and .
Figure 1.
Consider the directed cycle
[TABLE]
[TABLE]
Clearly is a ccw cycle (possibly not simple) and contains less number of cw cycles in than does. Moreover, since is 2-connected and is strongly connected, we can see that the subgraph of induced by the vertices on and in the interior region of is still 2-connected and the sub-orientation of restricted on the sugraph is still strongly connected. Thus, if is simple then by the induction hypothesis, and those cw cycles contained in can be reversed by a flip sequence consisting of
[TABLE]
flips. If is not simple, i.e., , then we can split into two different vertices and so that become to be a simple cycle , see Figure 1(b). Notice that the ‘splitting’ does not effect any flips since a flip only involves the edges of a facial cycle. Moreover, . The remaining discussion is analogous.
After being taken, the cycle
[TABLE]
[TABLE]
is ccw, where is the reversal of . Again by the induction hypothesis, and those contained in can be reversed by a flip sequence consisting of
[TABLE]
flips. By the construction of and we have
[TABLE]
Moreover,
[TABLE]
Hence, (1) follows directly from (2) and (3). This completes the proof. ∎
Let and be two adjacent faces and let be a common edge of and . Along with the direction of , if (resp., ) lies to the left side of then we say that (resp., ) is left of .
Following the idea of ‘length function’ introduced in [13] and ‘-potential’ introduced in [5], we give the following definition.
Definition 3.1 For an oriented Eulerian subgraph of an -orientation , define the -potential of as a function which assigns an integer to each face of according to the following rule:
-
;
-
if and are two faces sharing a common edge then
[TABLE]
Let be a standard cycle system of . By the definition of , for any face , one can see that the value of is determined by those cycles in that contain as an interior face. More specifically,
[TABLE]
where and are the numbers of ccw and cw cycles in which contain as an interior face, respectively, as illustrated in Figure 2. We notice that the value of is a constant for any standard cycle system of . This means that is determined uniquely by and therefore, is well defined.
Figure 2. The directed cycles in are indicated in thick circles and the outer facial cycle is indicated in the thin circle.
For two -orientations and , let be obtained from by removing those edges which has the same direction with . We note that is oriented Eulerian.
Theorem 3.2**.**
Let and be two strongly connected -orientations of a 2-connected plane graph . Then if and only if, for any face ,
[TABLE]
Moreover, if then
[TABLE]
Proof.
Assume firstly that . Let be a flip sequence that transforms into .
For any face , consider the times of flips in taking on . Since the outer face is not involved in any flip, we have if . Now assume that is a face which shares a common edge with . If , then the orientation of changes after being taken. Moreover, a flip to change the orientation of must be taken on the left face of . This implies that if is left of or if is left of . If , then the orientation of does not change after being taken. This means that, if a flip in takes on then there is another flip that takes on to keep the orientation of invariant and, hence, . As a result, we have . Notice that for any . The necessity follows.
Conversely, assume that (5) holds. Let be a standard cycle system of . If all the cycles in are ccw then follows directly by Lemma 2.1. Now let be a maximal cw cycle in , that is, there is no other cw cycle containing in . Then by (5), there is a ccw cycle satisfying and, we choose to be minimal. Notice that may contain one more such cw cycles. We denote by all the maximal cw cycles of which are contained in .
Further, we notice that is strongly connected and are in . So by Lemma 3.1, there is a flip sequence that reverses and and keep the orientations of all other edges of invariant. Let . Then by the choice of , for any face , we have
[TABLE]
Moreover, by the maximality of , if
[TABLE]
then a cycle in that contains as an interior face must be ccw. So by the definition of , we have .
The above discussion implies that for any . So by a simple induction on the number of the cycles in , there is a flip sequence that reverses all cycles in .
Thus, reverse all the cycles in , that is, transform into . The sufficiency follows.
Finally, notice that equals the sum of the times of flips in taking on each face . So by the proof of the necessity,
[TABLE]
which completes our proof. ∎
The following is an equivalent but more intuitive representation of (6).
Corollary 3.3**.**
Let and be two strongly connected -orientations of a 2-connected plane graph with , and let and be all the ccw and cw cycles in a standard cycle system of , respectively. Then
[TABLE]
4 Graphs embedded on the sphere
From the graph embedding point of view, a graph embedded on the sphere is essentially the same as embedded on the plane. However, since a flip of an -orientation of a graph embedded on the sphere may be taken on any face of the graph while a flip for a graph embedded on the plane takes only on its inner face, the flip-distances for these two types of graph embedding are different. More specifically, we will see that, in contrast to plane graphs, any two -orientations of a sphere graph can always be transformed from each other by a flip sequence.
Let and be two -orientations of a sphere graph . Choose an arbitrary face , similar to the -potential for plane graph, we define
[TABLE]
to be the function which assigns an integer to each face of according to the following rule, see Figure 3:
1. ;
2. if and are two faces sharing a common edge then
[TABLE]
Figure 3.
For any , similar to the -potential on plane graph, we can see that is well defined.
Theorem 4.1**.**
Let and be two strongly connected -orientations of a 2-connected sphere graph and let be an arbitrary face of Then
[TABLE]
where
[TABLE]
Proof.
Let be a flip sequence with minimum number of flips, say flips, that transform into For any , let be the number of flips in that takes on For any two adjacent faces and , from the definition of we can easily see that
[TABLE]
That is, depends only on and , and does not depend on the choice of In general, for any two faces and (not necessarily adjacent), we can always find a face sequence
[TABLE]
such that and are adjacent for each . This means that (6) holds for any two faces and of . In particular, let be a face such that
[TABLE]
Then we have
[TABLE]
Therefore, the distance from to satisfies
[TABLE]
[TABLE]
where the last inequality holds because for any face
We now need only to find a flip sequence consisting of flips which transform into
Let be a standard cycle system of
For a directed cycle , we can see that divides into two semi-sphere parts. Along with the orientation of , let denote the subgraph of which lies in the right semi-sphere, including itself Similarly, let denote the subgraph of which lies in the left semi-sphere including itself In this way, and could be considered as two plane graphs. Moreover, is cw in and ccw in For convenience, we also use and to denote the ‘sub-orientation’ of restricted on and , respectively.
Choose two adjacent faces such that and . We note that, by the definition of , such pair of and exists since is not empty. Let be a common edge shared by and . Then, must be on a cycle in , say as shown in Figure 4(a). We draw and on the plane as shown in Figure 4(b) and (c), respectively.
In the plane graph , with no loss of generality, let be all the maximal cycles of the cycle system , that is, each is not contained in any other cycles of . Since is a standard cycle system of , the interior region bounded by does not
Figure 4. The interior region is indicated in grey.
contain any cycle in . This means that, for any face
[TABLE]
we have
[TABLE]
Thus, again by the definition of , the directed cycles are all ccw in the plane graph . Moreover, the plane graphs , have the following properties:
-
a facial cycle in is ccw if and only if this facial cycle is ccw in ;
-
contains all the cycles of ;
-
is strongly connected.
For , let and be the orientations and restricted on the plane graph , respectively. Then, for any , by the definitions of (see Definition 2.1) and , we have
[TABLE]
and therefore . Thus, by Theorem 3.2, all the cycles of contained in can be reversed by
[TABLE]
flips. Hence, all cycles of can be reversed by
[TABLE]
flips, where the last equality holds because for any
[TABLE]
This completes our proof. ∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] C. Barrera-Cruz, Morphing planar triangulations, Ph.D Thesis, The University of Waterloo, Ontario, Canada, 2014.
- 2[2] N. Bonichon, S. Felsner, M. Mosbah, Convex drawings of 3-connected planar graphs, Algorithmica, 47 (2007), 399-420.
- 3[3] P.J. Creed, Counting and Sampling Problems on Eulerian Graphs, Ph.D Thesis, University of Edinburgh, 2010.
- 4[4] Y. Disser, J. Matuschke, Degree-constrained orientations of embedded graphs, J. Comb. Optim., 31 (2016), 758-773.
- 5[5] S. Felsner, Lattice structures from planar graphs, Electron. J. Combin., 11 (2004), #R 15.
- 6[6] S. Felsner, F. Zickfeld, On the number of planar orientations with prescribed degrees, Electron. J. Combin., 15 (2008), #R 77.
- 7[7] A. Frank, A.Gyárfás, How to orient the edges of a graph, Colloq. Math. Soc. János Bolyai, 18 (1976), 353-364.
- 8[8] H. de Fraysseix, P.O. de Mendez, On topological aspects of orientation, Discrete Math., 229 (2001), 57-72.
