For a fixed integer , the -free graph sandwich problem asks whether, given graphs on the same vertex set, there is an induced--free graph between them. We give a deterministic algorithm taking time and space, where and is the arboricity of . In particular, the diamond-free case takes time. This improves the direct implementation of the previously known forced-edge closure. Our implementation maintains components of common neighborhoods indexed by -cliques. A filtered frontier supports their merges within the clique-listing bound, while completion events avoid repeatedly searching for affected cliques. On feasible instances the output is contained in every feasible sandwich, independently of processing order. Applying the closure to gives an -time bound for partitioned and nonpartitioned probe -free recognition, improving the bound obtained from the direct sandwich closure. We also describe a direct static recognizer based on the same local characterization.

生成讲解博客的中文版本

生成AI智能校验的中文版本