A Linear Algorithm for Computing Independence Polynomials of Trees

01/02/2022
by   Ohr Kadrawi, et al.
0

An independent set in a graph is a set of pairwise non-adjacent vertices. Let α(G) denote the cardinality of a maximum independent set in the graph G = (V, E). Gutman and Harary defined the independence polynomial of G I(G;x) = ∑_k=0^α(G)s_kx^k=s_0+s_1x+s_2x^2+...+s_α(G)x^α(G), where s_k denotes the number of independent sets of cardinality k in the graph G. A comprehensive survey on the subject is due to Levit and Mandrescu, where some recursive formulas are allowing to calculate the independence polynomial. A direct implementation of these recursions does not bring about an efficient algorithm. Yosef, Mizrachi, and Kadrawi developed an efficient way for computing the independence polynomials of trees with n vertices, such that a database containing all of the independence polynomials of all the trees with up to n-1 vertices is required. This approach is not suitable for big trees, as an extensive database is needed. On the other hand, using dynamic programming, it is possible to develop an efficient algorithm that prevents repeated calculations. In summary, our dynamic programming algorithm runs over a tree in linear time and does not depend on a database.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/17/2021

On Unimodality of Independence Polynomials of Trees

An independent set in a graph is a set of pairwise non-adjacent vertices...
research
05/02/2023

The independence polynomial of trees is not always log-concave starting from order 26

An independent set in a graph is a collection of vertices that are not a...
research
11/15/2021

Enumerating Minimal Separators in Ranked Order

Let G be an n-vertex graph, and s,t vertices of G. We present an efficie...
research
12/27/2019

Transversals of Longest Cycles in Partial k-Trees and Chordal Graphs

Let lct(G) be the minimum cardinality of a set of vertices that intersec...
research
12/15/2022

Approximate counting using Taylor's theorem: a survey

In this article we consider certain well-known polynomials associated wi...
research
02/08/2019

On the Broadcast Independence Number of Locally Uniform 2-Lobsters

Let G be a simple undirected graph.A broadcast on G isa function f : V(G...
research
01/12/2019

On Huang and Wong's Algorithm for Generalized Binary Split Trees

Huang and Wong [5] proposed a polynomial-time dynamic-programming algori...

Please sign up or login with your details

Forgot password? Click here to reset