An Efficient Algorithm for Generating Colored Outerplanar Graphs
暂无分享,去创建一个
Given two integers n and m with 1 ≤ m ≤ n, we consider the problem of generating nonisomorphic colored outerplanar graphs with at most n vertices, where each outerplanar graph is colored with at most m colors. In this paper, we treat outerplanar graphs as rooted outerplane graphs, i.e., plane embeddings with a designated vertex as the root, and propose an efficient algorithm for generating all such colored graphs based on a unique representation of those embeddings. Our algorithm runs in O(n) space and outputs all colored and rooted outerplane graphs without repetition in O(1) time per graph.
[1] Tatsuya Akutsu,et al. Inferring a Graph from Path Frequency , 2005, CPM.
[2] Shin-Ichi Nakano,et al. Efficient Generation of Rooted Trees , 2003 .
[3] Shin-Ichi Nakano,et al. Generating Colored Trees , 2005, WG.
[4] Frank Ruskey,et al. The advantages of forward thinking in generating rooted and free trees , 1999, SODA '99.
[5] Hiroshi Nagamochi. A Detachment Algorithm for Inferring a Graph from Path Frequency , 2006, COCOON.