1

Is there an algorithm that, given an undirected graph and one independent set IS1, finds an other independent set IS2 by adding and deleting vertices from the first IS1?

maliya
  • 11
  • 1

1 Answers1

1

Yes, most algorithms for enumerating maximal cliques are based on exactly this principle. Since a clique is just an independent set in the complement, you could simply take $\overline G$ and enumerate cliques. Of course, if your graph is very sparse, this might in practice not be a good idea.

The trivial branching algorithm would just try to add a new vertex to the solution, and delete all its neighbors in the solution.

On the other hand, there is a class of problems called reconfiguration problems in which we want to go from one solution to another with certain restrictions, e.g., we want to go from solution to solution with only adding and deleting vertices, or we want to move solutions along edges, etc. There is a paper on this for independent set, Complexity of independent set reconfigurability problems, by Kamiński, Medved, and Milanič.

Ainsley H.
  • 17,823
  • 3
  • 43
  • 68