计算机科学 > 离散数学
[提交于 2016年12月17日]
标题:Cograph generation with linear delay
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Cographs have always been a research target in areas such as coloring, graph decomposition, and spectral theory. In this work, we present an algorithm to generate all unlabeled cographs with $n$ vertices, based on the generation of cotrees. The delay of our algorithm (time spent between two consecutive outputs) is $O(n)$. The time needed to generate the first output is also $O(n)$, which gives an overall $O(n\,M_n)$ time complexity, where $M_n$ is the number of unlabeled cographs with $n$ vertices. The algorithm avoids the generation of duplicates (isomorphic outputs) and produces, as a by-product, a linear ordering of unlabeled cographs wih $n$ vertices.
提交历史
来自:Átila Jones[v1] 2016年12月17日 星期六 21:32:44 UTC