# Cograph Editing: Merging Modules is equivalent to Editing P4's

**Authors:** Marc Hellmuth, Adrian Fritz, Nicolas Wieseke, Peter F. Stadler

arXiv: 1702.07499 · 2019-09-11

## TL;DR

This paper establishes a new approach to cograph editing by linking it to module merging operations, providing exact algorithms, FPT results, and efficient heuristics for solving the NP-hard problem.

## Contribution

It introduces a novel equivalence between editing P4s and merging modules, along with exact and heuristic algorithms for cograph editing.

## Key findings

- Optimal module-preserving edit sets always exist.
- The approach leads to an exact algorithm for cograph editing.
- Heuristics with polynomial time complexity are proposed.

## Abstract

The modular decomposition of a graph $G=(V,E)$ does not contain prime modules if and only if $G$ is a cograph, that is, if no quadruple of vertices induces a simple connected path $P_4$. The cograph editing problem consists in inserting into and deleting from $G$ a set $F$ of edges so that $H=(V,E\Delta F)$ is a cograph and $|F|$ is minimum. This NP-hard combinatorial optimization problem has recently found applications, e.g., in the context of phylogenetics. Efficient heuristics are hence of practical importance. The simple characterization of cographs in terms of their modular decomposition suggests that instead of editing $G$ one could operate directly on the modular decomposition. We show here that editing the induced $P_4$s is equivalent to resolving prime modules by means of a suitable defined merge operation on the submodules. Moreover, we characterize so-called module-preserving edit sets and demonstrate that optimal pairwise sequences of module-preserving edit sets exist for every non-cograph. This eventually leads to an exact algorithm for the cograph editing problem as well as fixed-parameter tractable (FPT) results when cograph editing is parameterized by the so-called modular-width. In addition, we provide two heuristics with time complexity $O(|V|^3)$, resp., $O(|V|^2)$.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1702.07499/full.md

## Figures

3 figures with captions in the complete paper: https://tomesphere.com/paper/1702.07499/full.md

## References

53 references — full list in the complete paper: https://tomesphere.com/paper/1702.07499/full.md

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