# [1, 2]-sets and [1, 2]-total Sets in Trees with Algorithms

**Authors:** Amir Kafshdar Goharshady, Mohammad Reza Hooshmandasl, Mohsen, Alambardar Meybodi

arXiv: 1706.05248 · 2017-06-19

## TL;DR

This paper introduces efficient algorithms for finding minimal [1, 2]-sets and [1, 2]-total sets in trees, extends the concept to [i, j]-sets, and characterizes trees with such sets.

## Contribution

It presents a linear algorithm for minimal [1, 2]-sets in trees, extends to [i, j]-sets, and provides a recursive method to generate trees with [1, 2]-total sets.

## Key findings

- Linear algorithm for smallest [1, 2]-sets in trees
- Extension of [1, 2]-sets to [i, j]-sets
- Recursive method for generating trees with [1, 2]-total sets

## Abstract

A set $S \subseteq V$ of the graph $G = (V, E)$ is called a $[1, 2]$-set of $G$ if any vertex which is not in $S$ has at least one but no more than two neighbors in $S$. A set $S \subseteq V$ is called a $[1, 2]$-total set of $G$ if any vertex of $G$, no matter in $S$ or not, is adjacent to at least one but not more than two vertices in $S$. In this paper we introduce a linear algorithm for finding the cardinality of the smallest $[1, 2]$-sets and $[1, 2]$-total sets of a tree and extend it to a more generalized version for $[i, j]$-sets, a generalization of $[1, 2]$-sets. This answers one of the open problems proposed in [5]. Then since not all trees have $[1, 2]$-total sets, we devise a recursive method for generating all the trees that do have such sets. This method also constructs every $[1, 2]$-total set of each tree that it generates.

---
Source: https://tomesphere.com/paper/1706.05248