arXiv:2611.06482cs.DSNov 2026

Manuscript Offprint

arXiv:2611.06482

Computing Forest Degree Realizations with Minimum Cardinality Domination

Amotz Bar-Noy, Omri Kosary, David Peleg, Dror Rawitz

Abstract

In the DEGREE REALIZATION problem with respect to a family P\mathcal{P} of graphs the input is a non-increasing sequence d=(d1,…,dn)d = (d_1, \ldots, d_n) of positive integers, and the goal is to decide whether there exists a simple undirected graph G∈PG \in \mathcal{P}, whose degrees correspond to dd, i.e., such that deg⁡(G)=d\deg(G) = d. In this paper we consider the version of DEGREE REALIZATION in which the realization is required to be a forest (i.e., P\mathcal{P} is the family of forests).

We consider optimized DEGREE REALIZATION in which the goal is to obtain a realization that minimizes an objective function ff. That is, the goal is to find a realization GG that minimizes f(G)f(G) among the realizations of the given input sequence. More specifically, we focus on the following functions: the size of an optimal vertex cover and the size of an optimal dominating set. We also consider the total and paired versions of both MIN VERTEX COVER and MIN DOMINATING SET. We provide characterizations and linear time realization algorithms for all the above-mentioned problems. Since MIN PAIRED VERTEX COVER is closely related to MIN EDGE DOMINATING SET, our results for DEGREE REALIZATION with respect to the former extend to the latter.

1 Introduction

In the DEGREE REALIZATION (DEGR) problem the input is a non-increasing sequence d=(d1,…,dn)d = (d_1, \ldots, d_n) of nn positive integers, and the goal is to decide whether there exists a simple undirected graph GG, whose degrees correspond to dd, i.e., such that deg⁡(G)=d\deg(G) = d. If there exists such a graph GG, then dd is called graphic. Erdős and Gallai [13] gave necessary and sufficient conditions for the realizability of a given sequence, which imply a decision algorithm whose running time is O(n)O(n). Havel [26] and Hakimi [23] presented an algorithm for finding a realization, whose running time depends linearly on the sum of all degrees, i.e., has running time O(∑idi)O(\sum_i d_i).

Given a sequence dd, it is sometimes required that the realizing graph GG of dd has a certain property. For example, it may be the case that GG has to be bipartite. We formally define a property as the collection of graphs that satisfy the property. The problem of DEGR with respect to a graph family P\mathcal{P} is similar to standard DEGR but with one more requirement, which is that the realization GG belongs to P\mathcal{P}. Clearly, when P=G\mathcal{P} = \mathcal{G}, where G\mathcal{G} is the collection of all graphs, we revert to regular DEGR. In this work, we are mainly interested in the family F\mathcal{F} of forests. Gupta et al. [22] proved that a sequence dd is realizable by a tree if and only if

*Supported in part by a US-Israel BSF grant (2022205). †Department of Computer Science, City University of New York, USA; amotz@sci.brooklyn.cuny.edu ‡Department of Computer Science, Technion, Haifa, Israel; omri.kosary@campus.technion.ac.il §Department of Computer Science and Applied Mathematics, Weizmann Institute of Science, Rehovot, Israel; david.peleg@weizmann.ac.il ¶Faculty of Engineering, Bar Ilan University, Ramat-Gan, Israel; dror.rawitz@biu.ac.il

∑idi=2n−2\sum_i d_i = 2n - 2. This result readily extends to forests, namely a sequence can be realized using a forest if and only if ∑idi\sum_i d_i is even and ∑idi≤2n−2\sum_i d_i \leq 2n - 2. Such a sequence is called forest-graphic or forestic. The above result is constructive and implies a realization algorithm for forests. In fact, it can be shown that a forestic sequence always has a realization consisting of a caterpillar and a matching (see, e.g., [1]).

A sequence dd may have several realizations, some of which are more desirable than others. Let f:G→Nf: \mathcal{G} \to \mathbb{N} be a function that assigns scores to graphs. We may prefer a realization, which minimizes or maximizes the score. Formally, given a sequence dd the goal is to find a realization GG of dd, which minimizes or maximizes f(G)f(G). That is, to compute a realization optimizing the following function:

fopt(d)=opt{f(G):G is a realization of d},f_{\mathrm{o p t}}(d)=\mathrm{o p t}\left\{f(G):G\text{ is a realization of }d\right\},

where opt ∈{min⁡,max⁡}\in \{\min, \max\} and to provide a graph GG such that f(G)=fopt(d)f(G)=f_{\mathrm{o p t}}(d). Such problems are called optimized realization problems. For example, consider the size of a minimum cardinality dominating set in GG, which is denoted by γ(G)\gamma(G). That is,

γ(G)=min⁡{∣D∣:D⊆V is a dominating set in G}.\gamma(G)=\min\left\{|D|:D\subseteq V\text{ is a dominating set in }G\right\}.

The optimized DEGR problem with respect to γmin⁡\gamma_{\min} is to find a realization GG of dd with minimum size optimal dominating set among the realizations of dd. In this work we only consider minimization problems, thus we use f(d)f(d) instead of fmin⁡(d)f_{\min}(d) (e.g., γ(d)\gamma(d) instead of γmin⁡(d)\gamma_{\min}(d)). One may also add a property, constraining the realization to a graph family P\mathcal{P}. For example, the optimized realization problem with respect to the family F\mathcal{F} and the function γ\gamma, or with respect to γF\gamma^{\mathcal{F}}, is to find a forest realization of dd with a minimum size optimal dominating set among the forest realizations of dd.

Given a graph G=(V,E)G = (V, E), a dominating set (vertex cover) D⊆VD \subseteq V is called total if the induced subgraph G[D]G[D] does not contain isolated vertices. A dominating set (vertex cover) is called paired if G[D]G[D] contains a perfect matching. In this paper we consider DEGR by forests with respect to the following score functions:

• τ(G)\tau(G) and γ(G)\gamma(G) – the sizes of an optimal vertex cover and dominating set.

• τt(G)\tau_{t}(G) and γt(G)\gamma_{t}(G) – the sizes of an optimal total vertex cover and total dominating set.

• τp(G)\tau_{p}(G) and γp(G)\gamma_{p}(G) – the sizes of an optimal paired vertex cover and paired dominating set.

The most relevant paper is by Gentner et al. [19], who worked on optimized degree realization with respect to τF\tau^{\mathcal{F}} and γF\gamma^{\mathcal{F}}. They proved that a forestic sequence dd is realizable by a graph with a vertex cover of size rr if and only if ∑i=1rdi≥∑i=r+1ndi\sum_{i=1}^{r} d_{i} \geq \sum_{i=r+1}^{n} d_{i}. Hence,

τF(d)=min⁡{k:∑i=1kdi≥∑i=k+1ndi}\tau^{\mathcal{F}}(d)=\min\left\{k:\sum_{i=1}^{k}d_{i}\geq\sum_{i=k+1}^{n}d_{i}\right\}

Their proof is constructive in the sense that it can lead to a realization algorithm. They also provided the following condition for DEGR with respect to γF\gamma^{\mathcal{F}}: If dd is a forestic sequence then

γF(d)=min⁡{τF(d),γˉ(d)}\gamma^{\mathcal{F}}(d)=\min\left\{\tau^{\mathcal{F}}(d),\bar{\gamma}(d)\right\}

where

γˉ(d)=min⁡{k:∑i=1kdi≥n−k and 0<∑i=k+1ndi−∑i=1kdi≤2(ω≥2−k)−2}\bar{\gamma}(d)=\min\left\{k:\sum_{i=1}^{k}d_{i}\geq n-k\text{ and }0<\sum_{i=k+1}^{n}d_{i}-\sum_{i=1}^{k}d_{i}\leq2(\omega_{\geq 2}-k)-2\right\}

and ω1\omega_{1} is the multiplicity of 1 in dd and ω≥2=n−ω1\omega_{\geq 2}=n-\omega_{1}. (If γˉ(d)\bar{\gamma}(d) is undefined, then γF(d)=τF(d)\gamma^{\mathcal{F}}(d)=\tau^{\mathcal{F}}(d).) It is important to note that the above characterizations were obtained due to a prefix lemma that states that, given a sequence dd, if there is a forest realization of dd with a dominating set (vertex cover) of size tt, then there is a realization with a dominating set (vertex cover) that consists of the tt highest degree vertices.

References (26)