A replacement action is a function that maps each graph to a collection of subgraphs of smaller size.
Given a graph class , we consider a general family of graph modification problems, called “-Replacement to ”, where the input is a graph and the question is whether it is possible to replace some induced subgraph of on at most vertices by a graph in so that the resulting graph belongs to .
“-Replacement to ” can simulate many graph modification problems including vertex deletion, edge deletion/addition/edition/contraction, vertex identification, subgraph complementation, independent set deletion, (induced) matching deletion/contraction, etc.
We prove here that, for any minor-closed graph class and for any action that is hereditary, there is an algorithm that solves “-Replacement to ” in time , where is a polynomial whose degree depends on .